DepRisk
Dependency vulnerability scanner
Own productIn development
Connect GitHub repos and get a risk score and triage-ready vulnerability list for their npm and PyPI dependencies, plus a reusable CI action.
The problem
Small teams rarely track known vulnerabilities in their dependencies, and enterprise scanners are more than they need.
My role
Solo developer.
Stack
TypeScriptExpressReactPostgreSQLOSV.devGitHub Actions
Approach
- GitHub OAuth app flow with repo scope so private repositories can be scanned; sessions in a signed httpOnly cookie.
- Scans npm and PyPI manifests, resolves transitive dependencies from package-lock.json and Pipfile.lock, and batch-queries OSV.dev.
- Weighted risk score per repo (critical ×10, high ×5, medium ×2, low ×1), a trend chart across scans, and alerts on new critical vulnerabilities.
- OpenAPI spec as the single source of truth, generating Zod schemas and typed React Query hooks with Orval; Drizzle ORM on PostgreSQL.
- The scanner is also packaged as a zero-dependency GitHub Action that reports findings as a job summary and a single PR comment.
Outcome
- The dashboard and the CI action share the same scanning logic.