Read-only · stdlib only · no packets

Find what's exposed
before someone else does.

An on-premise audit engine that reads your project and reports what is actually there: leaked credentials, world-writable files, zero-filled files whose content has silently vanished, unpinned dependencies — and, only when you ask, which sockets are listening and whether they answer the world. It writes a markdown report and a JSON result, and exits with a code your pipeline can gate on.

sha256 08d5c35ef95491da1c323b5f504ffcf1eb792ec8f592e92fee7f286338cde401

11 secret patterns

OpenAI, Anthropic, AWS key and secret, Stripe live, GitHub, Slack, private-key blocks, DB URLs with credentials, JWTs, generic assignments. Matches are masked to a fingerprint — the value never reaches the report.

Permissions measured

World-writable files and directories, key material readable by group or world, .env posture — read with stat(), not assumed.

Integrity sweep

Zero-filled files (size retained, content gone), zero-byte stubs, unpinned dependencies, missing lockfiles. This check found real damage on its own product tree.

Optional surface map

Listening sockets parsed from the kernel table — no packet is sent, nothing is probed. Off by default, because a tree audit must not report host state as project findings.

What it does, in one run

$ security-audit --path ~/app --report audit.md --json audit.json
========================================================================
ON-PREMISE SECURITY AUDIT · security-audit 1.0.0
root: /home/you/app        files scanned: 214      listening sockets: 0
========================================================================

[CRITICAL] SEC-AWS-SECRET  AWS secret access key
  at config/settings.py:41   evidence: AKI…len=40 sha256=8f2c1d…
  fix: rotate the IAM secret immediately — this class is directly exploitable

[HIGH    ] PERM-WORLD-WRITE  file is world-writable
  at scripts/deploy.sh   evidence: 0o666
  fix: chmod o-w scripts/deploy.sh

------------------------------------------------------------------------
RESULT: 2 finding(s) {'critical': 1, 'high': 1}  ·  read-only  ·  no packets sent
exit 4
Exit codes are the contract: 0 clean · 4 findings · 6 could not audit. A file it cannot read is reported as unreadable — never skipped quietly.

Install

# python 3.8+ · standard library only · no pip install
unzip security-audit-1.0.0.zip && cd security-audit-1.0.0
sha256sum -c SHA256SUMS          # verify the archive
./deploy.sh                      # → ~/.local/share/security-audit + ~/.local/bin/security-audit

security-audit --path ~/project --report audit.md --json audit.json
security-audit --path ~/project --surface      # include listening sockets
security-audit --path . --quiet --min-severity high || exit 1   # pipeline gate

Runs offline. Writes only the report paths you name. Nothing is installed as a service and nothing phones home.

Verified, not promised

CheckResult
Test suite21 passed · 0 failed
Clean fixtureexit 0, no findings invented
Damaged fixtureexit 4, findings reproduced
Outbound connections0 (by construction)
Dependenciesstdlib only
Archive20 files · 32,552 B · sha256 verified

Licence & the free tier

The Free Community Edition is a permanent, irrevocable grant: individuals, students and teachers, non-profits, open-source projects, journalists and activists, public-service agencies, small businesses under ten employees, and anyone in a low-income or underserved community may use it at no cost, with no time limit and no feature gating. Commercial use by large enterprises is licensed separately.

Prefer it done for you? On-premise audit engagements are available with the fixes prioritised and applied.