Repository navigation
A sprint signs off only with its dependencies audited: gate-final runs the stack's audit tool (M10.2b) - #119
Merged
Conversation
…s the stack's audit tool (M10.2b) bin/audit runs cargo audit, npm audit --audit-level=high, pip-audit and govulncheck for each manifest that declares a dependency, and blocks on a finding and on a tool that is not installed (the message names the install command). gate-final runs it after the secret scan. The human chose "Required" on the decision card. Test: scripts/test/dependency-audit.test.py (7 checks, tools stubbed; red without bin/audit). Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_015QxyVf3NgwsgRyYpBgDDTC
adeelahmad
marked this pull request as ready for review
November 19, 2026 06:09
adeelahmad
pushed a commit
that referenced
this pull request
Nov 20, 2026
…1 branch Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FeZyj7etMNXP3NuHLWrd4u
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by Adeel · project thread
Before: the final gate checked behaviour, suppressions and secrets, but never whether the project's dependencies carry a known vulnerability.
After:
gate-finalalso runs the stack's own audit tool for each manifest that declares a dependency, and the sprint does not sign off on a finding. The tools are:cargo auditnpm audit --audit-level=highpip-audit -r FILE(requirements files) orpip-audit .(pyproject)govulncheck ./...A tool that is not installed also blocks, and the message names the command that installs it. A manifest with no dependency needs no audit. This is the "Required" option you picked on the decision card.
How:
plugin/bin/audit run [--root DIR]finds manifests with the same parsers asdeps, skipsnode_modules,vendorandtarget, audits every stack before answering, and exits 2 on any failure._gatelib.shgetsassert_dependency_audit, andgate-finalcalls it as step 1c, right after the secret scan.secretsdoes.audit.toml,.npmrc). The gate never waives one itself.Evidence:
scripts/test/dependency-audit.test.pyhas 7 checks with the tools stubbed. It fails withoutbin/audit.gate-finalblocks on a vulnerable dependency and passes once it is clean.make ciin CI's mode, without the bundled Rust tools: 82/82 pass.Open (recorded in ROADMAP M10): a host that lacks a tool blocks every sprint with dependencies until the tool is installed. The cost on the next live run with dependencies is still to measure.
Generated by Claude Code