workspace-init
Pass
Audited by Gen Agent Trust Hub on Sep 14, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The script
scripts/run.pycalculates the repository root at runtime by searching upward for anAGENTS.mdfile. It then dynamically modifiessys.pathto import thetooling.commonmodule. This represents dynamic loading from a computed path. - [INDIRECT_PROMPT_INJECTION]: The skill provides a filesystem modification surface that could be exploited if the agent is manipulated into providing an unintended target path.
- Ingestion points: The
--workspacecommand-line argument inscripts/run.py, which is derived from agent context and instructions. - Boundary markers:
SKILL.mdinstructs the agent to targetworkspaces/<name>/and explicitly warns against pointing the script at the repository root. - Capability inventory: The script uses
copy_treeto write multiple template files and directories (such asSTATUS.md,UNITS.csv, and various subdirectories) to the target location. - Sanitization: While the script uses
Path.resolve()to normalize the target path, it does not implement a check to ensure the resolved path remains within the designatedworkspaces/directory, relying instead on the agent's adherence to instructions.
Audit Metadata