Deterministic security scanner for AI-generated and human-written code.
Scan any project. Get a prioritized action plan. Review 3 files instead of 300.
What is Auditize?
Auditize scans your project for 22 categories of security and quality issues — hardcoded secrets, debug artifacts, misconfigured Docker, missing CI/CD, and more.
Each rule is:
- Deterministic — pure pattern matching. Zero AI hallucinations.
- Verifiable — every finding cites a file, a line number, and the matched code.
- OWASP-referenced — backed by real security research.
Review your entire project in seconds. Not hours.
Quick Start
# Install
pip install auditize
# Scan the current project
auditize scan .
# Get a todo-style action plan
auditize scan . --plan
# Integrate into CI
auditize scan . --json
Zero dependencies. Zero config.
Features
| Feature | Description |
|---|---|
| 🔍 22 rules, 3 critical | Secrets, SSL keys, debug code, Docker, CORS, git leaks |
| 🎯 Action plan mode | --plan gives a checklist: "fix these 3 first, then these 2" |
| 📊 Health score + grade | A–D grading with visual score bar |
| ✅ Fix tracking | Mark issues as fixed; they disappear from future scans |
| 🔗 CI-ready JSON | --json for pipeline integration |
| 🛡️ Zero false positives | Prefers false negatives over noise |
| 📖 Open source rules | Each rule has a detailed explainer (auditize explain SEC-001) |
| 📦 Zero dependencies | Uses only the Python standard library |
Output Modes
Default: Health bar + key items
Auditize v0.1.1 — Deterministic Security Review · 22 rules
Project: my-app (Python, JavaScript)
Files: 47 code files | Rules: 22
Health ████████████████░░░ B (72/100)
Critical: 1 | High: 2 | Medium: 3
─── Must Fix ──────────────────────────────────────────
🔴 SEC-001 API Key hardcoded
config.py:15 → API_KEY = 'sk_live_...'
Fix: Move to .env
🟠 SEC-005 SSL key file in project
deploy/server.key:1 → Private key found
Fix: Remove from repo
─── Should Fix ────────────────────────────────────────
🟡 SEC-014 Unpinned dependency
requirements.txt:3 → django>=4.0
Fix: Pin to django==4.2.16
Plan mode: Checklist
📋 Action Plan — my-app
Step 1: Must Fix (3 items · 13 min)
□ 1. SEC-001 Hardcoded API key
config.py:15 → API_KEY = 'sk_live_...'
✓ Fixed? Next scan will auto-detect.
Step 2: Should Fix (2 items · 5 min)
□ 4. SEC-014 Unpinned dependency
requirements.txt:3 → django>=4.0
JSON mode: CI integration
auditize scan . --json > report.json
Rules (22 total)
| ID | Category | Severity | Checks |
|---|---|---|---|
| SEC-001 | Secret Leak | 🔴 critical | Hardcoded API keys, passwords, tokens |
| SEC-002 | Secret Leak | 🟠 high | .env not in .gitignore |
| SEC-003 | Git Leak | 🟠 high | Git history contains sensitive files |
| SEC-004 | Git Leak | 🟡 medium | .gitignore missing essential entries |
| SEC-005 | SSL | 🔴 critical | SSL private key files in project |
| SEC-006 | Debug | 🟡 medium | Debug statements in production code |
| SEC-007 | Code Marker | 🔵 low | Accumulated TODO/FIXME markers |
| SEC-008 | File Permission | 🟡 medium | World-readable sensitive files |
| SEC-009 | Path | 🟡 medium | Hardcoded absolute paths |
| SEC-010 | Database | 🟠 high | SQLite DB files web-accessible |
| SEC-011 | Large File | 🔵 low | Files >1MB in repo |
| SEC-012 | Docker | 🟡 medium | Publicly exposed ports |
| SEC-013 | Docker | 🔵 low | :latest tag used |
| SEC-014 | Dependency | 🟡 medium | Unpinned version ranges |
| SEC-015 | Error Handling | 🟡 medium | Empty catch/except blocks |
| SEC-016 | Documentation | 🔵 low | Missing README |
| SEC-017 | Documentation | 🔵 low | Missing LICENSE |
| SEC-018 | CI/CD | ⚪ info | Missing CI/CD configuration |
| SEC-019 | Dependency | 🔵 low | node_modules tracked by git |
| SEC-020 | Security Config | 🔴 critical | Default admin passwords |
| SEC-021 | Security Config | 🟡 medium | CORS wildcard (*) |
| SEC-022 | Security Config | 🟠 high | DEBUG mode hardcoded True |
Why not use X?
| Auditize | Gitleaks | Semgrep | Snyk | linter | |
|---|---|---|---|---|---|
| Zero deps | ✅ | ❌ | ❌ | ❌ | ✅ |
| Fix tracking | ✅ | ❌ | ❌ | ❌ | ❌ |
| Action plan | ✅ | ❌ | ❌ | ❌ | ❌ |
| Secrets scan | ✅ | ✅ | partial | ✅ | ❌ |
| Docker scan | ✅ | ❌ | ✅ | ✅ | ❌ |
| Git history | ✅ | ✅ | ❌ | ❌ | ❌ |
| Open source rules | ✅ | ❌ | ✅ | ❌ | ✅ |
| No AI (deterministic) | ✅ | ✅ | ✅ | ❌ | ✅ |
Auditize isn't trying to replace dedicated tools — it's a catch-all first pass that runs in seconds with zero setup.
Installation
# Via pip
pip install auditize
# Via pipx (isolated)
pipx install auditize
# Via pre-commit
# Add to .pre-commit-config.yaml:
# - repo: https://github.com/yizhizhu222/auditize
# rev: v0.1.1
# hooks:
# - id: auditize-scan
CI/CD Integration
name: Security Scan
on: [push, pull_request]
jobs:
auditize:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.11'
- run: pip install auditize
- run: auditize scan . --json > report.json
- run: |
python3 -c "
import json
d = json.load(open('report.json'))
assert d['severity_counts'].get('critical', 0) == 0, 'Critical issues found!'
"
Documentation
- CLI Reference — full command reference (Chinese)
- Rule Library — all 22 rules documented
- Publishing Guide — PyPI release process
Development
git clone https://github.com/yizhizhu222/auditize.git
cd auditize
pip install -e ".[test]"
pytest tests/ -v
See CONTRIBUTING.md for guidelines.
License
MIT
Metadata
Release files for auditize-cli 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| auditize_cli-0.1.1.tar.gz | 1.1 MB | Without provenance | Details for auditize_cli-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| auditize_cli-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for auditize_cli-0.1.1-py3-none-any.whl |
Total release size: 1.2 MB
Release files / auditize_cli-0.1.1.tar.gz
| Download URL | auditize_cli-0.1.1.tar.gz |
|---|---|
| Size | 1.1 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0ff3a4e833ec7e3fcc5b2fa928845a5f6304411e9dd25b11e209d86be7560b7
|
|
BLAKE2b-256 checksum How to use checksums |
1f67f6a16932c52c9e98ebca72cb6d5741cf13a109c9cda4dee50694c9418b56
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / auditize_cli-0.1.1-py3-none-any.whl
| Download URL | auditize_cli-0.1.1-py3-none-any.whl |
|---|---|
| Size | 67.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c50d5d7227cd915fe1c53da7a7fe6f4d3e1f553e4e5f1f3d200e38191e7137de
|
|
BLAKE2b-256 checksum How to use checksums |
0daf92efd7847a1fbdadd1aefc3c9362d5486445dcedccf86e2a37e82f85bf4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for auditize-cli 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.