T09 · Insecure Skill Coding Practices
- Location
SKILL.md:78- Finding
Silent Destructive Deletion of a Local Backup File
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill has a coherent ClawHub publishing purpose, but it automates local file deletion, desktop input, clipboard changes, and public MIT-0 publication without enough confirmation.
Review this skill before installing. Use it only when you intentionally want an agent to publish a local skill to ClawHub, and manually verify the folder contents, account, license, and final publish action. Avoid running it on folders with important backup files unless the deletion step is removed or explicitly confirmed.
SKILL.md:78Silent Destructive Deletion of a Local Backup File
SKILL.md:113Unscoped GUI Keystrokes and Destructive Clipboard Replacement
SKILL.md:179Publication Under MIT-0 Without Explicit License Confirmation
The trigger phrases are broad and map to very common publishing requests, so the skill may auto-activate in situations where the user did not intend this specific high-privilege workflow. Because the skill performs local file operations and GUI automation, accidental invocation is more dangerous than for a read-only or low-privilege skill. The surrounding context increases risk because the triggers can launch actions that modify local files and interact with authenticated web sessions.
The skill goes beyond normal web publishing by deleting a local file and using GUI/clipboard automation to drive a system file picker. Those capabilities can affect local state outside the browser, and if the provided path is wrong, manipulated, or reused in a broader automation context, they could delete unintended files or interact with the wrong window/dialog. The context is a publishing workflow, which makes the behavior understandable, but it still expands the attack surface significantly compared with pure browser automation.