refactor

Pass

Audited by Gen Agent Trust Hub on Jun 6, 2026

Risk Level: SAFECOMMAND_EXECUTIONPROMPT_INJECTION
Full Analysis
  • [COMMAND_EXECUTION]: Executes project-specific shell commands such as 'npm test', 'bun test', 'pytest', and 'tsc' to verify code changes during the refactoring process.\n- [COMMAND_EXECUTION]: Utilizes file modification tools including 'lsp_rename', 'ast_grep_replace', and 'edit' to apply structural changes to the codebase.\n- [PROMPT_INJECTION]: Accesses and processes user-provided source code files, which introduces a potential for indirect prompt injection if those files contain malicious instructions. The skill addresses this risk with strict planning, dry-run previews, and mandatory post-execution verification.
Audit Metadata
Risk Level
SAFE
Analyzed
Jun 6, 2026, 10:32 AM
Security Audit — agent-trust-hub — refactor