code-refactoring
Pass
Audited by Gen Agent Trust Hub on Apr 24, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute standard development commands for validation, such as
npm test,npx tsc, andnpm run lint. It also suggests the use of platform-specific CLI tools likeask-geminiandcodex-clifor multi-agent coordination. These commands are used for their intended purpose within a software development context. - [PROMPT_INJECTION]: The skill presents an indirect prompt injection surface as it reads and modifies external source code which could contain instructions designed to influence the agent.
- Ingestion points: The skill reads source code using
Read,Grep, andGlobtools. - Boundary markers: Absent. There are no specific instructions to use delimiters or ignore instructions embedded in the code being refactored.
- Capability inventory: The skill allows for file modification via
WriteandEdittools and provides access to shell command execution for testing. - Sanitization: Absent. The skill does not define methods for sanitizing the input code to prevent potential exploitation of the agent's instructions.
Audit Metadata