cloudflare-workers
Pass
Audited by Gen Agent Trust Hub on Sep 20, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill provides an implementation example for a 'BuddyAgent' that processes untrusted data from incoming HTTP requests and interpolates it directly into an AI model prompt. This creates a surface for indirect prompt injection where an attacker could provide malicious instructions via the 'message' field in the request payload.
- Ingestion points: The
body.messagevariable is extracted fromrequest.json()in theBuddyAgentimplementation withinSKILL.md. - Boundary markers: Absent. The untrusted input is passed directly to the model as a user message without additional delimiters or instructions to ignore embedded commands.
- Capability inventory: The script has the capability to perform AI inference via
env.AI.runand query a vector database viaenv.VECTORIZE.query. - Sanitization: There is no evidence of sanitization, filtering, or validation of the input message before it is processed by the AI model.
Audit Metadata