refactor-agents
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes content from
AGENTS.md, which is an external data source that could contain malicious instructions designed to influence the agent's behavior during the refactoring process. - Ingestion points: The content is loaded from
AGENTS.mdusing theReadtool in Step 1. - Boundary markers: The instructions do not define specific delimiters or instructions for the agent to ignore embedded commands within the content being analyzed.
- Capability inventory: The skill uses
Write,Edit, andSkilltools, which could be misused if the agent obeys instructions hidden within the source file. - Sanitization: There is no explicit sanitization or validation of the content being moved between the root file and sub-files, relying instead on the agent's interpretation of the provided templates.
Audit Metadata