photocraft-cli-layers
Pass
Audited by Gen Agent Trust Hub on Oct 13, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes external JSON command plans (
craft-command-plan/v1) and project files (.pcraft), which inherently represents an attack surface for indirect prompt injection. However, this is the primary intended function of the tool. The skill implements extensive mitigations including strict schema validation, project hash verification (expectedProjectSha256), and path sanitization to ensure that operations remain within authorized boundaries. - [EXTERNAL_DOWNLOADS]: The skill uses
npx skills addto fetch and install related components such asphotocraft-harnessfrom thefull-aigc-skillsorganization. This is a standard and documented procedure within the platform's ecosystem for managing modular skill dependencies from a known author. - [COMMAND_EXECUTION]: The skill executes a native command-line interface (
photocraft-cli) using Python wrapper scripts (workflow.py,commands.py). These executions are carefully managed, using the-I -Bflags for the Python interpreter to isolate the environment and relying on a fixed catalog of commands (commands.json) to prevent the execution of arbitrary or unassigned operations.
Audit Metadata