pixelcraft-tokens
Pass
Audited by Gen Agent Trust Hub on Nov 25, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill includes a local utility script,
scripts/export-tokens.mjs, which processes design tokens into platform-specific code. This script performs data transformation using Node.js and can write the results to a local directory. - [INDIRECT_PROMPT_INJECTION]: The token exporter ingests user-supplied JSON files. This creates an attack surface where an agent might process data from external files, which is a common vector for indirect prompt injection if the source files are untrusted.
- Ingestion points:
scripts/export-tokens.mjsreads the JSON input file path provided as a command-line argument. - Boundary markers: No explicit delimiters are used in the processed JSON token files to isolate potential instructions.
- Capability inventory: The exporter uses
fs.readFileSyncfor input andfs.writeFileSyncfor output, allowing file system access within the paths provided by the user. - Sanitization: The script performs data transformation (such as color space conversion) but does not specifically sanitize the input values for embedded instructions.
Audit Metadata