claude-agent-sdk-typescript

Warn

Audited by Socket on Mar 8, 2026

2 alerts found:

Anomalyx2
AnomalyLOW
references/mcp.md

The provided code is documentation and examples for configuring MCP servers; it contains no direct malicious code. However it demonstrates high-risk integration patterns: executing third-party packages via npx, forwarding environment secrets to subprocesses or remote servers, using absolute filesystem paths that expose local data, and permissive allowedTools patterns. These are legitimate features but present supply-chain and data-exfiltration risks if misused. Recommend vetting any packages run via npx, minimizing forwarded secrets, restricting allowed tools narrowly, and avoiding running untrusted MCP servers or wildcard permissions.

Confidence: 90%Severity: 60%
AnomalyLOW
references/agent-loop.md

The document itself is not malicious code; it is a specification describing how an agent SDK operates and the available tools. However, it documents powerful capabilities (shell execution, file write, network fetch, dynamic tool/agent loading) that — if enabled without strict permissions and review — enable high-risk behavior including data exfiltration, arbitrary command execution, and persistent modification of the host. Treat configuration options like permissionMode, allowedTools/disallowedTools, and maxTurns/maxBudgetUsd carefully. Enforce least privilege, require human approvals for state-changing tools in sensitive environments, and audit any dynamic tool loading.

Confidence: 90%Severity: 60%
Audit Metadata
Analyzed At
Mar 8, 2026, 01:07 PM
Package URL
pkg:socket/skills-sh/xingkaixin%2Fskills%2Fclaude-agent-sdk-typescript%2F@28e7cc995b71aef5c0840a33d43dd873198afafe