skill-comply
Warn
Audited by Gen Agent Trust Hub on Jun 24, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: Dynamic execution of shell commands in
scripts/runner.py\n - The function
_setup_sandboxiterates throughsetup_commandsand executes them usingsubprocess.runafter parsing withshlex.split.\n - These commands are generated by an LLM in
scripts/scenario_generator.pybased on the content of the skill or rule file provided by the user.\n - This pattern is vulnerable to indirect command injection, as a malicious input file could influence the LLM to generate harmful shell commands (e.g., file deletion or data exfiltration) that are then executed on the host system.\n- [COMMAND_EXECUTION]: Systematic use of
subprocess.runto invoke external CLI tools.\n - Several scripts (
runner.py,classifier.py,spec_generator.py,scenario_generator.py) execute theclaudeCLI to process prompts and generate outputs.\n - The
runner.pyscript also executesgit initwithin the sandbox directory.\n- [DATA_EXFILTRATION]: Processing of local configuration files.\n - The skill's primary workflow involves reading user-defined rules and agent settings (e.g., from
~/.claude/rules/) to evaluate compliance.\n - This involves ingesting potentially sensitive local information into the LLM context to generate scenarios and specifications.
Audit Metadata