sync-skills
Fail
Audited by Gen Agent Trust Hub on Mar 19, 2026
Risk Level: HIGHPROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [PROMPT_INJECTION]: The
SKILL.mdfile uses high-pressure language and imperative markers like 'CRITICAL REQUIREMENT', 'MANDATORY', and 'non-negotiable' to override the agent's logic. It specifically commands the agent to include~/.agents/skillsas a target directory even though it is missing from the script'sTARGET_DIRSlist, attempting to manipulate the agent into performing unconfigured file operations. - [COMMAND_EXECUTION]: The script
sync-skill.shperforms recursive deletion (rm -rf) and directory copying (cp -r) using paths derived from external, untrusted sources. - Path Traversal Vulnerability: In the
sync_skillsmp_pagefunction, theskill_nameis extracted from external HTML content usinggrepandsed. Because this input is not sanitized for path traversal sequences (e.g.,..), an attacker-controlled website could provide a 'skill name' that resolves to sensitive locations such as~/.sshor~/.bashrc. Whensync_to_targetsis called, it executesrm -rf "$target/$skill_name", potentially deleting critical user data or configuration files before overwriting them with content from the malicious source. - [EXTERNAL_DOWNLOADS]: The skill downloads content from arbitrary GitHub repositories and external websites (specifically skillsmp.com) without verifying the integrity or safety of the content before moving it into sensitive AI tool configuration directories.
Recommendations
- AI detected serious security threats
Audit Metadata