T09 · Insecure Skill Coding Practices
- Location
SKILL.md:14- Finding
Radarr API Key Stored Without Enforced Restrictive File Permissions
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
This Radarr skill is mostly coherent, but it includes destructive movie/file deletion and persistent collection monitoring that are not clearly scoped in the main description or protected by strong confirmations.
Review this carefully before installing. Use it only with a Radarr API key you are comfortable granting library mutation rights to, protect the credential file with private permissions, and be especially cautious with remove, --delete-files, and add-collection because they can delete media or enable future automatic additions.
SKILL.md:14Radarr API Key Stored Without Enforced Restrictive File Permissions
The skill invokes shell commands (bash scripts/radarr.sh ...) but does not declare corresponding permissions or capabilities in a transparent way. Hidden or undeclared execution capability reduces reviewability and can let a seemingly simple media-management skill perform broader local actions than users expect.
The documented behavior extends beyond the declared purpose by including removal of movies, optional file deletion, configuration enumeration, and collection-monitoring behavior. This mismatch is dangerous because reviewers or users may authorize the skill expecting only search/add functionality, while the skill also supports destructive and more privileged administrative actions.
The manifest description omits the movie-removal capability even though the skill documents commands for removing titles and optionally deleting files. Undisclosed destructive functionality increases the chance of accidental approval or misuse, particularly in an environment where users rely on metadata to understand risk before enabling a skill.
The skill metadata says it searches and adds movies, but the script also supports removing movies and optionally deleting associated files. This hidden destructive capability can mislead users or higher-level agents into invoking the skill in situations where they would not have granted deletion authority, increasing the risk of unauthorized or accidental data loss.
The add-collection flow silently changes collection state by enabling monitoring and searchOnAdd, which can cause future movies to be auto-added beyond the immediate user request. Because this persistence and ongoing automation are not disclosed in the skill description, users may unknowingly authorize continuing changes to their media library.
The remove command can delete media files immediately when passed --delete-files, with no confirmation, dry-run, or explicit warning. In an agentic context, a malformed instruction, prompt injection, or simple operator mistake could trigger irreversible deletion of downloaded content.
No suspicious patterns detected.