convex-backend
Pass
Audited by Gen Agent Trust Hub on Oct 29, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSDATA_EXFILTRATION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The
generateResponseaction inconvex/ai.tscreates an attack surface for indirect prompt injection by ingesting and processing external data. - Ingestion points: The
promptargument in thegenerateResponsehandler (file:convex/ai.ts). - Boundary markers: None present; the prompt is interpolated directly into the LLM request body.
- Capability inventory: The skill possesses network access capabilities via
fetchand database write capabilities viactx.runMutation(file:convex/ai.ts). - Sanitization: The implementation lacks input validation or output sanitization before storing the AI-generated response back into the database.
- [EXTERNAL_DOWNLOADS]: The skill uses standard package management commands to install the
convexlibrary (npm install convex) and bootstrap projects (npm create convex@latest). These are standard operations for building with the Convex framework. - [DATA_EXFILTRATION]: The skill makes a network request to Anthropic's official API endpoint (
https://api.anthropic.com/v1/messages). This is a well-known service and the request is used to provide the primary AI functionality described in the documentation.
Audit Metadata