refactoring-analysis
Pass
Audited by Gen Agent Trust Hub on Jun 22, 2026
Risk Level: SAFEPROMPT_INJECTION
Full Analysis
- [SAFE]: The skill's core functionality involves reading local source code and generating refactoring reports (Step 2 and Step 8 in SKILL.md). These operations are restricted to the analyzed project's directory and do not target sensitive system paths or credentials.
- [SAFE]: The included Python validation script (
scripts/validate-metadata.py) uses standard library modules (re,sys,argparse) to verify metadata formatting. It performs no network operations, subprocess executions, or file system modifications beyond standard output/error messaging. - [PROMPT_INJECTION]: The skill exhibits a surface for indirect prompt injection because it is designed to ingest and process untrusted external data from the target codebase (Ingestion points: Step 2.2 and Step 3). Capability inventory includes reading codebase files and writing a report to the
docs/_refacs/directory. While the skill's reach is limited to report generation, there are no explicit boundary markers or sanitization procedures described in the instructions to prevent maliciously crafted code comments or logic from influencing the agent's analysis or output.
Audit Metadata