T09 · Insecure Skill Coding Practices
- Location
SKILL.md:20- Finding
Conflicting Auto-Archive and Confirmation Rules Can Cause Unapproved Task Deletion
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This is a simple local todo-file skill with some ambiguous data-loss edge cases but no evidence of hidden access, exfiltration, or unrelated behavior.
Before installing, set todo_file to a location you are comfortable letting the agent edit. Consider setting auto_archive_days to 0 unless you want old completed tasks removed, and ask the agent to confirm before any archive or corrupted-file recovery action.
SKILL.md:20Conflicting Auto-Archive and Confirmation Rules Can Cause Unapproved Task Deletion
Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
mkdir -p ~/clawd/skills/simple-todo
cp SKILL.md ~/clawd/skills/simple-todo/SKILL.md
Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
mkdir -p ~/clawd/skills/simple-todo
cp SKILL.md ~/clawd/skills/simple-todo/SKILL.md
The skill instructs the agent to treat a 'corrupted' todo file by backing it up and starting fresh, but it does not define where the backup goes, how corruption is determined, or require user confirmation before replacing the file. In a file-writing skill, this can lead to unintended data loss, silent overwrite, or creation of backups in unsafe or undiscoverable locations if the agent makes an incorrect judgment.
No suspicious patterns detected.