Repository navigation
docs: correct the SkillSpector claim, measured - #65
Merged
Merged
Conversation
The docs said SkillSpector "has no fail-on mode" and "exits 0 regardless". Both are false, and had been since at least v2.3. It gates on exit code: exit 1 above a risk_score of 50. Measured against our own fixtures, on the pinned v2.3.11 and on v2.5.0 (identical results): gecko-demo reviewer.test.ts typescript / Executable: Yes 73/100 exit 1 gecko-hook-demo .husky/pre-commit other / Executable: No 28/100 exit 0 benign-skill util.test.ts typescript / Executable: Yes 0/100 exit 0 So SkillSpector blocks half this surface. It finds the payload in both carriers (PE3 credential access at 90% confidence in the hook too), but classifies a git hook as non-executable, so the score stays under its own threshold. The differentiator is carrier coverage, not enforcement versus advice, and it is narrower than what we published. Reframed accordingly in the README, walkthrough, threat model, references, threat profile, both fixtures, the Dockerfile and the gate header. Added a dated correction under the 1.3.1 changelog entry rather than editing the record. gate-proof.sh #4 now pins both halves: SkillSpector must block gecko-demo and clear gecko-hook-demo. The old one-sided assertion could not have caught this. Verified passing against both images. Co-Authored-By: Claude Opus 5 <[email protected]>
This was referenced Sep 8, 2026
garymike
added a commit
to garymike/security-agents
that referenced
this pull request
Sep 8, 2026
Same correction as garymike/security-workflows#65. The example said SkillSpector "advises only, no fail-on mode." It is not advisory: it gates on exit code, exit 1 above a risk_score of 50, and it blocks the same payload class in a .test.ts carrier at 73/100. It clears this example's .husky/pre-commit carrier at 28/100, measured here on the digest-pinned image, because it classifies a git hook as non-executable. The outcome the example asserts was right; the reason given for it was not. verify.sh's assertion is unchanged and still passes (exit 0). Only its rationale and its check-2 label were wrong. Both halves of the coverage gap are pinned upstream in security-workflows tests/gate-proof.sh #4. Co-authored-by: Claude Opus 5 <[email protected]>
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.
What was wrong
The docs claimed SkillSpector "has no fail-on mode" and "exits 0 regardless." Both are false, and had been since at least v2.3. It gates on exit code: exit 1 above a
risk_scoreof 50.The differentiator was real but the explanation was not, and the explanation is what the README, walkthrough, threat model and threat profile all led with.
What is actually true
Measured against our own fixtures, on the pinned v2.3.11 and on a throwaway v2.5.0 build. Identical results:
gecko-demoreviewer.test.tstypescript,Executable: YesDO NOT INSTALLgecko-hook-demo.husky/pre-commitother,Executable: NoCAUTIONbenign-skillutil.test.tstypescript,Executable: YesSAFESkillSpector blocks half this surface. It finds the payload in both carriers (in the hook it reports
PE3credential access at 90% confidence andE1external transmission), but it classifies a git hook as non-executable, so the whole-skill score stays under its own threshold and it exits 0.The gap is carrier classification, not a missing feature.
git commitruns that hook with full local permissions.What changed
Reframed from "scanners advise, we enforce" to the measured claim: scanner coverage of the developer-execution surface is carrier-dependent, and the gate covers every carrier. Touched the README, the Gecko walkthrough, the threat model, references, the threat profile, both fixture headers, the Dockerfile and the gate script header.
CHANGELOG.mdgets a dated correction note under the 1.3.1 entry rather than a rewrite of the record.Why it will not drift again
gate-proof.sh#4 was one-sided: it only asserted SkillSpector exits 0 on the hook fixture. That assertion never failed, and could not have caught this.It now pins both halves. SkillSpector must block
gecko-demoand cleargecko-hook-demo. A change in either direction goes red and forces a re-measure before the docs are trusted again.Verification
Full proof run locally against both images, all nine assertions:
ghcr.io/garymike/security-workflows/skill-audit-toolbox:latest(pinned v2.3.11): PASSEDSKILLSPECTOR_REF=34f6030): PASSEDThe v2.5.0 run also clears the way for the deferred pin bump: nothing in the proof depends on staying at v2.3.11.
Follow-up
The classification finding is now a real, reproducible upstream issue worth filing with NVIDIA: identical payloads score 73 and 28 depending only on whether the carrier is typed executable. That is a separate PR.
🤖 Generated with Claude Code