theme-gen
Pass
Audited by Gen Agent Trust Hub on Mar 17, 2026
Risk Level: SAFEPROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [PROMPT_INJECTION]: The skill processes untrusted color strings and interpolates them into a system prompt in
src/index.tswithout sanitization or protective delimiters. Ingestion points: User-providedcolorsarray passed togenerateTheme. Boundary markers: None (direct template interpolation). Capability inventory: File system write capability insrc/cli.ts. Sanitization: None. This creates a surface where malicious instructions could be passed as inputs to manipulate the LLM's output. - [COMMAND_EXECUTION]: The CLI tool includes a file output capability (
-o,--output) insrc/cli.tsthat usesfs.writeFileSyncto save generated content. While intended for design tokens, the use ofpath.resolveon user-supplied paths allows the tool to write or overwrite files anywhere on the accessible file system, representing a risk in unconstrained agent environments.
Audit Metadata