skill-manager
Warn
Audited by Gen Agent Trust Hub on Nov 16, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The scripts
scripts/batch_update.pyandscripts/smart_batch_update.pyutilizesubprocess.runwithshell=Truewhile interpolating variables directly from command-line arguments. This allows for potential command injection if the target directory path contains shell metacharacters. - Evidence:
run_command(f"python3 {scan_script} {skills_dir}")inscripts/batch_update.pyandscripts/smart_batch_update.py. Theskills_dirvariable is derived directly fromsys.argv[1]without sanitization. - [REMOTE_CODE_EXECUTION]: The skill implements an automated update mechanism that performs
git pulloperations on repositories specified in local metadata files. This creates a vector for remote code execution if a local skill'sgithub_urlmetadata is modified to point to a malicious repository. - Evidence:
scripts/batch_update.pyexecutesgit pull --rebaseusing thegithub_urlfield extracted fromSKILL.mdfiles during a scan of the local skills directory. - [INDIRECT_PROMPT_INJECTION]: The skill architecture ingests untrusted metadata from a local directory to drive high-privilege operations like network communication and file system updates without adequate verification.
- Ingestion points:
scripts/scan_and_check.pyreads and parses YAML frontmatter fromSKILL.mdfiles in every subdirectory of the provided root path. - Boundary markers: Absent; the script assumes the integrity of the local metadata files and their corresponding GitHub URLs.
- Capability inventory: The skill can perform network requests via Git, write to local files, and recursively delete directories using
shutil.rmtree. - Sanitization: Absent; metadata fields like
github_urland directory names are used as parameters for shell commands and file operations without validation. - [DATA_EXFILTRATION]: The skill contains logic to query and fetch data from arbitrary remote repositories based on local configuration files, which can be misused as a communication channel to external servers.
- Evidence:
scripts/scan_and_check.pyusesgit ls-remoteto query remote repository states based ongithub_urlvalues found in local skill files.
Audit Metadata