Skip to content

Add dependency risk scanner (nightshift deps)#121

Open
boldfield wants to merge 1 commit intomarcus:mainfrom
boldfield:feat/dependency-risk-scanner
Open

Add dependency risk scanner (nightshift deps)#121
boldfield wants to merge 1 commit intomarcus:mainfrom
boldfield:feat/dependency-risk-scanner

Conversation

@boldfield
Copy link
Copy Markdown

@boldfield boldfield commented Apr 14, 2026

Summary

  • Adds nightshift deps subcommand that scans Go module dependencies for security vulnerabilities (OSV.dev), maintenance health (GitHub API), and license risks (SPDX heuristics)
  • Results scored by severity, rendered as colored terminal output or JSON (--json)
  • Optional SQLite persistence via --save flag using new dep_scans/dep_findings tables (migration 006)

Test plan

  • go test ./internal/deps/... passes (gomod, vulns, risk scoring)
  • go test ./... all existing tests pass
  • nightshift deps --json . produces valid JSON with findings
  • nightshift deps . renders colored terminal output
  • Binary builds cleanly

Automated by nightshift

Scans Go module dependencies for security vulnerabilities (OSV.dev),
maintenance health (GitHub API), and license risks (SPDX heuristics).
Results sorted by severity with colored terminal or JSON output.
Includes SQLite persistence via --save flag.

Nightshift-Task: dependency-risk
Nightshift-Ref: https://github.com/marcus/nightshift
@boldfield boldfield force-pushed the feat/dependency-risk-scanner branch from 6888277 to ed6f511 Compare April 20, 2026 10:00
@boldfield boldfield changed the title feat(deps): add dependency risk scanner Add dependency risk scanner (nightshift deps) Apr 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant