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-image argument are resolved and read into memory in scripts/payload.ts and openai_4k_image_request.py. The skill also parses external data from API responses delivered through SSE streams in scripts/request.ts and openai_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:fs in scripts/save.ts and pathlib in openai_4k_image_request.py) and network capabilities for communicating with external endpoints (fetch in scripts/request.ts and urllib.request in openai_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
Risk Level
SAFE
Analyzed
Oct 24, 2026, 02:42 PM