notque/vexjoy-agent / skills/review/review
review
UnverifiedCode review: systematic single-file, parallel multi-reviewer, full-repo audit, PR diff review.
references/reviewer-system/dependency-audit.md
View on GitHub# Dependency Audit Review
Detect vulnerable, deprecated, unlicensed, and unnecessary dependencies across Go, Python, and Node.js.
## Expertise
- **CVE Detection**: govulncheck (Go), npm audit (Node.js), pip-audit/safety (Python)
- **License Analysis**: GPL/AGPL compatibility, MIT/Apache/BSD permissiveness, conflicts
- **Deprecation Detection**: Archived repos, deprecated markers, unmaintained packages
- **Transitive Risks**: Deep dependency trees, unnecessary transitive deps, phantom dependencies
- **Version Pinning**: Exact vs range, lockfile integrity, reproducible builds
- **Supply Chain Security**: Typosquatting, maintainer changes, package hijacking
### Hardcoded Behaviors
- **CVE Zero Tolerance**: Every known CVE reported regardless of exploitability assessment.
- **Evidence-Based**: Every finding includes CVE ID, advisory URL, or concrete evidence.
### Default Behaviors (ON unless disabled)
- Vulnerability scanning (language-appropriate scanner)
- License compatibility check for direct dependencies
- Deprecation/archived package detection
- Unused dependency detection (declared vs actual imports)
- Lockfile verification (exists, committed, matches declarations)
### Optional Behaviors (OFF unless enabled)
- **Fix Mode** (`--fix`): Update vulnerable deps, remove unused
- **Deep Transitive Audit**: Full transitive tree analysis
- **SBOM Generation**: Software Bill of Materials
## Output Format
```markdown
## VERDICT: [CLEAN | VULNERABILITIES_FOUND | CRITICAL_CVES]
## Dependency Audit: [Scope]
### Critical CVEs
1. **[CVE-ID]** - `dependency@version` - CRITICAL
- **Advisory**: [URL]
- **Description**: [What the vulnerability allows]
- **Fixed In**: [version]
- **Remediation**: `go get dependency@fixed-version`
### License Issues
1. **[License Concern]** - `dependency` - HIGH
- **License**: [GPL / AGPL / unknown]
- **Conflict**: [Why incompatible]
### Deprecated/Unmaintained
1. **[Package]** - `dependency@version` - MEDIUM
- **Status**: [Archived / No updates since YYYY / Deprecated]
- **Alternative**: [Replacement]
### Summary
| Category | Count | Severity |
|----------|-------|----------|
| Critical CVEs | N | CRITICAL |
| High CVEs | N | HIGH |
| License conflicts | N | HIGH |
| Deprecated packages | N | MEDIUM |
| Unused dependencies | N | LOW |
**Recommendation**: [BLOCK MERGE / FIX CVES / APPROVE WITH NOTES]
```
## Anti-Rationalization
| Rationalization | Why Wrong | Required Action |
|-----------------|-----------|-----------------|
| "CVE isn't exploitable for us" | Exploitability is hard to assess | Report and fix |
| "Just a dev dependency" | Dev deps can compromise build pipeline | Report supply chain risk |
| "License is fine for internal" | Internal today, open source tomorrow | Fix conflicts now |
| "Package works, ignore deprecation" | No security updates = growing risk | Plan migration |
| "Too many deps to audit" | Audit what you can, automate the rest | Run scanners, flag results |
## Patterns to Detect
### Ignoring Transitive CVEs
"CVE is in a transitive dep we don't use directly." Transitive deps are still in your binary/bundle. Report all CVEs, note whether the vulnerable function is in your call path.
### Accepting "We'll Upgrade Later"
Deferring CVE fixes to a future sprint. Known vulnerabilities are active risk. Report as CRITICAL/HIGH.
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| rea-analysis-optimizationmorluto/reaOptimize REA providers and shared analysis workflows for agent context, latency, CPU, and memory while preserving correctness and Evidence. Use for analysis bottlenecks and cache or query design; CI/test-suite optimization belongs to rea-ci-tests-audit. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-ci-tests-auditmorluto/reaAudit REA CI and test suites for correctness, fixture drift, false passes, and measured performance; use for suite or workflow investigations and efficiency changes, rather than ordinary feature testing or a single test failure. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| rea-tool-designmorluto/reaAudit, investigate, design, or change REA investigation tools, CLI/MCP contracts, provider capabilities, and Evidence semantics. | Stars: 472k | Updated | Claude CodeCodex | Verified | Install |
| ponytail-auditDietrichGebert/ponytailQuality audit of the whole repo: bugs, security, real load, missing tests, speed, and what to delete. Most important first. | Stars: 194k | Updated | Claude CodeCodex | Verified | Install |