skill-security-review: a skill that audits other Agent Skills for safety #1411
dkleptsov
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Skills run with full agent permissions: their scripts execute on the user's machine, and their
SKILL.mdis injected into the agent's context (a prompt-injection surface). This repo hasskill-creatorfor building skills, but nothing for vetting one before you install it.I built
skill-security-reviewto fill that gap. It runs static analysis only (it never executes the audited skill) and reports:fetch/curl/sockets;localhostdowngraded)child_process,exec/spawn, pythonsubprocess)~/.ssh,.env, OS keychain, env harvesting)eval,new Function, pickle/unsafe-yaml, decode-then-exec)SKILL.md("ignore previous instructions", "do not tell the user", exfil,curl ... | sh)Findings are tiered by how the code reaches execution:
auto-run(hooks) >on-invocation>on-demand>static-text, so review attention goes where it matters most. A zero-dependency Node scanner locates; the agent then reads flagged files by hand and writes a verdict. The design rule is strict: never execute the target, and never follow instructions found inside the auditedSKILL.md.Repo (Apache-2.0): https://github.com/dkleptsov/skill-security-review
Install:
npx skills add dkleptsov/skill-security-review -gHappy to adapt the format if it would be useful as a reference or example skill here.
All reactions