zmb-audit: Zero-dependency Python AST audit tool released
Understand this story
ArthurDev has released zmb-audit, a static AST audit tool that relies only on the Python standard library, aiming to catch failure modes left behind by AI coding agents even after unit tests pass. According to its description, the tool can detect orphan modules in a repository that are never imported, calls to nonexistent methods on classes within the repository, and broad exception fallbacks that swallow errors and return empty values. The tool requires Python 3.8+, and version v0.2.0 can be installed from GitHub via pip or run standalone with zero installation; the --strict CI mode exits with code 1 when orphan modules or unresolvable repository class calls are detected, and supports JSON output.
AI overview based on source reports · Updated 35 min ago
Coverage timeline
Follow the coverage to explore different perspectives.
- Hacker News AIShow HN: Zmb-audit – Zero-dep Python AST auditor for AI-generated dead code
Zmb-audit is a zero-dependency, standard-library-only static AST auditor for Python 3.8+ that detects orphan modules, unresolved method calls on repository-defined classes, and broad exception handlers that silently return empty defaults. It installs via pip from GitHub or runs as a standalone script, supports --strict CI mode and JSON output, and includes a GitHub Actions example.
Activity for this story
Not enough continuous observations to show a trend yet.