Security review: destructive deletes + never-ask autonomy + unpinned remote run in the skill (chain-confirmed)
Hi, sorry if my words seem a bit off — I'm just a normal user and a follower of your work, not a dev, and I'm definitely not here with any attitude or to act superior. I ran a security scanner over a local copy of the graphify skill for my own setup, and I found a couple of things worth mentioning. Just letting you know, and if anything I say comes across as offensive, I'm sorry.
What I ran: SkillSpector five times (static scan, no LLM), score 100, CRITICAL, 13 issues, coverage 88.9% (one component uninspected) — and all five runs produced exactly the same 13 flags, so this isn't scanner noise. The items below are the ones that stayed real across the chain.
-
Destructive deletes in the skill's own instructions —
rm -f graphify-out/.graphify_cached.json(SKILL.md:369),rm -f graphify-out/.graphify_detect.json(SKILL.md:645),rm -f graphify-out/.needs_update(SKILL.md:647), andrm -f graphify-out/.graphify_old.json(references/update.md:209). The skill tells the agent to delete files. They're scoped to its owngraphify-out/cache dir, so it's not deleting user files — but an agent following these instructions runsrm -fwithout asking. -
Never-ask autonomy — SKILL.md:53, :55 ("Do not ask the user"), SKILL.md:165 ("Never ask the user"), references/add-watch.md:27 ("automatically run"). The skill instructs the agent to act without confirming with the user, including around the deletes above.
-
Unpinned remote run —
uv tool run --from graphifyy(SKILL.md:73, :89) with no version pinned. A future bad publish would flow straight into installs. -
Coverage gap — references/exports.md was only partially inspected (the scanner flags it as an incomplete referenced artifact), so one part of the skill wasn't fully checked.
What I'd suggest: pin the uv tool run version, add a confirmation step before the rm -f deletes (or at least scope them explicitly and say why they're safe), and soften the never-ask wording so the agent asks before destructive operations. The rest of the skill reads fine to me — it's these spots that deserve the edit. I'm happy to share the full scanner output if it's useful.
No rush on any of this, and thank you for building the tool — it's genuinely useful.
Thanks for opening this issue, @ujjwalD16. A maintainer will take a look soon.
If you would like to discuss it in real time, come say hi on our Discord server. For longer-form questions and ideas there is also GitHub Discussions.
To help us triage, please make sure the report includes what you expected, what actually happened, and the steps (and a small sample) to reproduce it.
Two of these findings are easy to keep fixed once they are fixed, because they are plain text patterns in the skill files.
The rm -f calls look fine as they stand, since all four stay inside graphify-out/. The risk is a later edit adding one that doesn’t. The unpinned uv tool run --from graphifyy is the real exposure, and #5259 looks like it addresses it. A check in CI would stop either from coming back:
version: 1
id: skill-safety
title: Skill instructions stay pinned and scoped
description: Skill files run only pinned packages and delete only inside graphify-out/.
select:
glob: ['**/SKILL.md', '**/references/*.md']
assert:
- id: pinned-remote-run
description: uv tool run names a pinned version.
error: Pin the version, e.g. graphifyy==x.y.z.
grep: 'uv tool run --from graphifyy(?!==)'
- id: deletes-stay-in-cache
description: rm -f targets only the graphify-out/ cache.
error: Delete only inside graphify-out/, or ask the user first.
grep: 'rm -f (?!graphify-out/)'
That is Agentests format (disclosure: it s a repo I currently work on); a short grep script in CI would do the same job. I left the “never ask the user” wording out on purpose. Whether a given line is acceptable depends on what step it covers, so it needs a reviewer and not a regex.