claude-agent-sdk
Pass
Audited by Gen Agent Trust Hub on Nov 11, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADSCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill provides instructions for building autonomous agents that ingest untrusted data while having access to high-impact tools.
- Ingestion points: The
query()function accepts arbitrary user prompts, and custom MCP servers can ingest data from external APIs or files (SKILL.md). - Boundary markers: The provided code examples and templates do not utilize explicit delimiters or instructions to ignore embedded commands within the processed data.
- Capability inventory: Agents can be configured with powerful tools such as
Bash,Write,Edit, andRead. Furthermore, the SDK supports abypassPermissionsmode which skips all interactive safety checks (SKILL.md). - Sanitization: The skill recommends using Zod schemas for tool input validation and demonstrates how to implement custom permission logic using the
canUseToolcallback. - [EXTERNAL_DOWNLOADS]: The skill references and downloads software packages from trusted organizations and well-known technology services.
- Evidence: Instructions include installing the
@anthropic-ai/claude-agent-sdkfrom Anthropic and various@modelcontextprotocolservers. It also links to official documentation ondocs.claude.comand GitHub repositories maintained by theanthropicsorganization. - [COMMAND_EXECUTION]: The skill documents the use of the
Bashtool andnpxcommands for orchestrating agent capabilities and running MCP servers.
Audit Metadata