Skip to content

Add verification policy rules - #72

Merged
CoderSufiyan merged 1 commit into
mainfrom
feat/verification-policy
Aug 9, 2026
Merged

Add verification policy rules#72
CoderSufiyan merged 1 commit into
mainfrom
feat/verification-policy

Conversation

@CoderSufiyan

Copy link
Copy Markdown
Owner

Summary

  • add verification policy support for npm packages and GitHub repositories
  • allow approved package names, publishers, repositories, and hosts with wildcard patterns
  • require pinned commit SHAs for GitHub targets
  • block install scripts and findings at configured severities
  • support suppression entries with rule IDs, locations, reasons, and ISO expiry dates
  • report policy violations separately from scanner findings
  • integrate with the versioned verification report model
  • CLI --policy <file> option with exit code 4 on policy failure

Verification

  • bun run test (54 tests)
  • bun run build
  • live CLI policy test against mcp-risk@0.4.0 and esbuild@0.25.0

Closes #29

@CoderSufiyan
CoderSufiyan merged commit a18dc04 into main Aug 9, 2026
5 checks passed
@CoderSufiyan
CoderSufiyan deleted the feat/verification-policy branch August 9, 2026 16:47
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.

Add verification policy rules

1 participant