Lurker News

Comments (1,849) 195 threads

Earlier comments
alright25652 replies#
https://github.com/tukaani-project/tukaani-project.github.io...

> Note: GitHub automatically includes two archives Source code (zip) and Source code (tar.gz) in the releases. These archives cannot be disabled and should be ignored.
The author was thinking ahead! Latest commit hash for this repo: 8a3b5f28d00ebc2c1619c87a8c8975718f12e271

o11c2 replies#
For a long time, there was one legitimately annoying disadvantage to the git-generated tarballs though - they lost tagging information. However, since git 2.32 (released June 2021; presumably available on GitHub by August 2021 when they blogged about it) you can use `$Format:%(describe)$` ... limited to once per repository for performance reasons.
rany_#
Except this change was made in 2023, it is just scary how good this threat actor was.
legobmw991 reply#
I believe they also do not include sub modules, which is a big disadvantage for some projects
cryptonector2 replies#
It's very common in autoconf codebases because the idea is that you untar and then run `./configure ...` rather than `autoreconf -fi && ./configure ...`. But to do that either you have to commit `./configure` or you have to make a separate tarball (typically with `make dist`). I know because two projects I co-maintain do this.
Too5 replies#
Whats the problem of running “autoreconf -fi” though?

Very strange argument. It’s like saying our source release only contains a prebuilt binary, otherwise the user has to run “make”.
If that’s such a big hassle for your downstream consumers, maybe one should use something better than autoconf in the first place.

Continue this thread — 5 replies

bhaak3 replies#
It's common but it's plain wrong. A "release" should allow to build the project without installing dependencies that are only there for compilation.

Autotools are not guaranteed to be installed on any system. For example they aren't on the OSX runners of GitHub Action.
It's also an issue with UX. autoreconf fails are pretty common. If you don't make it easy for your users to actually use your project, you lose out on some.

Continue this thread — 3 replies

zamalek3 replies#
Bad move. Destroying evidence is a felony.
cypress66#
If you are this deep into it, it doesn't matter.
delfinom1 reply#
If only you could prosecute people in adversarial countries for a felony, lol.
maerF0x0#
You can if you can get them extradited (from any country, not just their home country).
JackSlateur#
Not everywhere, and only if you can prove that were evidences :)
sroussey#
GitHub/Microsoft likely has a backup. I’d be getting those out about now.
zh31 reply#
Comment from Andres Freund on how and why he found it [0] and more information on the LWN story about the backdoor. Recommend people read this to see how close we came (and think about what this is going to mean for the future).

[0] https://lwn.net/Articles/967194/

eBombzor#
That man deserves a Nobel Prize
dhx#
A mirror of the offending repository created by someone else is available at [1]. GitHub should be keeping the evidence in the open (even if just renamed or archived in a safer format) instead of deleting it/hiding it away.

The offending tarball for v5.6.1 is easier to find, an example being.[2]
m4/.gitignore was updated 2 weeks ago to hide build-to-host.m4 that is only present in the release tarball and is used to inject the backdoor at build time.[3]
[1] https://git.phial.org/d6/xz-analysis-mirror
[2] https://mirrors.xtom.ee/gentoo/distfiles/9f/xz-5.6.1.tar.gz
[3] https://git.phial.org/d6/xz-analysis-mirror/commit/4323bc3e0...

Load more comments