From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms1.migadu.com with LMTPS id 4DEfGpsED2YM8wAAqHPOHw:P1 (envelope-from ) for ; Thu, 04 Apr 2024 21:50:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:303:e16b::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id 4DEfGpsED2YM8wAAqHPOHw (envelope-from ) for ; Thu, 04 Apr 2024 21:50:51 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail header.b=fgyddmb4; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=lendvai.name ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1712260212; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=nd7rR2vdAHSFNYPeKMShvgkvXMAX5M3mhlRsKFyOirA=; b=Iot0CsgZhqbmboWbbb+veLUytVddqYOVRsaKQPO5I1GKP+QBfkl3kKsjyQywFQq6O426rD wxDg9uh48BLBHKxRbzw8ZmHXomKVFF0mt6OPQDKxJn4eRTuy++5awAE9ftDa1MGprmrwwk oOqa4P01R0uAE2r+Je5zenu2LqQSxnCStQeqFY5cwjPN/180um00XCXSl3xolxxlb0Djkk 0zMR9AP8wtXSZSLlreuJMNq9wccn2/f+TXTVyhDlMJdTFFVTU1xDFJvw/czSbsiWN8iNSh hz4MXbFnXhX2tunRXiLOd8mT/zvRBGyqknWxdzUL9pC8DMV6BKDc9NFezx7DCg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1712260212; a=rsa-sha256; cv=none; b=g8wmY6jWxwHRocnFrsXw03w8qqHeTbQ1en3h15YNXXF3Htw2hMdBHcTCBrHUkds+fGmcFd P1jGZN53QDivnKKtZP7AXQxF3rQ17lQd7JPAsDHhyDhPdZZKEPRl3rt4klmYfUwDMHxiYn rZI8Z6+Eba+2WeW6nrI1xNh6YKPNIEApWao4S/Ht7M8EKWc7g225+LqO5rx2zYCxnqQGHN yZfz6onuFWwjwLUeS4V4hCU5Cbj12ZJlufKer3nuc/TuYZaa505zLV/I+5nrmg6BZOBp3V VCunHUWTe/RRqSbo/GWMedxv8LloWIEHWf8FtC0jafNDAN2ZmPj0asNjK5w30Q== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=lendvai.name header.s=protonmail header.b=fgyddmb4; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=lendvai.name Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 5563B387EE for ; Thu, 4 Apr 2024 21:50:12 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rsT4z-0006kJ-ST; Thu, 04 Apr 2024 15:48:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rsT4x-0006jz-Kw for guix-devel@gnu.org; Thu, 04 Apr 2024 15:48:55 -0400 Received: from mail-4323.proton.ch ([185.70.43.23]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rsT4u-0000Qv-Be for guix-devel@gnu.org; Thu, 04 Apr 2024 15:48:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lendvai.name; s=protonmail; t=1712260129; x=1712519329; bh=nd7rR2vdAHSFNYPeKMShvgkvXMAX5M3mhlRsKFyOirA=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID:BIMI-Selector; b=fgyddmb4wXWk/4O/h27KscS4N25OqsD1LvixDSk2dhfb2jdNBr26OirdKir5CqrdH TgyU+ttDKKMcpE5Hz2RHupm5sj2Gzz7oAzM3vSJC6kohLwwzQj2SSqIP+1FT6AiQSi 3TTrR6uz4KE2QwOy0We4JBVtwQ0ijLIfWy2Fdq0WpH9sbromPmYS75/HikI/dQgcUi vBdQiJ3Ygiiu8ZxwkeBYYoOEMYy+3s5b7jTHVtFYi7nSnoU2A8Zy7GK9Az1FeeqiJT HR4rm6UVFSiubH9TN4/zCBMhOcaKpdVDrpqpFknNDd2AutS4n+j6sXrUPa4c5rD/Eh +ZRvt56Snsvcg== Date: Thu, 04 Apr 2024 19:48:44 +0000 To: Giovanni Biscuolo From: Attila Lendvai Cc: Guix Devel Subject: Re: backdoor injection via release tarballs combined with binary artifacts (was Re: Backdoor in upstream xz-utils) Message-ID: In-Reply-To: <87zfu9ku4l.fsf@xelera.eu> References: <87ttkon4c4.fsf@protonmail.com> <8734s1mn5p.fsf@xelera.eu> <87zfu9ku4l.fsf@xelera.eu> Feedback-ID: 28384833:user:proton MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=185.70.43.23; envelope-from=attila@lendvai.name; helo=mail-4323.proton.ch X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -7.69 X-Spam-Score: -7.69 X-Migadu-Queue-Id: 5563B387EE X-Migadu-Scanner: mx13.migadu.com X-TUID: J9sdAkDmPZ1I > Are really "configure scripts containing hundreds of thousands of lines > of code not present in the upstream VCS" the norm? pretty much for all C and C++ projects that use autoconf... which is numero= us, especially among the core GNU components. > If so, can we consider hundreds of thousand of lines of configure > scripts and other (auto)generated files bundled in release tarballs > "pragmatically impossible" to be peer reviewed? yes. > Can we consider that artifacts as sort-of-binary and "force" our > build-systems to regenerate all them? that would be a good practice. > ...or is it better to completely avoid release tarballs as our sources > uris? yes, and this^ would guarantee the previous point, but it's not always triv= ial. as an example see this: https://issues.guix.gnu.org/61750 in short: when building shepherd from git the man files need to be generate= d using the program help2man. this invokes the binary with --help and forma= ts the output as a man page. the usefulness of this is questionable, but th= e point is that it breaks crosscompilation, because the host cannot execute= the target binary. but these generated man files are part of the release tarball, so cross com= pilation works fine using the tarball. all in all, just by following my gut insctincts, i was advodating for build= ing everything from git even before the exposure of this backdoor. in fact,= i found it surprising as a guix newbie that not everything is built from g= it (or their VCS of choice). --=20 =E2=80=A2 attila lendvai =E2=80=A2 PGP: 963F 5D5F 45C7 DFCD 0A39 -- =E2=80=9CFor if you [the rulers] suffer your people to be ill-educated, and= their manners to be corrupted from their infancy, and then punish them for= those crimes to which their first education disposed them, what else is to= be concluded from this, but that you first make thieves [and outlaws] and = then punish them.=E2=80=9D =09=E2=80=94 Sir Thomas More (1478=E2=80=931535), 'Utopia', Book 1