naming-refactor
Pass
Audited by Gen Agent Trust Hub on Oct 31, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The helper script "scripts/naming-ledger.py" executes local "git" commands (such as "git status" and "git ls-files") via the Python "subprocess" module to track the state of the repository and identify files for refactoring.
- [INDIRECT_PROMPT_INJECTION]: The skill's primary function involves analyzing the contents of an entire Git repository to derive a naming model. This creates a surface for indirect prompt injection where malicious content in the repository could influence the agent's refactoring decisions.
- Ingestion points: The skill reads all tracked and untracked files within the current Git repository as identified by the "naming-ledger.py" script.
- Boundary markers: No explicit delimiters are used to separate untrusted repository content from the agent's instructions during the analysis phase.
- Capability inventory: The agent has permission to edit and move files, restructure directories, and execute local shell commands through the "uv run" mechanism.
- Sanitization: Repository content is analyzed for semantic meaning without explicit sanitization or filtering of embedded instructions.
Audit Metadata