refactor-context
Pass
Audited by Gen Agent Trust Hub on Nov 11, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill identifies and refactors instruction, agent, and skill files, which involves reading and interpreting potentially untrusted content from the workspace or global configuration directories. This ingestion of external data creates a surface where embedded malicious instructions could influence the agent during the refactoring process.
- Ingestion points: The skill reads files from the local workspace and the global
~/.copilot/directory (SKILL.md). - Boundary markers: There are no explicit markers or 'ignore' instructions used to delimit the content being analyzed from the agent's task instructions.
- Capability inventory: The skill requires the agent to interpret the logic and intent of external files to perform compression and optimization.
- Sanitization: Input content is processed without prior sanitization or validation of embedded commands or instructions.
Audit Metadata