psd-component-splitter
Pass
Audited by Gen Agent Trust Hub on Sep 28, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill processes user-provided
layer-tree.jsonfiles which creates a surface for indirect prompt injection if design metadata contains malicious instructions. - Ingestion points: The
load_jsonfunction inscripts/split_components.pyingests external design structures. - Boundary markers: The skill lacks explicit instructions for the AI to ignore instructions embedded within the design data.
- Capability inventory: The script possesses file-writing capabilities through
Path.write_textand file-copying throughshutil.copy2. - Sanitization: The generators in
scripts/react_generator.pyandscripts/vue_generator.pycorrectly utilizehtml.escapefor text layers andsanitize_component_namefor class names to prevent structural injection during code generation. - [DYNAMIC_EXECUTION]: The skill performs dynamic code generation, creating JSX and Vue SFC files based on design metadata.
- The generation logic in
scripts/react_generator.pyandscripts/vue_generator.pyassembles strings into executable source files. - This behavior is the primary intended function of the skill and is handled via templates and sanitization.
Audit Metadata