DeployProof
A pre-push verification tool for AI-assisted codebases: mutation testing, credential scanning, sandbox-escape detection, and dependency hallucination checks.
Why This Exists
AI-assisted development introduces failure modes that standard tools miss: test suites with high line coverage but near-zero mutation scores, hardcoded credentials generated in passing, symlinks that deceive approval prompts into escaping the repository sandbox, and package names hallucinated by LLMs that don't exist on PyPI. DeployProof catches these at the pre-push stage, before they reach CI or production.
Install
pip install deployproof
Requires Python 3.10+.
Quickstart
Initialize in your repository:
deployproof init
Run all verification checks against changes in the current session:
deployproof check
Output includes a section for each check — symlink scan, secrets scan, dependency scan, and mutation score — with a pass/fail line at the bottom. Exit code is non-zero on any finding that should block a push.
What It Checks
- Mutation Score — Mutates AST operators (
>=,==,and,or,*, numeric constants, comparisons) in modified files and runs your test suite against each mutant. Reports surviving mutants and a percentage score. Does not use line coverage. - Secrets and Credentials — Scans modified files for hardcoded API keys (OpenAI, Anthropic, AWS, GitHub, Stripe, private keys) and tracked
.envfiles using pattern matching and entropy analysis. - Symlink and Sandbox Escape — Resolves symbolic links and flags any whose target escapes the repository root (CWE-61 / CWE-451). Catches the class of path-traversal trick used in the GhostApproval disclosure (Wiz Research, July 2026).
- Dependency and Slopsquatting — For each new import or manifest entry introduced in the diff, queries the PyPI JSON API and checks registration age. Packages that don't exist (HTTP 404) are flagged HIGH RISK; packages registered within the last 30 days are flagged MEDIUM RISK. Network errors are reported as UNKNOWN — never silently treated as safe.
What This Doesn't Do
- Not a full-repo audit. Checks are scoped to files changed in the current session (git diff). Files you haven't touched are not re-evaluated.
- Python only. Mutation testing and import extraction currently support Python files only. Other languages are not scanned.
- No auto-fix. DeployProof reports findings; it does not modify your code, rewrite imports, or suggest patches.
- No IDE plugin yet. There is no VS Code extension or JetBrains plugin. The CLI is the interface. IDE integration is on the roadmap.
See It Catch Real Bugs
Clone this repository and run the standalone stress-test suite to see DeployProof evaluate 7 planted edge cases:
python stress_fixtures/run_stress_tests.py
Fixtures cover weak test suites, zero-test orphan modules, planted OpenAI/AWS credentials, and GhostApproval sandbox-escape traps.
Status & Roadmap
- Current (v0.1.1): Diff-scoped AST mutation testing, secrets scanner, GhostApproval symlink sandbox-escape detector, PyPI dependency hallucination / slopsquatting scanner, and Tier 2 CI verification via GitHub Actions (mutmut).
- Next: Multi-language mutation support and expanded ecosystem rule packs.
Contributing
Issues and pull requests are welcome. Open an issue first for significant changes so the approach can be discussed before implementation.
License
MIT. See LICENSE.
Created by SVS Praveen · Portfolio · LinkedIn
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file deployproof-0.1.1.tar.gz.
File metadata
- Download URL: deployproof-0.1.1.tar.gz
- Upload date:
- Size: 44.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2e4f33b3e065cf8bef6af06ac9b98d0cf9a9cb31be7f3a98315aa237756da02b
|
|
| MD5 |
b57c2dd48e734339e676d4ffa6e173dd
|
|
| BLAKE2b-256 |
e11402fac973ff3e199d81da07a0640862ef9ad9dfa9eba818581bedd1845c30
|
File details
Details for the file deployproof-0.1.1-py3-none-any.whl.
File metadata
- Download URL: deployproof-0.1.1-py3-none-any.whl
- Upload date:
- Size: 32.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b97e250f2306c1abc598da2e02784563651c447615575e82f0538f160a738cbd
|
|
| MD5 |
6e08270decc288ebdaff176cb75ca881
|
|
| BLAKE2b-256 |
2abdf3afff6e38d7d16376eeab023203ffe18065ae8df692e147fbbaa3bfa1e6
|