Repository navigation
fix(skill-gate): correct the differentiator to enforce-vs-advise (SkillSpector v2.3+ now reports this surface) - #35
Merged
Conversation
…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].
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 & why
Building the skill-auditor E2E surfaced that SkillSpector v2.3+ now scans bundled
.husky/andpackage.jsonfiles 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, andgate-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
skill-testfile-gatefails the build (exit 1). And the research SOTA still excludes the surface by scope (arXiv 2601.10338 / 2607.02357) — that part holds.gate-proof.shAdd 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.[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 correctedgate-proof.shagainst the freshly-built image.