ci: scan skills with SkillSpector and the skill text audit
GL
21h ago+2971+2971+0123456789012345678901234567890123456789-0-0-0123456789
agent-plugins had no skill security scan in CI: validate.yml only ran plugin validate and the Defender tests. This PR adds the two scans our other marketplaces run, on every PR and on main:
- SkillSpector (NVIDIA), pinned and configured exactly as in StackOneHQ/powerful-plugins (
.github/skillspector/,scripts/scan-skills.sh). A PR fails when a changed skill scores as high risk;mainscans every skill and uploads SARIF. - Skill text audit (
scripts/audit_skill_text.py, vendored from powerful-plugins#51 at the commit inscripts/audit_skill_text.pin, where three Codex security passes hardened it). It reads the instructions each skill gives the agent. Guardrail-evasion text, a download run by a shell (piped,bash -c "$(curl ...)"or<(curl ...)) and an unreadable file fail; an unpinned package run or acurlupload to a host other thanstackone.comis a warning annotation. It audits each plugin a PR changes, including a new or repointed catalog entry. A second step fails if the vendored copy differs from powerful-plugins at the pin.
Picked by s2d2's Agent meta watch at Guillaume Lebedel's request.
Results on this repository today
| Scan | Result |
|---|---|
SkillSpector, all 10 skill folders (SKILL_ROOTS=plugins scripts/scan-skills.sh all) | Result: PASS. The two Defender skills raise P1 and P6 errors because they describe prompt injection, and stay under the fail threshold. |
| Skill text audit, 7 catalog plugins | 0 failing, 2 warnings: the Connect Sessions and RPC examples in stackone-connect and stackone-connectors open a JSON body that closes on a later line, so the audit cannot prove every destination is StackOne. Warnings only. |
Files
| File | Why |
|---|---|
.github/workflows/scan-skills.yml | New. powerful-plugins' SkillSpector job without its Codex-sync dispatch input, scanning plugins/. |
.github/skillspector/*, scripts/scan-skills.sh | From powerful-plugins: hash-pinned SkillSpector and its runner, with pydantic 2.14.4 and truststore 0.10.5 (CVE fixes Aikido reported; no other pin moved). The runner here also treats a root plugin.json as a plugin root, so the Antigravity plugin's scripts/ is scanned, and reads changed paths unquoted. |
.github/workflows/validate.yml | New skill-text-audit job. Also sets persist-credentials: false on the existing validate checkout, which Aikido flagged. |
scripts/audit_skill_text.py, scripts/audit_skill_text.pin | The vendored audit and the commit it came from. |
README.md | A Security checks section with the local commands. |
.gitignore | Ignores skillspector-reports/. |
ci: commits only, so release-please does not cut a plugin release.
Merge order and post-merge validation
- Merge StackOneHQ/powerful-plugins#51 first, then update
scripts/audit_skill_text.pinhere to its squash commit (the file is byte-identical, so only the pin moves). - After merge, the
mainruns showScan Skills (SkillSpector)passing with 10 skills andAudit skill instructionsprintingAudited 7 local plugins: 0 failing, 2 warnings.
🤖 Generated with Claude Code
Review gates and proof
Recorded by s2d2 on 35cc8f6. Kind of change: high risk.
| gate | result |
|---|---|
| forge | not run |
| security_scan | ran |
| codex_security | ran |
| security_review | ran |
| code_review | ran |
| eng_review | not run |
| demo | not run |
| local_stack | not run |