cloudflare-images
Pass
Audited by Gen Agent Trust Hub on Sep 15, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONEXTERNAL_DOWNLOADS
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill provides templates that ingest and process untrusted metadata from external images, creating a potential surface for indirect prompt injection or schema confusion.
- Ingestion points: Untrusted data enters the context through the
metadataparameter in upload functions located intemplates/upload-api-basic.tsandtemplates/direct-creator-upload-backend.ts. - Boundary markers: Absent in raw templates; implementations are responsible for isolating metadata from instructions.
- Capability inventory: The skill scripts utilize network access via
fetchto interact with the Cloudflare Images API. - Sanitization: The skill's frontend implementation correctly uses
textContentto prevent DOM XSS, though API templates rely on implementers for data sanitization. - [COMMAND_EXECUTION]: Local shell scripts are provided to automate API testing and signature generation.
- Evidence:
scripts/analyze-usage.shandscripts/generate-signed-url.shexecutecurl,openssl, andjqcommands. - Note: These scripts implement security best practices, such as unsetting sensitive environment variables like
CF_API_TOKENandCF_IMAGES_SIGNING_KEYafter use to prevent credential leakage. - [EXTERNAL_DOWNLOADS]: The skill facilitates data transfer between the local environment and well-known Cloudflare service domains.
- Evidence: Network operations target
api.cloudflare.comandimagedelivery.netfor image ingestion, management, and serving.
Audit Metadata