Skip to content

Don't just find vulnerabilities.
Prove they're fixed.

PatchProof reproduces the issue, tests your fix and keeps the evidence, on every pull request.

See how it works
Detection PhaseSARIF & SAST
CVE-2024-4821CRITICAL

SQL Injection in users query parser

src/users.py:42
Scanner MatchAST rule sqli-concat
Controlled Test Harness
REPRODUCED
$ python security/reproducers/sqli_find_user.py
[REPRODUCER] Testing payload: ' OR '1'='1
[REPRODUCER] Verdict: reproduced=true, reason=Tautology returned all records
{"reproduced": true, "precondition_ok": true}
Oracle StatusFlaw confirmed
Patch VerdictFIX_VERIFIED
BaselineVulnerable
Exploit TestTriggered
Candidate FixSafe
Regression SuitePassed (5/5)
Fix verified for tested cases
Findings

Real issues from scanners you already use.

Verification

Reproduced with real logs.

Patch reports

Fix verified for tested cases.

Illustrative, not a live scan.
Works with the tools you already use
Semgrep rules
SARIF import
OSV advisories
GitHub pull requests
requirements.txt
package-lock.json
pnpm-lock.yaml
Git history
Why PatchProof

Built for developers, trusted by security

Security tools drown teams in unverified alerts and hypothetical risks. PatchProof converts every finding into an isolated reproducer and validates the fix before you merge.

patchproof / repo: org/backend-api / run-9421
Harness: Isolated VM
Security Findings (2)Sort: Severity
CVE-2024-4821CRITICAL

Prototype pollution in query parser

REPRODUCED• FIX_VERIFIED
CVE-2024-3198MEDIUM

ReDoS in markdown table parser

Unverified candidate
src/utils/query-parser.js:42
Potential finding
// Vulnerability reproducer trace
- if (key.indexOf("__proto__") !== -1) return;
+ const hasKey = Object.prototype.hasOwnProperty.call(target, key);
target[key] = sanitize(source[key]);
Pytest harness: test_sqli_find_user.py
Fix verified for tested cases
Illustrative, not a live scan.

Evidence, not alerts

Every finding links directly to the deterministic test harness that supports or disproves it.

Reproduce before you trust

Run controlled, network-isolated exploit tests in disposable worker sandboxes with resource limits.

Verify the fix, not just the finding

Execute the identical test suite against vulnerable and patched commits alongside regression checks.

Proof that stays

Immutable verification reports with commit SHAs, stdout logs, and tamper-evident hashes you can audit anytime.

Interactive Verification Flow

From alert to evidence, end to end

Experience how speculative security alerts are systematically verified into reproducible evidence.

Step 1 • Discovery & Triage

Automated scanning and SARIF ingestion

Run targeted SAST AST rules on git commits, parse third-party SARIF reports, and inspect open-source lockfiles for unverified dependency vulnerabilities.

* Findings remain labeled as "POTENTIAL" until substantiated by a reproducer.
patchproof / repo: org/backend-api / run-9421
Harness: Isolated VM
Security Findings (2)Sort: Severity
CVE-2024-4821CRITICAL

Prototype pollution in query parser

REPRODUCED• FIX_VERIFIED
CVE-2024-3198MEDIUM

ReDoS in markdown table parser

Unverified candidate
src/utils/query-parser.js:42
Potential finding
// Vulnerability reproducer trace
- if (key.indexOf("__proto__") !== -1) return;
+ const hasKey = Object.prototype.hasOwnProperty.call(target, key);
target[key] = sanitize(source[key]);
Pytest harness: test_sqli_find_user.py
Fix verified for tested cases
Illustrative, not a live scan.
Continuous Assurance

Verification across the whole lifecycle

Integrate verification directly into your developer workflows from local edits to pull requests.

01 • Discovery

Scan code and dependencies with multi-engine coverage

Scan source code, AST hierarchies, and package lockfiles for known CVEs. Ingest existing SARIF and Semgrep JSON output effortlessly to prevent alert silos.

Findings are initially labeled as POTENTIAL until corroborated by executable test harnesses.

patchproof / repo: org/backend-api / run-9421
Harness: Isolated VM
Security Findings (2)Sort: Severity
CVE-2024-4821CRITICAL

Prototype pollution in query parser

REPRODUCED• FIX_VERIFIED
CVE-2024-3198MEDIUM

ReDoS in markdown table parser

