safeguard
Pass
Audited by Gen Agent Trust Hub on Nov 28, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses local shell commands via
Bashto manage project state during the refactoring process. - It creates a
.runedirectory and copies configuration files (tsconfig.json,.eslintrc*,package-lock.json) to create a frozen baseline. - It performs git operations (
git add,git commit,git tag) to establish rollback points before code modifications. - [DYNAMIC_EXECUTION]: The skill generates and writes test scripts to
tests/char/that capture the current behavior of the code. - The instructions direct the agent to construct TypeScript/JavaScript/Python test files based on the analyzed module interfaces.
- While the skill does not execute these tests directly, it prepares them for subsequent verification steps in the refactoring pipeline.
- [INDIRECT_PROMPT_INJECTION]: The skill has an attack surface for indirect prompt injection because it ingests and processes untrusted project source code.
- Ingestion points: Reads module files, imports, and interface definitions through the
Readtool and thescoutskill (SKILL.md, Execution Steps 1 & 2). - Boundary markers: The skill adds its own boundary markers (e.g.,
@legacy,@do-not-touch) to code but does not implement sanitization for markers or data extracted from the code it processes. - Capability inventory: Uses
Writefor test creation,Editfor source modification, andBashfor git and filesystem operations. - Sanitization: There is no explicit sanitization or validation of the code content or module names before they are used in test generation or shell commands.
Audit Metadata