architecture-single-responsibility-principle
Pass
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill identifies and analyzes external source code to generate refactoring reports, which creates a potential surface for instructions hidden in code comments or metadata to influence the agent's output.
- Ingestion points: The skill uses
Glob,Grep, andReadtools to ingest project files for analysis. - Boundary markers: The skill defines a specific output report format but does not include explicit delimiters or instructions to ignore potential commands embedded within the analyzed source code.
- Capability inventory: The skill utilizes
Bashexecution, AST-based code searching, and external metric tools (radon,pylint) to perform its analysis. - Sanitization: There is no evidence of sanitization or filtering of the ingested code content before it is processed and summarized in the final report.
- [EXTERNAL_DOWNLOADS]: The
SKILL.mddocumentation recommends the installation ofradonandpylintusingpip. These are well-known, standard tools from the official Python Package Index (PyPI) used for code complexity and linting analysis. - [COMMAND_EXECUTION]: The skill includes a shell script (
scripts/detect-patterns.sh) that usesmcp-clito invoke code analysis tools. The script interpolates the project path directly into a JSON payload, which could present a risk if used with paths containing malicious shell or JSON characters.
Audit Metadata