sub2api-4k-image-generator-ts
Pass
Audited by Gen Agent Trust Hub on Oct 24, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill possesses an attack surface for indirect prompt injection by processing external data with high-privilege capabilities.
- Ingestion points: Local file paths provided via the
--input-imageargument are resolved and read into memory inscripts/payload.tsandopenai_4k_image_request.py. The skill also parses external data from API responses delivered through SSE streams inscripts/request.tsandopenai_4k_image_request.py. - Boundary markers: While the skill uses structured JSON for API requests, it lacks explicit boundary markers or instructions within the prompts to prevent the agent from following directives potentially embedded within processed data.
- Capability inventory: The skill utilizes file system access for reading and writing files (
node:fsinscripts/save.tsandpathlibinopenai_4k_image_request.py) and network capabilities for communicating with external endpoints (fetchinscripts/request.tsandurllib.requestinopenai_4k_image_request.py). - Sanitization: The skill performs standard base64 encoding for image data but does not sanitize text prompts or validate the content of files read from the local system against potential injection attacks.
Audit Metadata