Received: from gandharva.secretlabs.de ([78.46.147.237]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1Nu0Xg-00022e-Pc for openembedded-devel@lists.openembedded.org; Tue, 23 Mar 2010 10:36:57 +0100 Received: from tamarin.localnet (123-192-181-204.dynamic.kbronet.com.tw [123.192.181.204]) by gandharva.secretlabs.de (Postfix) with ESMTPSA id 004BE1B10C79 for ; Tue, 23 Mar 2010 09:37:28 +0000 (UTC) From: Holger Hans Peter Freyther To: openembedded-devel@lists.openembedded.org Date: Tue, 23 Mar 2010 10:33:40 +0100 User-Agent: KMail/1.13.1 (Linux/2.6.33-rc8; KDE/4.4.1; i686; ; ) MIME-Version: 1.0 Message-Id: <201003231033.40621.holger+oe@freyther.de> X-SA-Exim-Connect-IP: 78.46.147.237 X-SA-Exim-Mail-From: holger+oe@freyther.de X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on discovery X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: Yes (on linuxtogo.org) Subject: Using oeaudit.py to check for known security issues X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Mar 2010 09:36:57 -0000 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Hi, here is a rather simple howto: $ bitbake -s > available $ export PYTHONPATH=/bitbake/lib $ /OE/contrib/oeaudit/oeaudit.py -f This will call wget, tar to get the audifile and place it in the local dir $ /OE/contrib/oeaudit/oeaudit.py -a auditfile -p available Now you get a nice list of issues... TODO items: - Sometimes the latest upstream version has the bug and we need to apply a patch. Right now this will still be displayed as vulnerable.. I will add another file where one can claim to have fixed certain issues.. - Rewrite in GNU smalltalk