Answers are grounded in this paper and cite their sources.
Python Code Audit (codeaudit) is a lightweight, local-first Static Application Security Testing (SAST) tool for Python designed around distrust by default, zero-complexity architecture, and deterministic Abstract Syntax Tree (AST) analysis. Built in pure Python and released under the GPLv3 license, it evaluates source code, directories, archives, and PyPI packages against more than 95 security validations targeting the Python Standard Library, risky built-ins, insecure serialization, command/process execution, and potential data-exfiltration or credential exposure paths—without relying on AI/ML or transmitting source code to external services. Beyond rule-based AST checks, codeaudit computes file-level cyclomatic complexity metrics and parse-time static warnings, inspects imported modules against the Open Source Vulnerability (OSV) database via modulescan, supports automated CI/CD gates and inline suppressions via cimode, and provides a client-side WebAssembly (WASM) browser build for zero-installation package auditing. This paper presents the design philosophy, six-stage analysis pipeline, security checks, open Python SAST benchmark suite, practical workflows, and limitations of codeaudit. Key Links: PyPI Package: https://pypi.org/project/codeaudit/ Source Repository: https://github.com/nocomplexity/codeaudit Benchmark Suite Overview: https://nocomplexity.com/documents/codeaudit/benchmarksuite.html
No takes yet. Share an insight, caveat, or question.
Maikel Mardjan (2026) studied this question.
Synapse has enriched 8 closely related papers on similar clinical questions. Consider them for comparative context: