pindou-pattern
Warn
Audited by Gen Agent Trust Hub on Sep 24, 2026
Risk Level: MEDIUMDYNAMIC_EXECUTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADSINDIRECT_PROMPT_INJECTION
Full Analysis
- [DYNAMIC_EXECUTION]: The utility script
scripts/_extract.jsuses theeval()function to process text extracted from a user-supplied file path. This mechanism poses a risk of arbitrary code execution if the script is executed against a malicious or untrusted input file.\n- [COMMAND_EXECUTION]: Thescripts/optimize.jsscript executes external binaries (codexandapizCLIs) usingexecFileSyncto facilitate image editing. The security of these operations depends on the integrity and permissions of the installed command-line tools.\n- [EXTERNAL_DOWNLOADS]: The skill downloads processed image assets from remote URLs inscripts/optimize.jsusing Node.jshttpandhttpsmodules to fetch results from AI generation tasks.\n- [INDIRECT_PROMPT_INJECTION]: Thescripts/optimize.jsscript allows user-provided prompts to be passed to external image generation models via the--promptargument, which could be used to manipulate the behavior of those remote AI services.\n - Ingestion points: The
--promptcommand-line argument inscripts/optimize.js.\n - Boundary markers: No boundary markers or ignore-embedded-instruction warnings are present in the script's handling of the prompt string.\n
- Capability inventory: The script uses
execFileSyncfor tool invocation and networking modules for external data retrieval.\n - Sanitization: The user-supplied prompt string is passed to external tools without validation or sanitization.
Audit Metadata