Unverified candidate
src/utils/query-parser.js:42
Potential finding
// Vulnerability reproducer trace
- if (key.indexOf("__proto__") !== -1) return;
+ const hasKey = Object.prototype.hasOwnProperty.call(target, key);
target[key] = sanitize(source[key]);
Pytest harness: test_sqli_find_user.py
Fix verified for tested cases
Illustrative, not a live scan.
Harness Runner Log — exp-9421
REPRODUCED
Commit Hash: a1b2c3dEngine: Pytest 8.2 • Python 3.12
14:22:01.102SPAWN worker-isolated-vm (container id: exp-9421)
14:22:01.340CONFIG cgroup: cpu=2.0 mem=512MB network=DISABLED mounts=NONE
14:22:01.890FETCH repo: org/backend-api @ commit a1b2c3d (parent: 8f7e6d5)
14:22:02.120RUN pytest tests/reproducers/test_sqli_find_user.py
14:22:02.450ASSERT payload: 'admin' OR '1'='1' injected into auth query
14:22:02.780RESULT Status 200 OK — Vulnerability exploited successfully
14:22:02.990EXIT CODE 1 (Assertion matched reproducer condition)
14:22:03.110SEAL trace bundle sha256: 9e8d7c6b5a4f3e2d1c0b9a8f7e6d5c4b
Execution Time: 1,892ms
Proof Captured
Illustrative, not a live scan.
02 • Reproduction

Synthesize and execute isolated reproducers

PatchProof synthesizes targeted test scripts in sandboxed environments to verify whether reported vulnerabilities trigger in real code paths.

Deterministic statuses include REPRODUCED, NOT_REPRODUCED, INCONCLUSIVE, and EXECUTION_ERROR. Not reproduced does not automatically mean false positive.

03 • Patch Validation

Verify candidates against regressions

Run the same reproducer harness against the proposed patch commit. Ensure the security threat is neutralized while non-regression tests pass cleanly.

Verdicts include FIX_VERIFIED, PATCH_NOT_VERIFIED, REGRESSION_FAILURE, and INCONCLUSIVE. Fix verified for tested cases.

Truth Table Comparison Matrix
Target PR: #184 (Commit 3e9f1a0)
Evaluation StepVulnerable Baseline (a1b2c3d)Candidate Patch (3e9f1a0)
1. Security Reproducer REPRODUCED FIX_VERIFIED
2. Regression Suite142/142 PASSED142/142 PASSED
VerdictExploitable finding confirmedSafe to merge (for tested cases)
users.py:42|- db.execute(f"SELECT * FROM users WHERE id={id}")
+ db.execute("SELECT * FROM users WHERE id=?", (id,))
Illustrative, not a live scan.
GitHub Pull Request Security Checks
PR #192: refactor/orm-session
Regression Gate: Security Test Failed
BLOCKING MERGE

A refactor in src/database/session.py re-introduced vulnerability CVE-2024-4821 previously verified in PR #184.

❌ reproducer_test_sqli_find_user.py exited with code 1

Unit & Integration Tests

142/142 tests passing

PASSED
CI Gate: GitHub Actions webhook activeMerge prohibited until resolved
Illustrative, not a live scan.
04 • Continuous Monitoring

Pull request checks and regression prevention

Maintain continuous security posture by monitoring pull requests for regressions. If future commits reintroduce a previously patched vulnerability, checks fail immediately.

Pull-request checks run only for allow-listed repositories where automated execution permissions have been explicitly granted.

Integrations & Tooling

Works where you build

PatchProof integrates seamlessly with your existing continuous integration, scanners, and pull-request verification workflows.

Supported today:
  • Public GitHub repositories for static analysis
  • Pull-request checks on allow-listed repositories
  • SARIF and Semgrep JSON report ingestion
  • Python and JavaScript/TypeScript lockfile parsing
  • OSV vulnerability advisory matching
  • JSON, Markdown, and print-to-PDF evidence export
Git
CLI
SARIF
VM
Locks
OSV
SAST
Tests
Role-Based Workflows

Built for every role in modern software

Whether you write code, triage vulnerabilities, or maintain critical dependencies.

For developers

  • Clear findings with accurate source code context
  • Re-run the exact same test harness against your fix
  • Deterministic evidence reports you can paste directly into a pull request

For AppSec teams

  • Unified findings from multiple scanners in one dashboard
  • Empirical reproducer results instead of speculative severity debates
  • Immutable audit history of reviewer approvals and verified diffs

