skill-map
Pass
Audited by Gen Agent Trust Hub on Aug 4, 2026
Risk Level: SAFECOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The script
scripts/skill-map.pyexecutes theripgrep(rg) utility usingsubprocess.run. This is used to perform high-performance file searches for skill definitions and references. The implementation follows security best practices by using argument lists rather than shell strings and enforcing strict validation on skill names via regular expressions.\n- [PROMPT_INJECTION]: The skill scans local files to discover skill references, creating an ingestion surface for potentially untrusted data.\n - Ingestion points: The
discover_skillsandsearch_patternfunctions inscripts/skill-map.pyread content from local files throughout the scanned directories.\n - Boundary markers: The skill instructions and documentation (
references/ignore-policy.md) explicitly define a default ignore policy for high-volume and sensitive directories (e.g., VCS, build outputs, and agent state files).\n - Capability inventory: The skill possesses the capability to execute the
rgcommand and read local file contents.\n - Sanitization: User-provided skill names are validated against a restricted regular expression (
^[a-z0-9](?:[a-z0-9-]{0,62}[a-z0-9])?$) before being processed.
Audit Metadata