refactor-check
Pass
Audited by Gen Agent Trust Hub on Mar 5, 2026
Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
- [PROMPT_INJECTION]: The skill is susceptible to Indirect Prompt Injection (Category 8) as it processes untrusted data from local source code files.
- Ingestion points: The skill reads source files using
Read,Grep, andGlobtools to analyze code structure and imports. - Boundary markers: There are no explicit instructions to the agent to ignore embedded instructions or comments within the processed files.
- Capability inventory: The skill utilizes
Bashto run tests and perform file system operations (e.g.,find,sedfor auto-fixing). - Sanitization: No sanitization or validation of the content read from files is performed before processing.
- [COMMAND_EXECUTION]: The skill includes instructions for executing shell commands to modify or delete files.
- Evidence: The 'Auto Repair' section includes
sedfor batch string replacement in source files andfindwith the-deleteflag to remove empty files. - Mitigation: The YAML frontmatter attempts to restrict
Bashusage to specific test and compile commands (npm test:*,yarn test:*,npx tsc:*), which limits the execution surface compared to the examples in the documentation.
Audit Metadata