TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Introducing Bandit, a Python code security analyzer

2 pointsby chair6over 10 years ago

1 comment

chair6over 10 years ago
&quot;Bandit provides a framework for performing security analysis of Python source code, utilizing the ast module from the Python standard library.<p>The ast module is used to convert source code into a parsed tree of Python syntax nodes. Bandit allows users to define custom tests that are performed against those nodes. At the completion of testing, a report is generated that lists security issues identified within the target source code.&quot;<p>Wiki page is linked above (<a href="https://wiki.openstack.org/wiki/Security/Projects/Bandit" rel="nofollow">https:&#x2F;&#x2F;wiki.openstack.org&#x2F;wiki&#x2F;Security&#x2F;Projects&#x2F;Bandit</a>), and browseable code is at <a href="http://git.openstack.org/cgit/stackforge/bandit/" rel="nofollow">http:&#x2F;&#x2F;git.openstack.org&#x2F;cgit&#x2F;stackforge&#x2F;bandit&#x2F;</a>.<p>We&#x27;d love to hear about people who are using this - feedback and suggestions welcome.