preview-my-work
Pass
Audited by Gen Agent Trust Hub on Oct 18, 2026
Risk Level: SAFECOMMAND_EXECUTIONDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The
scripts/update-preview.pyscript executes local shell commands such asgitanddaytonato interact with the repository and remote sandboxes. Within the sandbox environments, it triggerspnpm installandpnpm buildto update the application frontend.- [DYNAMIC_EXECUTION]: The update script assembles a Python program as a string and executes it on remote sandboxes usingpython3 -c. This mechanism is used to discover running server processes and migrate their configuration. The script usesshlex.quoteandreprto safely interpolate parameters, mitigating potential command injection risks.- [INDIRECT_PROMPT_INJECTION]: The skill accepts user-supplied values for thestageandrefparameters. - Ingestion points: Arguments passed to
scripts/update-preview.py. - Boundary markers: No explicit markers in instructions; input is validated by the script.
- Capability inventory: Subprocess execution for environment management and file access for receipt tracking.
- Sanitization: Strict regex validation (
[a-zA-Z0-9][a-zA-Z0-9._-]*and 40-character hex) and shell quoting are used to sanitize input before it is used in command strings.
Audit Metadata