cloudflare-vectorize
Pass
Audited by Gen Agent Trust Hub on Sep 26, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill's RAG and ingestion templates (
templates/rag-chat.ts,templates/document-ingestion.ts) present a surface for indirect prompt injection. - Ingestion points: The
POST /ingest/urlendpoint indocument-ingestion.tsallows fetching content from arbitrary external URLs. - Boundary markers: The LLM prompts constructed in
rag-chat.tsuse simple markdown-like headers (Context: ${context}) which do not reliably isolate retrieved data from system instructions. - Capability inventory: The templates leverage
env.AI.runto process instructions andfetchto retrieve external data. - Sanitization: Sanitization is limited to regex-based HTML tag removal, which is insufficient to strip malicious prompt instructions from ingested content.
- [DATA_EXFILTRATION]: The
document-ingestion.tstemplate contains afetch(body.url)implementation. This creates a Server-Side Request Forgery (SSRF) surface, as a malicious user could provide internal URLs or use the worker to proxy requests to external domains, potentially leading to unauthorized data access or exfiltration of environment information.
Audit Metadata