cleanup-code
Pass
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_CONTEXT_INJECTIONREMOTE_CODE_EXECUTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes untrusted codebase data through automated agents with significant file system and shell capabilities. This creates a risk surface where malicious instructions embedded in source code could influence agent behavior during cleanup tasks.\n * Ingestion points: The skill accesses codebase files and directory structures via
Read,Glob, andGreptools.\n * Boundary markers: Lacks explicit delimiters or specific instructions for the agent to ignore embedded prompts within the source code being analyzed.\n * Capability inventory: Possesses significant capabilities including file modification viaWriteandEdit, and scoped command execution throughBashfor tools likegit,npm,npx,pnpm,python3,tsc,wc, andls.\n * Sanitization: Codebase content is processed without explicit filtering for potential adversarial instructions.\n- [DYNAMIC_CONTEXT_INJECTION]: TheSKILL.mdfile executes shell commands at load time to gather repository state and project configuration.\n * Evidence: The skill usesgit rev-parse --show-toplevel,ls package.json, andcat package.jsonto detect the environment and display context to the agent.\n- [REMOTE_CODE_EXECUTION]: The skill usesnpxto dynamically download and execute various static analysis and cleanup tools from the NPM registry.\n * Evidence: The documentation andtools.mdreference executingnpx knip,npx madge,npx jscpd, andnpx depcruisefor code analysis.
Audit Metadata