T09 · Insecure Skill Coding Practices
- Location
SKILL.md:38- Finding
Untrusted TikTok content is processed without prompt-injection boundaries
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This skill has a coherent recipe-import purpose, but it can automatically write to Mealie from untrusted TikTok content without enough scoping or fetch-safety guidance.
Review before installing. Use a limited Mealie API token if possible, keep the token protected, and avoid giving it broad agent permissions. The skill should ideally add explicit confirmation before writes from ambiguous TikTok links, treat TikTok text only as untrusted recipe data, and validate redirects and image downloads before import.
SKILL.md:38Untrusted TikTok content is processed without prompt-injection boundaries
references/workflow.md:38Redirect and image-fetch instructions omit SSRF and resource-validation controls
This markdown file states that the skill imports results into Mealie and uploads a cover image, both of which can create or modify user data in an external system. The description does not include any user-facing warning about these write operations or their effect on the user's recipe library.
The skill explicitly performs state-changing actions in Mealie (creating recipes and uploading images) but does not clearly require explicit user confirmation at the point of modification or prominently warn that it will write to the user's Mealie instance. In an agent setting, this can lead to unintended data changes from ambiguous inputs such as a bare TikTok link, causing surprise writes, clutter, or incorrect recipe imports.
Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
Example:
mkdir -p ~/.openclaw/secrets
printf '%s\n' 'https://mealie.example.com' > ~/.openclaw/secrets/mealie_base_url
printf '%s\n' 'your_token_here' > ~/.openclaw/secrets/mealie_token
chmod 600 ~/.openclaw/secrets/mealie_*
Commands invoke sudo or root privileges. Verify this elevated access is necessary and justified.
mkdir -p ~/.openclaw/secrets printf '%s\n' 'https://mealie.example.com' > ~/.openclaw/secrets/mealie_base_url printf '%s\n' 'your_token_here' > ~/.openclaw/secrets/mealie_token chmod 600 ~/.openclaw/secrets/mealie_*
## Resolution order
The skill documentation says it requires a Mealie API token and suggests storing it in environment variables or local secret files. However, it does not include any warning or guidance that the skill will use this credential to access the user's Mealie account or that the token should be protected.
No suspicious patterns detected.