From owner-freebsd-security@FreeBSD.ORG Mon Mar 16 20:10:34 2015 Return-Path: Delivered-To: freebsd-security@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 69DF5CD0; Mon, 16 Mar 2015 20:10:34 +0000 (UTC) Received: from shell1.rawbw.com (shell1.rawbw.com [198.144.192.42]) by mx1.freebsd.org (Postfix) with ESMTP id 51229C75; Mon, 16 Mar 2015 20:10:34 +0000 (UTC) Received: from yuri.doctorlan.com (c-50-184-63-128.hsd1.ca.comcast.net [50.184.63.128]) (authenticated bits=0) by shell1.rawbw.com (8.14.9/8.14.9) with ESMTP id t2GKAX0E066950 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Mon, 16 Mar 2015 13:10:34 -0700 (PDT) (envelope-from yuri@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host c-50-184-63-128.hsd1.ca.comcast.net [50.184.63.128] claimed to be yuri.doctorlan.com Message-ID: <550738B8.7010704@rawbw.com> Date: Mon, 16 Mar 2015 13:10:32 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0 MIME-Version: 1.0 To: Mark Felder , freebsd-security@freebsd.org Subject: Re: npm doesn't check package signatures, should www/npm print security alert? References: <55073593.50108@rawbw.com> <1426536352.4157462.241176113.7D625599@webmail.messagingengine.com> In-Reply-To: <1426536352.4157462.241176113.7D625599@webmail.messagingengine.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-security@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "Security issues \[members-only posting\]" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Mar 2015 20:10:34 -0000 On 03/16/2015 13:05, Mark Felder wrote: > This would require FreeBSD to modify npm code to inject this message, > correct? Or do you just want a post-install message when the package is > installed to remind FreeBSD users about it? > > It seems to me a scary warning patch should be sent upstream. I meant post-install message. pkg and ports nicely check package signatures or fingerprints, but then npm defeats this outright, if installed. Yuri