Verified remediation for npm vulnerabilities — from detection to evidence.
Scan → Verify → Prove → Report
Modern security tools are excellent at finding vulnerabilities.
But finding a vulnerability is only the beginning.
The real question is:
"If I apply this fix, can I prove that the vulnerability is gone — and that my application still works?"
Engineers often hesitate to remediate vulnerabilities because of:
- 🔔 Alert fatigue
- 💥 Fear of breaking production
- 🔄 Dependency conflicts
- 🧪 Lack of verification
- 📄 Lack of auditable evidence
Tools like npm audit, Dependabot, and Snyk help identify problems.
VeriPatch focuses on what happens next.
VeriPatch is a verification-first vulnerability remediation tool for npm projects.
Instead of simply telling you:
❌ "A vulnerability exists."
VeriPatch aims to tell you:
✅ "We applied the fix in isolation." ✅ "We independently verified the vulnerability is no longer present." ✅ "Your build and tests still pass." ✅ "Here is the evidence."
┌──────────┐
│ SCAN │
└────┬─────┘
│
▼
┌──────────┐
│ RANK │ Severity × Fix Feasibility
└────┬─────┘
│
▼
┌──────────┐
│ VERIFY │ Hardened Docker Sandbox
└────┬─────┘
│
├───────────────┐
▼ ▼
Re-scan Build + Test
│ │
└───────┬───────┘
▼
┌─────────────┐
│ REPORT │
└─────────────┘
│
▼
📄 Audit Evidence
| Capability | npm audit |
Dependabot | Snyk | VeriPatch |
|---|---|---|---|---|
| Detect known vulnerabilities | ✅ | ✅ | ✅ | ✅ |
| Severity ranking | ✅ | ✅ | ✅ | ✅ |
| Opens a fix PR | ❌ | ✅ | ✅ | ❌ |
| Runs the fix in isolation | ❌ | ❌ | ❌ | ✅ |
| Re-scans after remediation | ❌ | ❌ | ❌ | ✅ |
| Verifies vulnerability is gone | ❌ | ❌ | ❌ | ✅ |
| Runs real build & tests | ❌ | ❌ | ❌ | ✅ |
| Deterministic verdicts | ❌ | ❌ | ❌ | ✅ |
| Self-hosted | ✅ | ✅ | ❌ | ✅ |
| No account required | ✅ | ✅ | ❌ | ✅ |
Detection tells you there is a problem. Verification gives you evidence that the problem is actually solved.
Parse your project's dependency lockfile and query vulnerability intelligence from OSV.dev.
VeriPatch ranks vulnerabilities based on:
Severity × Fix Feasibility
Giving developers a prioritized remediation queue instead of an overwhelming list of alerts.
VeriPatch creates an isolated copy of your project and performs the remediation inside a hardened Docker sandbox.
Your Project
│
▼
┌─────────────────────┐
│ Isolated Copy │
│ │
│ Apply Dependency │
│ Fix │
│ │ │
│ ▼ │
│ Install Safely │
│ │ │
│ ▼ │
│ Re-scan Tree │
│ │ │
│ ▼ │
│ Build + Test │
└─────────────────────┘
The original working tree remains untouched during verification.
VeriPatch independently re-scans the resolved dependency tree.
The goal is not to assume the fix worked.
The goal is to prove the vulnerable dependency is no longer present.
Verification decisions are based on:
- Exit codes
- Independent vulnerability re-scan
- Build results
- Test results
No log-text heuristics.
Every verification can produce machine-readable and human-readable evidence.
📄 report.md
📦 report.json
Reports can capture:
- Vulnerability identity
- Original dependency state
- Applied remediation
- Verification results
- Re-scan results
- Build status
- Test status
- Final confidence verdict
This makes remediation easier to review, automate, and audit.
npm install -g veripatchveripatch doctorChecks:
- Node.js
- Docker
- Lockfile
- Network connectivity
- Environment readiness
veripatch scanGet a ranked vulnerability report in seconds.
veripatch verify GHSA-...Test the remediation inside an isolated sandbox.
veripatch update GHSA-...Apply the remediation to your working tree.
veripatch report GHSA-...Generate the report again without repeating the verification process.
Bring verified remediation directly into your CI pipeline.
- uses: actions/checkout@v4
- uses: amarjaleelbanbhan/VeriPatch@v0.1.0
with:
severity-threshold: high
fail-on: newFull workflow example:
All available Action inputs:
VeriPatch automatically detects:
| Package Manager | Scan | Verify / Update |
|---|---|---|
npm / package-lock.json v2 |
✅ | ✅ |
npm / package-lock.json v3 |
✅ | ✅ |
| Yarn Classic | ✅ | 🚧 |
| Yarn Berry | ✅ | 🚧 |
| pnpm v6 | ✅ | 🚧 |
| pnpm v9 | ✅ | 🚧 |
verifyandupdatecurrently replay fixes with npm. Yarn and pnpm projects are explicitly refused rather than risking lockfile corruption.
┌──────────────────┐
│ Developer │
└────────┬─────────┘
│
▼
┌──────────────────┐
│ VeriPatch CLI │
└────────┬─────────┘
│
┌─────────────┴─────────────┐
│ │
▼ ▼
┌─────────────┐ ┌─────────────┐
│ SCAN │ │ VERIFY │
└──────┬──────┘ └──────┬──────┘
│ │
▼ ▼
┌─────────────┐ ┌─────────────┐
│ Lockfile │ │ Docker │
│ Parser │ │ Sandbox │
└──────┬──────┘ └──────┬──────┘
│ │
▼ ▼
┌─────────────┐ ┌─────────────┐
│ OSV.dev │ │ Apply Fix │
└──────┬──────┘ └──────┬──────┘
│ │
▼ ▼
┌─────────────┐ ┌─────────────┐
│ Rule Engine │ │ Re-scan │
└──────┬──────┘ └──────┬──────┘
│ │
└─────────────┬─────────────┘
│
▼
┌──────────────────┐
│ Evidence Report │
│ MD + JSON │
└──────────────────┘
See the full architecture:
Confidence verdicts are derived from:
- Process exit codes
- Independent vulnerability re-scans
Never from fragile log-text heuristics.
👉 Read the verification architecture
Untrusted project code is executed only inside a hardened, network-restricted container.
VeriPatch provides:
- Isolated execution
- Restricted network access
- No telemetry
- No required secrets
Built for automated workflows with:
- Machine-readable
report.json - Deterministic exit codes
- Baseline mode
- CI-friendly failure policies
| Documentation | Description |
|---|---|
| CLI Reference | Commands, flags, and exit codes |
| Configuration | .veripatchrc configuration and precedence |
| Architecture | System architecture, data flow, and verification rules |
| API | report.json, ports, and OSV integration |
| Security | Threat model and sandbox guarantees |
| Contributing | Development setup and contribution guide |
| Roadmap | Shipped features and what's next |
| ADRs | Architecture decisions and technical rationale |
The current MVP includes:
- ✅ Vulnerability scanning
- ✅ Severity and fix-feasibility ranking
- ✅ Verification workflow
- ✅ Docker sandboxing
- ✅ Vulnerability re-scanning
- ✅ Build and test verification
- ✅ Evidence reports
- ✅ Markdown + JSON output
- ✅
updateworkflow - ✅ Environment diagnostics
- ✅ Caching
- ✅ GitHub Action
The CLI contract and report.json schema are considered stable, but the project is still pre-1.0.
See the roadmap for upcoming work:
VeriPatch is open source and contributions are welcome.
Whether you want to:
- 🐛 Report a bug
- 💡 Propose an idea
- 🔧 Improve the CLI
- 🧪 Add test fixtures
- 📚 Improve documentation
- 🚀 Build new integrations
Start here:
If VeriPatch is useful to you:
⭐ Star the repository
🐛 Report bugs
💡 Open feature requests
🤝 Contribute
Every contribution helps make vulnerability remediation more trustworthy.
Licensed under the Apache-2.0 License.
VeriPatch
Don't just detect vulnerabilities. Prove the fix is safe.
