From owner-freebsd-ports@freebsd.org Wed Mar 31 13:47:04 2021 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id BA444578DA2 for ; Wed, 31 Mar 2021 13:47:04 +0000 (UTC) (envelope-from kremels@kreme.com) Received: from mail.covisp.net (mail.covisp.net [65.121.55.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9SKg5qQgz3NNC for ; Wed, 31 Mar 2021 13:47:03 +0000 (UTC) (envelope-from kremels@kreme.com) From: "@lbutlr" Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: Lessons from the PHP git repo "hack" Message-Id: <6314D726-F55D-4374-AB63-B17B7B3E4D14@kreme.com> Date: Wed, 31 Mar 2021 07:47:01 -0600 To: FreeBSD X-Mailer: Apple Mail (2.3654.80.0.2.43) X-Rspamd-Queue-Id: 4F9SKg5qQgz3NNC X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kremels@kreme.com designates 65.121.55.42 as permitted sender) smtp.mailfrom=kremels@kreme.com X-Spamd-Result: default: False [-1.38 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[65.121.55.42:from]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; FROM_HAS_DN(0.00)[]; MISSING_MIME_VERSION(2.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; MIME_GOOD(-0.10)[text/plain]; R_SPF_ALLOW(-0.20)[+mx]; DMARC_NA(0.00)[kreme.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[65.121.55.42:from:127.0.2.255]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.99)[-0.985]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:65.112.0.0/12, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ports]; RCVD_IN_DNSWL_LOW(-0.10)[65.121.55.42:from] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 13:47:04 -0000 As you may know, PHP has decided to move their repo to GitHub after an = unauthorized "hack" was committed to PHP. I say "hack" because it appears the code was intentionally obvious and = went to some lengths to draw attention to itself, so it appears someone = did this to highlight issues with the private git repo rather than a = real attempt to hack. These changes were made under authorized accounts = despite a 2FA system and it's unclear at this point how access was = gained. The current Gihub, which was a mirror only, will be the primary repo = going forward and the php git server will be retired. Which brings me to the reason for this post, as it seems that the ports = collection of FreeBSD 13.x will be in the same position, running a = private git server network and using GitHub as a mirror and I wonder if = some lessons from php's experience with this should be considered for = this setup before it's implemented. I'm not linking to stories about this because all the ones I can find = are clickbait frothing panic-inducing nonsense rather than looking at = what actually happened. Maybe Krebs will post something soon. --=20 Turning and turning in the widening gyre The falcon cannot hear the falconer;