gsd-path-docs-audit
Warn
Audited by Gen Agent Trust Hub on Sep 29, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill's primary methodology involves extracting "command" claims from Markdown files and executing them to verify documentation accuracy. This creates a significant surface for indirect prompt injection, as malicious project files can define arbitrary commands that the agent will execute during the audit process.
- Ingestion points: All Markdown files within the project repository being audited, specifically
SKILL.mdandLOOP.mdspecs. - Boundary markers: The skill does not define strict delimiters or safety instructions to prevent the execution of malicious commands extracted from documents.
- Capability inventory: The skill has extensive shell execution capabilities via
subprocessinscripts/loop_run.py,scripts/isolation.py, andscripts/_common.py. - Sanitization: No filtering or sanitization is performed on commands extracted from audited documentation before they are passed to a shell.
- [COMMAND_EXECUTION]: Multiple Python scripts execute shell commands through
subprocess.runandsubprocess.Popen. Notably,scripts/loop_run.pyexecutes shell commands defined in aLOOP.mdspecification file via itsrun_shellfunction. - [DYNAMIC_EXECUTION]: The script
scripts/path_config.pyusesimportlib.import_moduleto dynamically load modules. This pattern can be exploited if an attacker manages to influence the module name being loaded.
Audit Metadata