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.py and scripts/smart_batch_update.py utilize subprocess.run with shell=True while 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}") in scripts/batch_update.py and scripts/smart_batch_update.py. The skills_dir variable is derived directly from sys.argv[1] without sanitization.
  • [REMOTE_CODE_EXECUTION]: The skill implements an automated update mechanism that performs git pull operations on repositories specified in local metadata files. This creates a vector for remote code execution if a local skill's github_url metadata is modified to point to a malicious repository.
  • Evidence: scripts/batch_update.py executes git pull --rebase using the github_url field extracted from SKILL.md files 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.py reads and parses YAML frontmatter from SKILL.md files 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_url and 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.py uses git ls-remote to query remote repository states based on github_url values found in local skill files.
Audit Metadata
Risk Level
MEDIUM
Analyzed
Nov 16, 2026, 12:35 AM