Togoder security

npm package security report

undici npm package 8.11.2: is it safe?

No malicious code found; minor notes only.

Low risk Version 8.11.2 Files reviewed 113 Size 1.3 MB Scanned

Summary

Togoder Security scanned the npm package undici@8.11.2 on Nov 2, 2026. An AI review of 113 source files produced 4 low severity findings. No malicious behavior was identified; the low-severity notes are informational.

0
critical
0
high
0
medium
4
low

Findings 4

Login to view the findings

What the code does, the file and line, and the recommendation are for signed-in users. Logging in is free.

Files reviewed

FileVerdictResult
lib/dispatcher/proxy-agent.js low 1 finding
lib/llhttp/llhttp-wasm.js low 1 finding
lib/llhttp/llhttp_simd-wasm.js low 1 finding
lib/web/fetch/formdata-parser.js low 1 finding
index-fetch.js safe Clear
index.js safe Clear
lib/api/abort-signal.js safe Clear
lib/api/api-connect.js safe Clear
lib/api/api-pipeline.js safe Clear
lib/api/api-request.js safe Clear
lib/api/api-stream.js safe Clear
lib/api/api-upgrade.js safe Clear
lib/api/index.js safe Clear
lib/api/readable.js safe Clear
lib/cache/memory-cache-store.js safe Clear
lib/cache/sqlite-cache-store.js safe Clear
lib/core/connect.js safe Clear
lib/core/constants.js safe Clear
lib/core/diagnostics.js safe Clear
lib/core/errors.js safe Clear
lib/core/request.js safe Clear
lib/core/socks5-client.js safe Clear
lib/core/socks5-utils.js safe Clear
lib/core/symbols.js safe Clear
lib/core/tree.js safe Clear
Show 88 more files
FileVerdictResult
lib/core/util.js safe Clear
lib/dispatcher/agent.js safe Clear
lib/dispatcher/balanced-pool.js safe Clear
lib/dispatcher/client-h1.js safe Clear
lib/dispatcher/client-h2.js safe Clear
lib/dispatcher/client.js safe Clear
lib/dispatcher/dispatcher-base.js safe Clear
lib/dispatcher/dispatcher.js safe Clear
lib/dispatcher/dispatcher1-wrapper.js safe Clear
lib/dispatcher/env-http-proxy-agent.js safe Clear
lib/dispatcher/fixed-queue.js safe Clear
lib/dispatcher/h2c-client.js safe Clear
lib/dispatcher/pool-base.js safe Clear
lib/dispatcher/pool.js safe Clear
lib/dispatcher/retry-agent.js safe Clear
lib/dispatcher/round-robin-pool.js safe Clear
lib/dispatcher/socks5-proxy-agent.js safe Clear
lib/encoding/index.js safe Clear
lib/global.js safe Clear
lib/handler/cache-handler.js safe Clear
lib/handler/cache-revalidation-handler.js safe Clear
lib/handler/decorator-handler.js safe Clear
lib/handler/deduplication-handler.js safe Clear
lib/handler/redirect-handler.js safe Clear
lib/handler/retry-handler.js safe Clear
lib/interceptor/cache.js safe Clear
lib/interceptor/decompress.js safe Clear
lib/interceptor/deduplicate.js safe Clear
lib/interceptor/dns.js safe Clear
lib/interceptor/dump.js safe Clear
lib/interceptor/redirect.js safe Clear
lib/interceptor/response-error.js safe Clear
lib/interceptor/retry.js safe Clear
lib/llhttp/constants.js safe Clear
lib/llhttp/utils.js safe Clear
lib/mock/mock-agent.js safe Clear
lib/mock/mock-call-history.js safe Clear
lib/mock/mock-client.js safe Clear
lib/mock/mock-errors.js safe Clear
lib/mock/mock-interceptor.js safe Clear
lib/mock/mock-pool.js safe Clear
lib/mock/mock-symbols.js safe Clear
lib/mock/mock-utils.js safe Clear
lib/mock/pending-interceptors-formatter.js safe Clear
lib/mock/snapshot-agent.js safe Clear
lib/mock/snapshot-recorder.js safe Clear
lib/mock/snapshot-utils.js safe Clear
lib/util/cache.js safe Clear
lib/util/date.js safe Clear
lib/util/runtime-features.js safe Clear
lib/util/stats.js safe Clear
lib/util/timers.js safe Clear
lib/web/cache/cache.js safe Clear
lib/web/cache/cachestorage.js safe Clear
lib/web/cache/util.js safe Clear
lib/web/cookies/constants.js safe Clear
lib/web/cookies/index.js safe Clear
lib/web/cookies/parse.js safe Clear
lib/web/cookies/util.js safe Clear
lib/web/eventsource/eventsource-stream.js safe Clear
lib/web/eventsource/eventsource.js safe Clear
lib/web/eventsource/util.js safe Clear
lib/web/fetch/body.js safe Clear
lib/web/fetch/constants.js safe Clear
lib/web/fetch/data-url.js safe Clear
lib/web/fetch/formdata.js safe Clear
lib/web/fetch/global.js safe Clear
lib/web/fetch/headers.js safe Clear
lib/web/fetch/index.js safe Clear
lib/web/fetch/request.js safe Clear
lib/web/fetch/response.js safe Clear
lib/web/fetch/util.js safe Clear
lib/web/infra/index.js safe Clear
lib/web/subresource-integrity/subresource-integrity.js safe Clear
lib/web/webidl/index.js safe Clear
lib/web/websocket/connection.js safe Clear
lib/web/websocket/constants.js safe Clear
lib/web/websocket/events.js safe Clear
lib/web/websocket/frame.js safe Clear
lib/web/websocket/permessage-deflate.js safe Clear
lib/web/websocket/receiver.js safe Clear
lib/web/websocket/sender.js safe Clear
lib/web/websocket/stream/websocketerror.js safe Clear
lib/web/websocket/stream/websocketstream.js safe Clear
lib/web/websocket/util.js safe Clear
lib/web/websocket/websocket.js safe Clear
package.json safe Clear
scripts/strip-comments.js safe Clear

