From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iPGvMItzAWKfrQAAgWs5BA (envelope-from ) for ; Mon, 07 Feb 2022 20:31:23 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id IL0SLotzAWJ2NQAA9RJhRA (envelope-from ) for ; Mon, 07 Feb 2022 20:31:23 +0100 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 7D9CB33601 for ; Mon, 7 Feb 2022 20:31:21 +0100 (CET) Received: from localhost ([::1]:49878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nH9jM-0006ge-Kt for larch@yhetil.org; Mon, 07 Feb 2022 14:31:20 -0500 Received: from eggs.gnu.org ([209.51.188.92]:48606) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nH9j4-0006eZ-Vm for guix-patches@gnu.org; Mon, 07 Feb 2022 14:31:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:49895) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nH9j4-00026G-Lh for guix-patches@gnu.org; Mon, 07 Feb 2022 14:31:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nH9j4-0007QC-77 for guix-patches@gnu.org; Mon, 07 Feb 2022 14:31:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#53765] [PATCH 12/17] gnu: Add clojure-com-cognitect-http-client. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 07 Feb 2022 19:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53765 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Reily Siegel , 53765@debbugs.gnu.org Received: via spool by 53765-submit@debbugs.gnu.org id=B53765.164426221328461 (code B ref 53765); Mon, 07 Feb 2022 19:31:02 +0000 Received: (at 53765) by debbugs.gnu.org; 7 Feb 2022 19:30:13 +0000 Received: from localhost ([127.0.0.1]:43791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nH9iH-0007Oz-BL for submit@debbugs.gnu.org; Mon, 07 Feb 2022 14:30:13 -0500 Received: from baptiste.telenet-ops.be ([195.130.132.51]:39464) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nH9iF-0007Oo-Hn for 53765@debbugs.gnu.org; Mon, 07 Feb 2022 14:30:12 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by baptiste.telenet-ops.be with bizsmtp id sKW92600k4UW6Th01KW9nv; Mon, 07 Feb 2022 20:30:10 +0100 Message-ID: <0892d295983b8c628b9d446b6c88b70f5a6f83fd.camel@telenet.be> From: Maxime Devos Date: Mon, 07 Feb 2022 20:30:04 +0100 In-Reply-To: <87iltqy2jm.fsf@reilysiegel.com> References: <87y22r32hi.fsf@reilysiegel.com> <87h79f32bm.fsf@reilysiegel.com> <87iltqy2jm.fsf@reilysiegel.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-ccsEGHpEUi/L6aM7pH5U" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1644262210; bh=9bnVziR5srXfMcWbLhsKwA5DebU2DHpJXIA2ZjvCxa8=; h=Subject:From:To:Date:In-Reply-To:References; b=MKQ1DAag/WQcEc6oxW9dcW/UbS5cVqZaAM1P4d9TzR25gtoX86g69zB54ARygaZgY r9g1qvXgOQyajhCiYiKMOde1zSbbPjlqoSPvfAY6RsuCdJEozBT7MmvSNhr5S4LpK7 PYGkpFwwY7iJfqhtXlOGQTOjMFfz/W0E5ynCyrUiDszgZS+SnQ/nl7rt55nKOY6Q+m UO7X1Gq6/T3M592N6s1P+jgZdt4yBJgZzETWW0HUdniceRe3k233SUBhT+3cNFeieM BtAxKY39kGc/7p3fCiDdEXVZs6vOgNVEdctHRLJyhEfJglqqnFybWimKLhUbfEGRVJ p9RRolZXpWgIw== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1644262281; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=9bnVziR5srXfMcWbLhsKwA5DebU2DHpJXIA2ZjvCxa8=; b=RnZNHyiJ/cwxIhe+E6Mc6ujG1UML0KP2KJ42L1Y1I/ovEpuWRjOjxSVaDVu8gldH7vVsrW yrSzpMwySp7sogqG/2GsXW1gCoQDdbRLJUmhJd7TMorLngOtyf8Bw204H8yaRz/UTtb3up 146jd3hFxiGFvYMZb2KO2hN2KPQaBPyfTkVOO8MsBi8acfLheyfkxUi866YK6HBrIJucSZ lAGWi2vFBbkdvMJxNJmb0SsoWKgFR0EYvD6Ga2Ae5nKuFWhCeMSCjhtlT81AXh18kG1n++ PBVEnZkAZQMcTTamTKsoltzOkFuebjZJ/nMZR8b+R2HdMit7v5pBPxUHJywj4Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1644262281; a=rsa-sha256; cv=none; b=TEpdkPfB6R/hDil7vQCITeS3fV9B+RRNzaSja0Q2eNYL/4aD6C0f6AcMfeIfUl8AU9+bIp Lgbug6253dSH2+ORvWhF+QaUIwegJqyJV+z+G8MgpJADeEFZQq9H5amhvodXCq2rjkHtq5 uugfYUk10iek52jvb3p8ZXUxr6kq2Z55fR5QRCzaLzquP64oY0XSTvusHBECJCWEMOdK0X VxNfr1FKqy1NUb9lBZvHKhOQZpuCwYTyZw/LGJ+W2SXGllBb3G7F32FA/1QfSI5zvI8pkJ gmDpArelSa9q4XlXHmjY+scchwrow8lGXsK1kt4CvRUmuHzlmWmqq9QA8U1wMQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=MKQ1DAag; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -4.23 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r22 header.b=MKQ1DAag; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 7D9CB33601 X-Spam-Score: -4.23 X-Migadu-Scanner: scn1.migadu.com X-TUID: oBAmYP2yG7LY --=-ccsEGHpEUi/L6aM7pH5U Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Reily Siegel schreef op ma 07-02-2022 om 13:06 [-0500]: > This code is taken directly from Maven, as are many Java packages. This > relies on whatever authentication Maven does to ensure packages are not > forgeries. I took a look at and AFAICT Maven does not have any process in place to prevent forgeries or malicious code; there does not appear to be any vetting process, though perhaps I haven't looked far enough. A web page from cognitect telling =E2=80=98grab source code from Maven (com/cognitect/http-client)=E2=80=99, combined with going over the source code to sniff things like =E2=80=99Send ~/.gnupg to evil.com=E2=80=99 shoul= d be sufficient. For the damage the absence of a vetting process can do, see e.g. . The same issue appears to hold for PyPI, RubyGems and npm. Greetings, Maxime. --=-ccsEGHpEUi/L6aM7pH5U Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYgFzPBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7sHdAQCPHb0UX4f7wLSn5e4VqXCpbi5r fbCnjjAv6KvDFU2Y6AD+OoSAq2wqnHPaXHL6vKarvFwj3UaGI5dlIZ5A7cBjZAc= =leOc -----END PGP SIGNATURE----- --=-ccsEGHpEUi/L6aM7pH5U--