skill-comply
Pass
Audited by Gen Agent Trust Hub on Jun 22, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection as it processes untrusted markdown files (skills or rules) to generate prompts and executable scenarios.
- Ingestion points:
scripts/run.pyaccepts file paths to external skills or rules for analysis. - Boundary markers: Prompt templates in the
prompts/directory use triple-dash (---) delimiters to wrap injected content. - Capability inventory: The skill executes shell commands via
subprocess.runand interacts with theclaudeCLI. - Sanitization: Although the skill uses
shlex.splitand performs path traversal checks in_safe_sandbox_dir, it does not validate the content or security of the AI-generated scenarios. - [COMMAND_EXECUTION]: The skill dynamically generates and executes shell commands (
setup_commands) within a sandbox environment. - Evidence: In
scripts/runner.py, the skill executes commands generated by an LLM inscripts/scenario_generator.py. These commands are derived directly from the content of the target skill being analyzed, allowing for potential manipulation by a malicious source file. - Subprocess calls: Multiple modules (
classifier.py,runner.py,scenario_generator.py,spec_generator.py) utilizesubprocess.runto invoke external system tools, includinggitand theclaudeCLI.
Audit Metadata