refactor
Pass
Audited by Gen Agent Trust Hub on Aug 24, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill processes untrusted code and documentation from the local repository, creating a potential attack surface for indirect prompt injection. Malicious instructions embedded within target files could influence the agent's decision-making process during the automated refactoring and review cycles.
- Ingestion points: File content is read via the
Readtool inSKILL.mdandreferences/target-detection.mdfor target classification and complexity scoring. - Boundary markers: None defined. The instructions do not utilize specific delimiters or isolation techniques to separate data being processed from the agent's internal logic.
- Capability inventory: The skill possesses high-privilege capabilities including
Edit,Write, andBashfor filesystem modification and analysis. - Sanitization: Path validation is correctly implemented in
references/target-detection.mdto prevent unauthorized file access, but there is no sanitization of file content for potential embedded instructions.
Audit Metadata