refactor
Pass
Audited by Gen Agent Trust Hub on Oct 9, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructions include several shell commands intended for developer workflows. These include
git difffor inspecting changes,pnpm vitestfor running test suites, andmake typesorpnpm tscfor static analysis. While standard for development tasks, these provide the agent with broad execution capabilities within the project environment. - [INDIRECT_PROMPT_INJECTION]: The skill is susceptible to indirect prompt injection because it reads and processes external data that could be controlled by an adversary (e.g., a contributor to a pull request).
- Ingestion points: The agent ingests the output of
git diff mainandgit diff main --name-onlyas specified inSKILL.md. - Boundary markers: There are no specific delimiters or instructions defined to prevent the agent from following directives that might be embedded in the code comments or content of the diffed files.
- Capability inventory: The skill possesses file-writing capabilities (through the iterative refactoring process) and shell command execution capabilities (
git,pnpm,make). - Sanitization: The skill lacks any explicit sanitization or filtering mechanism for the data retrieved via
git diffbefore it is incorporated into the prompt context.
Audit Metadata