skill-comply
Fail
Audited by Gen Agent Trust Hub on Apr 11, 2026
Risk Level: HIGHCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/runner.pyfile executes shell commands defined insetup_commandsusingsubprocess.run. These commands are dynamically generated by an LLM inscripts/scenario_generator.pybased on the content of the file being analyzed. Whileshlex.splitis used to prevent shell-based injection, the commands themselves are unvalidated and derived from external input.- [REMOTE_CODE_EXECUTION]: The skill facilitates remote code execution by automating the generation and execution of setup scripts. An attacker providing a malicious rule or skill file could influence the LLM to output dangerous command sequences (e.g., network exfiltration or system modification) that the skill then executes.- [PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection. It ingests untrusted files to generate 'compliance specs' and 'scenarios' without sufficient sanitization or instruction boundaries. A malicious file could include instructions that subvert the generation logic to create harmful test cases or setup steps.- [DATA_EXFILTRATION]: While not directly exfiltrating data, the combination of command execution and the ability to read arbitrary files for 'compliance testing' provides a high-surface area for data harvesting if the LLM generation process is compromised by a malicious input file.
Recommendations
- AI detected serious security threats
Audit Metadata