Affected version ranges

None of the 4 scanned versions of undici are flagged high or critical. The latest scanned version, 8.11.2, is low risk. Only versions we have scanned are listed; unscanned versions between them are not covered.

6.21.38.11.2
VersionsVerdictCountRangeTop findings
8.11.2 Low risk 1 8.11.2
7.30.0 – 8.9.0 Not scanned 2 >=7.30.0 <=8.9.0
7.29.0 Low risk 1 7.29.0
7.18.2 Not scanned 1 7.18.2
6.27.0 – 6.28.0 Low risk 2 >=6.27.0 <=6.28.0
6.21.3 Not scanned 1 6.21.3

Full list, including published versions not scanned yet: version ranges API.

Scanned versions of undici

VersionVerdictFilesScanned
8.11.2 Low risk 113 Nov 2, 2026
7.29.0 Low risk 115 Nov 2, 2026
6.28.0 Low risk 100 Nov 2, 2026
6.27.0 Low risk 100 Nov 2, 2026

Frequently asked questions

Is undici safe to use?

Our AI source review of undici@8.11.2 found no malicious code. It produced only low-severity, informational notes.

Does undici contain malware?

No malware was identified in undici@8.11.2 when Togoder Security scanned it on Nov 2, 2026. A new version can still introduce malicious code, so scan the exact versions in your lockfile.

How was undici checked?

Togoder Security downloaded the published npm package and had an AI model read its 113 source files, looking for install scripts, credential access, network exfiltration, obfuscation, backdoors and crypto-wallet theft. The results are cached by file hash and shown here.

How do I scan undici together with the rest of my dependencies?

Upload your lockfile at https://security.togoder.click/scan or call the API documented at https://security.togoder.click/api-docs. Files that have already been scanned, like the ones in undici@8.11.2, cost nothing.

Related security reports