skills-management
Pass
Audited by Gen Agent Trust Hub on Oct 6, 2026
Risk Level: SAFECOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPRIVILEGE_ESCALATIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/skill-managerutility executes several shell commands to manage files and directories, includingmkdir,cat,rm, andchmod. These commands are used to scaffold new skill structures and maintain the local environment. - [REMOTE_CODE_EXECUTION]: The
installcommand inscripts/skill-managerdelegates tonpx skills add, which fetches and executes theskillspackage from the npm registry. This represents a remote code execution vector typical of package management tools but poses a risk if the package is untrusted or compromised. - [PRIVILEGE_ESCALATION]: When creating new skills,
scripts/skill-managerautomatically applieschmod +xto newly generated scripts in thescripts/directory, elevating their permissions to executable status. - [DYNAMIC_EXECUTION]: The
validatecommand inscripts/skill-managerexecutes scripts (specifically testing for--helpsupport) to ensure compliance with repository conventions. It also generates new shell scripts from templates at runtime. - [INDIRECT_PROMPT_INJECTION]: The skill's primary function is to ingest and manage external skill definitions from marketplaces (e.g.,
skillsmp.com) and GitHub repositories, which is a significant attack surface for indirect prompt injection. - Ingestion points:
references/finding-skills.mdandscripts/skill-managerprovide workflows for searching and installing skills from arbitrary external sources. - Boundary markers: The automation scripts do not include programmatic boundary markers, but the documentation in
references/finding-skills.mdprovides a manual security audit checklist for users. - Capability inventory: The skill has full capability to write files, modify permissions, delete skill directories, and execute remote code via Node.js package runners.
- Sanitization: The management script validates naming conventions using a kebab-case regex but does not perform content sanitization on installed skills.
Audit Metadata