Skip to content

fix(skill-gate): correct the differentiator to enforce-vs-advise (SkillSpector v2.3+ now reports this surface) - #35

Merged
garymike merged 1 commit into
mainfrom
fix/skillspector-reframe
Jul 13, 2026
Merged

garymike merged 1 commit into
mainfrom
fix/skillspector-reframe

Conversation

@garymike

Copy link
Copy Markdown
Owner

What & why

Building the skill-auditor E2E surfaced that SkillSpector v2.3+ now scans bundled .husky/ and package.json files and reports the developer-execution payload (a HIGH credential-access finding). So the platform's sharpest claim — "no scanner covers this surface / SkillSpector passes it clean" — was outdated, and gate-proof.sh #4 was a false-green: it read SkillSpector's exit code (0) and called it "clears," but SkillSpector reports findings and exits 0 regardless.

The honest correction

  • The gate still differentiates — as enforce vs advise. SkillSpector has no fail-on mode, so it exits 0 even on a HIGH finding; a CI pipeline gating on exit codes lets the skill through. skill-testfile-gate fails the build (exit 1). And the research SOTA still excludes the surface by scope (arXiv 2601.10338 / 2607.02357) — that part holds.
  • gate-proof.sh Add mcp-review-toolbox: pinned scanner image, action, and CI #4 now asserts behavior, not exit code: the gate exits nonzero (enforces) while SkillSpector exits 0 (advises). A false-green made true — and it fails loudly if SkillSpector ever grows a gating mode.
  • Re-framed the README lead, the Gecko walkthrough, the two fixture comments, and the Dockerfile.
  • CHANGELOG [1.3.1].

Verified

Directly: gate on gecko-hook-demo → exit 1 (blocks); SkillSpector on the same → exit 0 while reporting HIGH; SkillSpector's CLI has no --fail-on/severity/exit-code flag. CI runs the corrected gate-proof.sh against the freshly-built image.

…ter SkillSpector evolved

SkillSpector v2.3+ now scans bundled .husky/ and package.json files and *reports* the developer-execution
payload (a HIGH credential-access finding) -- but it exits 0 (no fail-on mode), so a CI gate on exit codes still
lets the skill through. The old "no scanner covers this surface / SkillSpector passes it clean" claim was
outdated, and gate-proof.sh #4 was reading SkillSpector's exit code (0) and mislabeling it "clears" (a
false-green -- SkillSpector reports findings and exits 0 regardless).

- gate-proof.sh #4 now asserts behavior, not exit code: the gate exits nonzero (enforces) while SkillSpector
  exits 0 (advises). A false-green proof made true.
- Re-framed README, docs/gecko-vector-walkthrough.md, the two fixture comments, and the Dockerfile from
  "no scanner sees it" to "scanners advise; the gate enforces (exit 1, fails the build)". The research SOTA
  still excludes the surface by scope (arXiv 2601.10338 / 2607.02357) -- that part holds.
- CHANGELOG [1.3.1].
@garymike
garymike merged commit 52289f1 into main Jul 13, 2026
9 checks passed
@garymike
garymike deleted the fix/skillspector-reframe branch July 13, 2026 15:31
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