News for hackers. Stuff that matters.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by londons_explore on Friday March 29, 2024 @02:36PM (#39867476)
testdata should not be on the same machine as the build is done. testdata (and tests generally) aren't as well audited, and therefore shouldn't be allowed to leak into the finished product.

Sure - you want to test stuff, but that can be done with a special "test build" in it's own VM.

Re:Backdoor in upstream xz/liblzma leading to SSH server com... by Hackbraten on Friday March 29, 2024 @07:59PM (#39870378)
That could easily double build cost. Most open-source package repositories are not exactly in a position to splurge on their build infra.
Re:Backdoor in upstream xz/liblzma leading to SSH server com... by hanwenn on Saturday March 30, 2024 @11:40AM (#39875884)
In the Bazel build system, you would mark the test data blob as testonly=1. Then the build system guarantees that the blob can only be used in tests.

This incident shows that killing the autoconf goop is long overdue.