skill-comply
Warn
Audited by Gen Agent Trust Hub on Mar 26, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes shell commands on the host machine via
subprocess.runinscripts/runner.py. These commands (setup_commands) are dynamically generated by an LLM inscripts/scenario_generator.pybased on the content of files being analyzed. Whileshlex.splitis used to prevent basic shell injection, the logic of the command itself is determined by an LLM processing untrusted content. - Evidence:
scripts/runner.pyline 92:subprocess.run(parts, cwd=sandbox_dir, capture_output=True) - [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection via the files it processes to generate compliance benchmarks.
- Ingestion points:
scripts/spec_generator.pyandscripts/scenario_generator.pyread the content of skill/rule files provided by the user via command-line arguments. - Boundary markers: Absent. The prompts used for spec and scenario generation do not contain delimiters or instructions to ignore embedded commands within the skill content being analyzed.
- Capability inventory:
subprocess.runcalls inscripts/runner.pyfor setup commands;claude -pexecution withBash,Write, andEdittool access. - Sanitization: Uses
shlex.splitand path sanitization for the sandbox directory, but lacks content validation or isolated execution environments (like containers or VMs) for the generated commands.
Audit Metadata