Skip to content

docs: correct the SkillSpector claim, measured - #65

Merged
garymike merged 1 commit into
mainfrom
fix/skillspector-calibration-framing
Sep 8, 2026
Merged

garymike merged 1 commit into
mainfrom
fix/skillspector-calibration-framing

Conversation

@garymike

@garymike garymike commented Sep 8, 2026

Copy link
Copy Markdown
Owner

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_score of 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:

fixture carrier SkillSpector classification score exit
gecko-demo reviewer.test.ts typescript, Executable: Yes 73/100 HIGH, DO NOT INSTALL 1
gecko-hook-demo .husky/pre-commit other, Executable: No 28/100 MEDIUM, CAUTION 0
benign-skill util.test.ts typescript, Executable: Yes 0/100 SAFE 0

SkillSpector blocks half this surface. It finds the payload in both carriers (in the hook it reports PE3 credential access at 90% confidence and E1 external 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 commit runs 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.md gets 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-demo and clear gecko-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): PASSED
  • a v2.5.0 build (SKILLSPECTOR_REF=34f6030): PASSED

The 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

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]>
@garymike
garymike merged commit cc782fe into main Sep 8, 2026
9 checks passed
@garymike
garymike deleted the fix/skillspector-calibration-framing branch September 8, 2026 01:38
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]>
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