feat(enrichment): detect vulnerable lockfile drift#1703
Conversation
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review — held for maintainer review
⏸️ Held for maintainer review — Large change — held for manual review Review summary
Nits — 7 non-blocking
Review context
Contributor next steps
Signal definitions
Review detailsGenerated from public PR metadata and the diff. Advisory only; deterministic signals remain authoritative. This adds a focused REES analyzer for vulnerable lockfile-only dependency drift, wires it into the existing analyzer registry, and renders the resulting OSV findings with public-safe escaping. The main parsing paths for package-lock, Yarn, and Poetry hunks are covered, including direct-manifest exclusion and sanitizer behavior. I do not see a must-fix correctness defect in the provided post-change files, but there are a few edge cases where the parser can silently miss real drift and where the network batching could be tightened. Nits (5)
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
19101b7 to
05de82f
Compare
05de82f to
afa6838
Compare
1c2cb01 to
35aab69
Compare
35aab69 to
a00fc21
Compare
Summary
Closes #1502
Scope
type(scope): short summaryConventional Commit format, for examplefix(api): restore profile access checks.CONTRIBUTING.mdand does not reintroduce GitHub Pages, VitePress,site/, orCNAME.Validation
git diff --checknpm run actionlintnpm run typechecknpm run test:coveragelocally;codecov/patchrequires ≥97% coverage of the lines AND branches you changed (aim for 98%+ on your diff so CI variance does not fail near the threshold). Global coverage is a non-blocking trend with a loose 90% backstop, not the gate.npm run test:workersnpm run build:mcpnpm run test:mcp-packnpm run ui:openapi:checknpm run ui:lintnpm run ui:typechecknpm run ui:buildnpm audit --audit-level=moderateAdditional validation:
cd review-enrichment && npm test(107 tests)If any required check was skipped, explain why:
Safety
UI Evidencesection below with JPG/JPEG or PNG screenshots arranged as organized, captioned, clickable thumbnails. SVG screenshots are not used as review evidence. Review-only screenshots or recordings are not committed to the repository. N/A: no visible UI changes.UI Evidence
N/A: no visible UI, frontend, docs page, or extension UI changes.
Notes
ui:lintexits 0 with existing fast-refresh warnings.