claude-agent-sdk

Fail

Audited by Socket on Feb 15, 2026

1 alert found:

Obfuscated File
Obfuscated FileHIGH
templates/custom-mcp-server.ts

The code is not obviously obfuscated or containing an intentional backdoor, but it contains high-risk constructs if tool inputs can be controlled by an attacker or by the LLM: specifically eval(args.expression) (enables arbitrary code execution) and direct interpolation of args.location into fetch URLs (SSRF/unintended outbound requests). In its current form, this example should not be used in production without removing eval, validating/whitelisting inputs, and adding authentication and logging controls. Treat as a significant security concern rather than benign example code.

Confidence: 98%
Audit Metadata
Analyzed At
Feb 15, 2026, 07:51 PM
Package URL
pkg:socket/skills-sh/jezweb%2Fclaude-skills%2Fclaude-agent-sdk%2F@59af82f4ead4a796f27386fee7222c69d92096c4