T09 · Insecure Skill Coding Practices
- Location
SKILL.md:10- Finding
Unquoted File Paths May Enable Shell Command or Option Injection
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill has a coherent personal screenshot-saving purpose, but it can automatically preserve shared images, edit notes, and create reminders from broad triggers without clear pre-action confirmation.
Install only if you want screenshots shared in matching contexts to be automatically saved into local notes, summarized, pattern-logged, and paired with reminders. Avoid using it for sensitive screenshots unless you first narrow the trigger, require confirmation before writes, and ensure file paths are handled safely with sanitized names and structured file operations.
SKILL.md:10Unquoted File Paths May Enable Shell Command or Option Injection
The skill description is broad enough to trigger on ordinary screenshot-sharing behavior such as sending an image with casual context like 'save this.' That increases the chance the agent will activate without clear user intent and then perform side effects such as storing files and modifying notes, which can lead to unauthorized persistence of sensitive content.
The workflow says 'When Enzo shares a screenshot with comments, execute this workflow' without requiring confirmation, scoping rules, or exceptions. Because the workflow includes copying files, editing multiple notes, and setting reminders, underspecified triggering can cause unintended actions and durable changes from ambiguous conversational input.
The skill automatically copies inbound images, updates several files, logs patterns, and always creates a reminder, but this behavior is not clearly disclosed up front. Hidden or insufficiently signaled side effects are dangerous because users may share screenshots expecting analysis only, while the agent silently persists possibly sensitive content and creates additional records and tasks.
No suspicious patterns detected.