typed-holes-refactor
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFECOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill makes extensive use of the
subprocessmodule to interact with the system environment. - Multiple scripts (e.g.,
validate_resolution.py,check_foundation.py,check_production.py) executepytestto run tests on the codebase. holes_to_beads.pyinteracts with thebd(Beads) CLI tool to create and update issues.discover_holes.pyandgenerate_report.pyexecutegitandradoncommands to analyze repository state and code complexity.- [EXTERNAL_DOWNLOADS]: The documentation (
README.mdandSKILL.md) instructs the user to install thebeadstool viago install github.com/steveyegge/beads/cmd/bd@latest. This is a remote download and installation of an external binary from a third-party repository not on the trusted vendor list. - [DYNAMIC_EXECUTION]: The
validate_resolution.pyscript dynamically identifies and executes Python test files based on thehole_idprovided at runtime. Specifically, it usesPath("tests/refactor").glob(f"test_{self.hole_id.lower()}_*.py")to select files which are then passed topytest. This could lead to the execution of arbitrary test code generated during the refactoring process. - [INDIRECT_PROMPT_INJECTION]: The skill's primary function is to ingest and analyze an entire codebase to identify "holes" for refactoring.
- Ingestion points: The
discover_holes.pyscript parses and analyzes the codebase at the project root. - Boundary markers: There are no explicit delimiters or instructions in the generated
REFACTOR_IR.mdto ignore malicious instructions embedded in the analyzed code. - Capability inventory: The skill possesses capabilities for file writing (
REFACTOR_IR.md), git branch manipulation, and arbitrary code execution viapytest. - Sanitization: The
holes_to_beads.pyscript performs minimal sanitization on data extracted from theREFACTOR_IR.md(e.g., slicing strings) before passing them as arguments to thebdcommand line.
Audit Metadata