typescript-sdk
Pass
Audited by Gen Agent Trust Hub on Mar 11, 2026
Risk Level: SAFEEXTERNAL_DOWNLOADSCOMMAND_EXECUTIONREMOTE_CODE_EXECUTIONPROMPT_INJECTION
Full Analysis
- [EXTERNAL_DOWNLOADS]: The
inkeep addcommand pulls project templates and MCP server code from the official Inkeep GitHub repository (github.com/inkeep/agents). This is an intended feature for bootstrapping agent projects. - [COMMAND_EXECUTION]: The
inkeep updatecommand executes shell commands via package managers (npm, pnpm, yarn, bun) to manage the CLI version. The documentation includes instructions for usingsudoto resolve permission issues during global installations. - [REMOTE_CODE_EXECUTION]: The SDK supports
functionTooldefinitions that execute JavaScript code within isolated sandboxes. These tools can load dependencies from the project's environment usingrequire(), which is necessary for integrating custom business logic and third-party APIs. - [PROMPT_INJECTION]: The documentation describes how to ingest data from external webhooks and HTTP headers. This creates an indirect prompt injection surface. The SDK mitigates this by providing built-in support for Zod schemas to validate and structure incoming data.
- [PROMPT_INJECTION]: Indirect injection analysis:
- Ingestion points: Untrusted data enters the agent context through webhook triggers (
webhooks-triggers-overview.md), HTTP headers (headers-passing-context.md), and context fetchers (context-fetchers-overview.md). - Boundary markers: The system utilizes
{{placeholder}}template syntax for data interpolation into prompts. - Capability inventory: Agents can execute arbitrary logic in sandboxes (
functionTool), perform network requests, and interact with external systems via MCP tools. - Sanitization: The SDK enforces structured data validation using Zod and JSON Schema to ensure incoming payloads match expected formats before processing.
Audit Metadata