clean-code
Pass
Audited by Gen Agent Trust Hub on Nov 22, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill instructs the agent to execute local Python scripts for code auditing and testing (e.g.,
ux_audit.py,api_validator.py,lint_runner.py) located in the~/.claude/skills/directory. These scripts are used to verify code quality after edits. - [INDIRECT_PROMPT_INJECTION]: The skill processes external code files to apply refactoring principles, creating a surface for indirect prompt injection. 1. Ingestion points: User-provided source files (e.g.,
UserService.ts). 2. Boundary markers: Absent. 3. Capability inventory: File read/write/edit tools and local script execution viapython. 4. Sanitization: Absent. Malicious instructions embedded in comments or strings within the processed code could potentially influence the agent's behavior during the refactoring process.
Audit Metadata