ci: scan skills with SkillSpector and the skill text audit

GL
21h ago
+2971-0

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; main scans every skill and uploads SARIF.
  • Skill text audit (scripts/audit_skill_text.py, vendored from powerful-plugins#51 at the commit in scripts/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 a curl upload to a host other than stackone.com is 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

ScanResult
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 plugins0 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

FileWhy
.github/workflows/scan-skills.ymlNew. powerful-plugins' SkillSpector job without its Codex-sync dispatch input, scanning plugins/.
.github/skillspector/*, scripts/scan-skills.shFrom 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.ymlNew 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.pinThe vendored audit and the commit it came from.
README.mdA Security checks section with the local commands.
.gitignoreIgnores skillspector-reports/.

ci: commits only, so release-please does not cut a plugin release.

Merge order and post-merge validation

  1. Merge StackOneHQ/powerful-plugins#51 first, then update scripts/audit_skill_text.pin here to its squash commit (the file is byte-identical, so only the pin moves).
  2. After merge, the main runs show Scan Skills (SkillSpector) passing with 10 skills and Audit skill instructions printing Audited 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.

gateresult
forgenot run
security_scanran
codex_securityran
security_reviewran
code_reviewran
eng_reviewnot run
demonot run
local_stacknot run