Skip to content

Claude Agent SDK policy index

30 rules — 17 tool · 8 agent · 2 subagent · 3 repo

Risk score = severity_weight × confidence × 100 (engine formula; weights: low=0.15, medium=0.40, high=0.70). Higher = worse.

Id SDK/ADK Scope Applies To Policy Severity Confidence Risk Source
1 CSDK-001 Claude SDK tool claude_sdk_tool Tool has no description low 0.95 14.3 tool_definition.yaml
2 CSDK-002 Claude SDK tool claude_sdk_tool Tool parameters are not type-annotated medium 0.90 36.0 tool_definition.yaml
3 CSDK-003 Claude SDK tool claude_sdk_tool Network call has no timeout high 0.85 59.5 network.yaml
4 CSDK-004 Claude SDK tool claude_sdk_tool Path parameter used in I/O without validation high 0.70 49.0 path_safety.yaml
5 CSDK-005 Claude SDK tool claude_sdk_tool Tool raises exceptions without a structured error contract low 0.60 9.0 error_handling.yaml
6 CSDK-006 Claude SDK tool claude_sdk_tool Mutating tool has no idempotency key medium 0.55 22.0 idempotency.yaml
7 CSDK-007 Claude SDK tool claude_sdk_tool Ambiguous tool name low 0.90 13.5 tool_definition.yaml
8 CSDK-008 Claude SDK tool claude_sdk_tool Tool exposes **kwargs without explicit input_schema medium 0.80 32.0 tool_definition.yaml
9 CSDK-009 Claude SDK tool claude_sdk_tool Tool fetches a caller-controlled URL (SSRF) high 0.60 42.0 ssrf.yaml
10 CSDK-010 Claude SDK tool claude_sdk_tool TypeScript Claude SDK tool shells out to the OS high 0.70 49.0 shell_safety.yaml
11 CSDK-011 Claude SDK tool claude_sdk_tool TypeScript Claude SDK tool evaluates dynamic code high 0.90 63.0 code_execution.yaml
12 CSDK-012 Claude SDK tool claude_sdk_tool TypeScript Claude SDK tool writes to the filesystem low 0.50 7.5 path_safety.yaml
13 CSDK-013 Claude SDK tool claude_sdk_tool TypeScript Claude SDK tool fetches a caller-controlled URL (SSRF) high 0.60 42.0 ssrf.yaml
14 CSDK-014 Claude SDK tool claude_sdk_tool TypeScript Claude SDK tool has no description low 0.90 13.5 tool_definition.yaml
15 CSDK-016 Claude SDK tool claude_sdk_tool TypeScript Claude SDK mutating tool has no idempotency key medium 0.50 20.0 idempotency.yaml
16 CSDK-101 Claude SDK agent claude_agent_definition Claude subagent is granted the Bash tool high 0.80 56.0 agent_safety.yaml
17 CSDK-102 Claude SDK agent claude_agent_definition Claude subagent is granted the WebSearch tool medium 0.80 32.0 agent_safety.yaml
18 CSDK-103 Claude SDK agent claude_agent_definition AgentDefinition sets permissionMode to bypassPermissions high 0.90 63.0 agent_safety.yaml
19 CSDK-104 Claude SDK agent claude_agent_definition Claude subagent is granted filesystem-write built-ins high 0.80 56.0 agent_safety.yaml
20 CSDK-105 Claude SDK agent claude_agent_definition Claude subagent is granted the WebFetch tool high 0.75 52.5 agent_safety.yaml
21 CSDK-107 Claude SDK tool claude_sdk_tool Tool body calls eval/exec/compile on dynamic input high 0.85 59.5 code_execution.yaml
22 CSDK-108 Claude SDK tool claude_sdk_tool Tool body spawns a subprocess high 0.70 49.0 shell_safety.yaml
23 CSDK-110 Claude SDK subagent claude_subagent Subagent granted the built-in Bash tool high 0.90 63.0 subagent_safety.yaml
24 CSDK-111 Claude SDK subagent claude_subagent Subagent granted filesystem-write or web-fetch built-ins high 0.85 59.5 subagent_safety.yaml
25 CSDK-120 Claude SDK agent claude_agent_definition TypeScript AgentDefinition sets permissionMode to bypassPermissions high 0.90 63.0 agent_safety.yaml
26 CSDK-130 Claude SDK agent claude_query_main TypeScript query() main agent is granted the Bash tool high 0.80 56.0 agent_safety.yaml
27 CSDK-131 Claude SDK agent claude_query_main TypeScript query() main agent is granted filesystem-write or web-fetch built-ins high 0.75 52.5 agent_safety.yaml
28 CSDK-201 Claude SDK repo claude_sdk Project default permission mode bypasses approvals high 0.90 63.0 repo.yaml
29 CSDK-202 Claude SDK repo claude_sdk Session permission mode bypasses approvals high 0.90 63.0 repo.yaml
30 CSDK-203 Claude SDK repo claude_sdk Repo ships Claude Agent SDK code without an agent-guidance doc (AGENTS.md/CLAUDE.md) low 0.90 13.5 repo_hygiene.yaml