claude-agent-sdk
Pass
Audited by Gen Agent Trust Hub on Sep 4, 2026
Risk Level: SAFEDYNAMIC_EXECUTIONCOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONEXTERNAL_DOWNLOADS
Full Analysis
- [DYNAMIC_EXECUTION]: The
calculatetool intemplates/custom-mcp-server.tsuseseval()to process user-provided strings for mathematical calculations. This pattern facilitates arbitrary code execution if the agent is directed to process a malicious expression. - [COMMAND_EXECUTION]: The skill provides numerous templates and references, such as
templates/subagents-orchestration.tsandreferences/permissions-guide.md, that demonstrate autonomousBashtool usage, enabling agents to execute shell commands directly. - [INDIRECT_PROMPT_INJECTION]: The skill defines ingestion points for external data via tools like
Read,Grep, andGlobintemplates/query-with-tools.ts, creating a surface for indirect prompt injection. The templates lack explicit boundary markers or sanitization for prompt interpolation of this external data, thoughSKILL.mddocuments an issue regarding Unicode line separator sanitization in tool results. - [EXTERNAL_DOWNLOADS]: The
scripts/check-versions.shscript fetches package metadata from the NPM registry. The skill also recommends installation of official SDK packages from the trustedanthropic-aiorganization.
Audit Metadata