Lurker News

Comments (1,849) 195 threads

Show all comments

Showing thread 4 of 195

arp24210 replies#
I've long since said that if you want to hide something nefarious you'd do that in the GNU autoconf soup (and not in "curl | sh" scripts).

Would be interesting to see what's going on here; the person who did the releases has done previous releases too (are they affected?) And has commits going back to 2022 – relatively recent, but not that recent. Many are real commits with real changes, and they have commits on some related projects like libarchive. Seems like a lot of effort just to insert a backdoor.
Edit: anyone with access can add files to existing releases and it won't show that someone else added it (I just tested). However, the timestamp of the file will be to when you uploaded it, not that of the release. On xz all the timestamps of the files match with the timestamp of the release (usually the .tar.gz is a few minutes earlier, which makes sense). So looks like they were done by the same person who did the release. I suspected someone else might have added/altered the files briefly after the release before anyone noticed, but that doesn't seem to be the case.

sslayer2 replies#
I would be curious if their commits could be analyzed for patterns that could then be used to detect commits from their other account
bombcar1 reply#
One thing that is annoying is that many open source projects have been getting "garbage commits" apparently from people looking to "build cred" for resumes or such.

Easier and easier to hide this junk in amongst them.

bananapub#
annoying ... and convenient for some!
bawolff1 reply#
I mean, a backdoor at this scale (particularly if it wasn't noticed for a while and got into stable distros) could be worth millions. Maybe hundreds of millions (think of the insider trading possibilities alone, not to mention espionage). 2 years doesn't seem like that much work relative to the potential pay off.

This is the sort of case where america's over the top hacking laws make sense.

jethro_tell3 replies#
And what law would you use to target someone who wrote some code and posted it for free on the internet that was willingly consumed?
bawolff11 replies#
The computer abuse and fraud act? Seems like a pretty easy question to answer.

Continue this thread — 11 replies

unethical_ban#
Are you suggesting intent is impossible to determine?
account42#
Similar laws we use to prosecute someone who intentionally brought a poisened cake to the potluck.
eigenvalue4 replies#
Every single commit this person ever did should immediately be rolled back in all projects.
gopher_space6 replies#
It's weird and disturbing that this isn't the default perspective.
freedomben#
Well, it is much easier said than done. Philosophically I agree, but in the real world where you have later commits that might break and downstream projects, etc, it isn't very practical. It strikes me as in a similar vein to high school students and beauty pageant constestants calling for world peace. Really great goal, not super easy to implement.

I would definitely be looking at every single commit though and if it isn't obviously safe I'd be drilling in.

maxcoder4#
Imagine someone tried to revert all the commits you ever did. Doesn't sound easy.
concordDance2 replies#
Some of those commits might fix genuine vulnerabilities. So you might trade a new backdoor for an old vulnerability that thousands of criminal orgs have bots for exploiting.

Damage wise, most orgs aren't going to be hurt much by NSA or the Chinese equivalent getting access, but a Nigerian criminal gang? They're far more likely to encrypt all your files and demand a ransom.

Continue this thread — 2 replies

bananapub2 replies#
it's not weird at all?

randomly reverting two years of things across dozens of repositories will break them, almost definitely make them unbuildable, but also make them unreleasable in case any other change needs to happen soon.
all of their code needs to be audited to prove it shouldn't be deleted, of course, but that can't happen in the next ten minutes.
I swear that HN has the least-thought-through hot takes of any media in the world.

Continue this thread — 2 replies

kaliqt1 reply#
You can't just go and rip out old code, it'll break everything else, you have to review each commit and decide what to do with each.

Continue this thread — 1 reply

crest#
Too much fallout.
andruby1 reply#
Hoe will you do that practically though? That’s probably thousands of commits upon which tens or hundred thousand commits from others were built. You can’t just rollback everything two years and expect it not to break or bring back older vulnerabilities that were patched in those commits.
kjs32 replies#
Likely part of what the attacker(s) are counting on. Anyone want to place odds this isn't the only thing that's going to be found?

Continue this thread — 2 replies

neurostimulant1 reply#
Rolling back two years worth of commits made by a major contributor is going to be hell. I'm looking forward to see how they'll do this.
joeyh2 replies#
Not really. xz worked fine 2 years ago. Roll back to 5.3.1 and apply a fix for the 1 security hole that was fixed since that old version. (ZDI-CAN-16587)

Slight oversimplification, see https://bugs.debian.org/1068024 discussion.

Continue this thread — 2 replies

planb1 reply#
I don’t thinks that’s necessary: there are enough eyes on this person’s work now.
hcks#
No one will do it seriously
ptx3 replies#
Couldn't the autoconf soup be generated from simpler inputs by the CI/CD system to avoid this kind of problem? Incomprehensible soup as a build artifact (e.g. executables) is perfectly normal, but it seems to me that such things don't belong in the source code.

(This means you too, gradle-wrapper! And your generated wrapper for your generated wrapper. That junk is not source code and doesn't belong in the repo.)

WatchDog#
gradle-wrapper is just a convenience, you can always just build the project with an installed version of gradle. Although I get your point, it’s a great place to hide nefarious code.

Continue this thread — 2 more replies

Continue this thread — 6 more replies