For maintainers

  • Quickly reproduce external security researcher bug reports
  • Verify community contributor patches without manual exploit staging
  • Preserve historical regression suites across major releases
Factual Verification

What a verification report shows

Concrete evidence with commit hashes, test oracle logs, and reproduction verdicts.

4
Verification Statuses
REPRODUCED • NOT_REPRODUCED • INCONCLUSIVE • ERROR
3
Labeled Sources
Static Scanner • Test Harness • AI Assistant
1
Evidence Report Per Fix
Cryptographic integrity hash on baseline and candidate
REPRODUCED
Exploit Active in Baseline
Tautology payload returned all table rows. Vulnerability confirmed via standard library reproducer.
FIX_VERIFIED
Fix Verified for Tested Cases
Parameterized query neutralized the injection. All 5 regression tests passed with zero errors.
PATCH_NOT_VERIFIED
Incomplete Fix Bypass Detected
Uppercase filter bypassed with lowercase 'or'. Exploit continues to trigger in test harness.
Verification Evidence Bundle
SHA-256 SEALED
Scanner

Semgrep Rule: python.sqlalchemy.security.audit

Match: users.py:42 (Commit a1b2c3d)

AST Pattern Confirmed
Test-verified

Isolated Harness: tests/reproducers/test_sqli_find_user.py

Verified Commit: 3e9f1a0 • 142/142 Regression Tests PASS

Proof Log Captured
AI-generated

Synthesized Pytest Harness & Parameterized Fix Proposal

Reviewer: @security-lead • Approved on PR #184

Human Reviewed
Integrity Hash: 8f4e2d1c9b7a...3e0fExport: proof-run-9421.json
Sandboxed Execution

Tests run in isolated, disposable workers

PatchProof never executes untrusted code on production hosts. Reproducers run inside temporary container micro-VMs constrained by strict resource quotas.

  • Dedicated workers executed per reproduction run
  • Zero external network access during test execution
  • Hard cgroup CPU, memory, process, and timeout limits
  • No host directory mounts or application secret bindings
  • Disposable overlay filesystems cryptographically wiped on exit
  • Immutable audit trail of all executed system calls and commands
Important Boundary Notice: Containers alone are not treated as a complete security boundary. Static analysis only. Test execution is disabled for repositories without explicit host permissions.
Disposable Worker Sandbox Environment
Active Container: vm-worker-04
Network

0 Network Access

Egress and ingress interfaces terminated

Resource Quota

2.0 CPU • 512MB RAM

Hard cgroup process limits enforced

Storage

Ephemeral Overlay

Cryptographically wiped on exit

Syscall Filter Audit Traceseccomp active
[syscall:socket] DENIED ➔ Operation not permitted (Network airgap)
[syscall:mount] DENIED ➔ Operation not permitted (Host protection)
[syscall:execve] ALLOWED ➔ /usr/bin/python3 -m pytest
Boundary: Ephemeral micro-VM containerAuto-destruct on completion
Illustrative, not a live scan.
Simple Roadmap

Plans for developers and security teams

Transparent capabilities designed for transparent verification. All tiers are currently in planned early access.

Free Developer

Planned

For individual engineers and open source maintainers verifying fixes locally.

What's included:
  • Public GitHub repository scanning
  • SARIF & Semgrep report ingestion
  • Local Docker worker reproducer runner
  • Standard test oracle validation
  • Community forum support

Team

Planned

For growing engineering teams establishing automated pull request verification.

What's included:
  • Everything in Free Developer
  • Automated GitHub Pull Request verification checks
  • AI patch and reproducer synthesis assistant
  • Team audit event logs & reviewer signoffs
  • Shared evidence vault & PDF export
  • Priority issue queue

Enterprise

Planned

For security compliance teams requiring self-hosted workers and strict airgaps.

What's included:
  • Everything in Team
  • Self-hosted worker nodes & custom seccomp profiles
  • Zero-egress airgapped verification clusters
  • SAML SSO & fine-grained RBAC permissions
  • Custom compliance proof retention policies
  • Dedicated technical account manager
Frequently Asked Questions

Answers about verification integrity

Get Started in Minutes

Prove your next fix

Stop arguing over false positives. Spin up deterministic reproducers and verify security patches with verifiable proof.

No credit card. Demo project included.
baseline (vuln)oracle test harnesspatch (verified)