skill-manager
Warn
Audited by Gen Agent Trust Hub on Sep 19, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/delete_skill.pyis vulnerable to path traversal. Theskill_dirfor deletion is constructed by joining a root path with a user-supplied skill name (Path(skills_root) / skill_name) without validating that the final path remains within the intended root. This allows for the deletion of arbitrary directories if the skill name contains traversal sequences like../../target. - [COMMAND_EXECUTION]: The
scripts/scan_and_check.pyscript usessubprocess.runto executegit ls-remoteusing URLs parsed from the metadata of installed skills. Maliciously crafted URLs (e.g., usinggitext::transport or option injection like--upload-pack) could lead to arbitrary command execution on the host machine during update checks. - [DYNAMIC_EXECUTION]: In
scripts/evo_manager.py, the skill dynamically modifies the Python search path (sys.path) to import modules from a sibling directory (../../skill-evolution/scripts). This dynamic loading pattern assumes a trusted environment layout and could be exploited to load malicious code if the filesystem structure is manipulated. - [INDIRECT_PROMPT_INJECTION]: The skill scans and processes
SKILL.mdfiles within the configuredskills_dir. These files, which could be supplied by external sources, serve as untrusted ingestion points for the URLs and skill names used in the aforementioned command execution and file operations. The scripts lacks boundary markers or sanitization to prevent metadata from triggering these vulnerabilities.
Audit Metadata