Security report: Discord DMs
We scan every connector on a schedule and publish what we found, how we looked, and what we do not look at. A grade is a summary; the evidence below is the whole picture.
Security C 0 critical, 27 high, 26 medium CVE(s)
- Scanned version
- 39622af0333b
- Ecosystem
- git
- Last scanned
- 2026-12-03
Scanners that ran: osv-scanner osv-scanner version: 2.0.0, trivy Version: 0.58.1
What was checked
Includes what we do not cover. A check marked skipped did not run for this connector and is not counted as passed.
Checked
Known vulnerabilities (CVE and GHSA advisories)
Vulnerability databases refresh automatically, so re-scanning an unchanged version still surfaces newly published advisories.
Checked
Known-malicious package versions (OpenSSF MAL advisories)
A hit here is an instant F grade.
Checked
Full dependency tree and licenses recorded
Every direct and transitive package with its version is published with the result. Link detail depends on what the lockfile records.
Not applicable
Suspicious code patterns (exfiltration, install-script payloads, obfuscation, typosquatting)
Heuristic, so hits are signals rather than proof. Not yet run on Go, git-pinned, Maven or container connectors.
Not covered
MCP tool poisoning (hidden instructions in tool descriptions, lookalike tools)
Planned. It requires starting the connector, so it waits for the sandbox decision (see ADR 0001, Consequences).
Not applicable
Install and resolve without running third-party code
Dependency trees are resolved lockfile-only with install scripts disabled, so scanning never executes the package.
Not covered
Malicious instructions inside tool responses at runtime
Description-level scanning cannot see attacks carried in responses. This is a runtime concern for the desktop client and gateway.
Not covered
Prebuilt binaries and unresolvable sources
Graded as not-graded (?) rather than guessed at.
Findings (61)
Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default
Anthropic's MCP TypeScript SDK has a ReDoS vulnerability
@modelcontextprotocol/sdk: @modelcontextprotocol/server: Model Context Protocol TypeScript SDK: Denial of service via memory exhaustion from crafted HTTP requests
@modelcontextprotocol/sdk: @modelcontextprotocol/client: Model Context Protocol TypeScript SDK: Sensitive information disclosure via cross-origin redirects
lodash: lodash: Arbitrary code execution via untrusted input in template imports
lodash: prototype pollution in _.unset and _.omit functions
undici: undici: Certificate validation bypass via dropped TLS options in Agent
undici: undici: Denial of Service due to unbounded memory growth via WebSocket frames
undici: undici: Denial of Service via unbounded memory consumption during WebSocket permessage-deflate decompression
undici: undici: Denial of Service via crafted WebSocket frame with large length
undici: undici: Denial of Service via unrequested WebSocket subprotocol
undici: Undici: Denial of Service via invalid WebSocket permessage-deflate extension parameter
undici: undici: Denial of Service via TLS renegotiation with mismatched certificate
undici: Undici Uses Insufficiently Random Values
undici: undici: Denial of Service via memory exhaustion in EventSource client
undici: undici: Denial of Service via unbounded WebSocket PONG buffering
undici: undici: HTTP header injection via unvalidated blob-like body type property
undici: Undici: HTTP Request Smuggling and Denial of Service due to duplicate Content-Length headers
undici: Undici: HTTP header injection and request smuggling vulnerability
undici: undici: Response desynchronization via retry interceptor with mismatched Content-Length
undici: Undici: Cookie attribute injection allows bypassing security protections
undici: Undici: Denial of Service via excessive decompression steps
undici: undici vulnerable to HTTP header injection via Set-Cookie percent-decoding
undici: Undici Memory Leak with Invalid Certificates
undici: undici: Weakening of cookie SameSite policy due to incorrect parsing of Set-Cookie header
undici: undici: HTTP response splitting via retry interceptor
undici: Undici: Response queue poisoning on reused keep-alive sockets can lead to incorrect response delivery.
ws: Memory exhaustion DoS via unbounded automatic pong responses
ws: ws: Denial of Service via memory exhaustion from small WebSocket fragments
ws: ws: Uninitialized memory disclosure via `websocket.close()` with `TypedArray`
MCP TypeScript SDK: One HTTP request within the default size limit could exhaust server memory during validation
MCP TypeScript client SDK: HTTP client transports and OAuth requests followed cross-origin redirects and re-sent custom headers and request bodies
Anthropic's MCP TypeScript SDK has a ReDoS vulnerability
Model Context Protocol (MCP) TypeScript SDK does not enable DNS rebinding protection by default
lodash vulnerable to Code Injection via `_.template` imports key names
Lodash has Prototype Pollution Vulnerability in `_.unset`, `_.omit`, and `_.pullAt` functions
undici vulnerable to TLS certificate validation bypass via dropped tls options in Agent
Undici has an HTTP Request/Response Smuggling issue
undici vulnerable to HTTP response queue poisoning via keep-alive socket reuse
Undici has CRLF Injection in undici via `upgrade` option
undici vulnerable to Denial of Service via unbounded memory in the EventSource parser
undici vulnerable to downstream response desynchronization via retry interceptor
undici WebSocket client vulnerable to Denial of Service via unbounded automatic PONG buffering
Use of Insufficiently Random Values in undici
undici Denial of Service attack via bad certificate data
Undici: Malicious WebSocket 64-bit length overflows parser and crashes the client
undici vulnerable to Set-Cookie SameSite attribute downgrade via permissive substring matching
Undici has an unbounded decompression chain in HTTP responses on Node.js Fetch API via Content-Encoding leads to resource exhaustion
undici vulnerable to CRLF Injection via blob-like body 'type' property
undici vulnerable to HTTP header injection via Set-Cookie percent-decoding
undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiation
undici vulnerable to downstream response splitting via retry interceptor
undici vulnerable to Denial of Service via unrequested WebSocket subprotocol
undici vulnerable to cookie attribute injection via unsanitized domain and unparsed setCookie fields
Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validation
Undici has Unbounded Memory Consumption in WebSocket permessage-deflate Decompression
undici WebSocket client vulnerable to denial of service via fragment count bypass
ws: Memory exhaustion DoS via unbounded automatic pong responses
ws: Uninitialized memory disclosure
ws: Memory exhaustion DoS from tiny fragments and data chunks
Zod can exhaust memory while validating oversized constrained collections
Dependencies (40)
@modelcontextprotocol/sdk 1.3.0 direct
@types/node 20.17.14 direct
discord.js 14.17.3 direct
dotenv 16.4.7 direct
zod 3.24.1 direct
@discordjs/builders 1.10.0
@discordjs/collection 1.5.3
@discordjs/collection 2.1.1
@discordjs/formatters 0.6.0
@discordjs/rest 2.4.2
@discordjs/util 1.1.1
@discordjs/ws 1.2.0
@sapphire/async-queue 1.5.5
@sapphire/shapeshift 4.0.0
@sapphire/snowflake 3.5.3
@types/ws 8.5.13
@vladfrangu/async_event_emitter 2.4.6
bytes 3.1.2
content-type 1.0.5
depd 2.0.0
discord-api-types 0.37.117
fast-deep-equal 3.1.3
http-errors 2.0.0
iconv-lite 0.6.3
inherits 2.0.4
lodash 4.17.21
lodash.snakecase 4.1.1
magic-bytes.js 1.10.0
raw-body 3.0.0
safer-buffer 2.1.2
setprototypeof 1.2.0
statuses 2.0.1
toidentifier 1.0.1
ts-mixer 6.0.4
tslib 2.8.1
undici 6.19.8
undici-types 6.19.8
unpipe 1.0.0
ws 8.18.0
zod-to-json-schema 3.24.1