npm / undici-types / 6.29.1
undici-types 6.29.1
- Source
- https://github.com/nodejs/undici
- Tag scanned
v6.29.1- Compared with
v6.29.0(0 signals introduced since)- Files
- 1872 scanned, 1674 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 57 info
- Scan time
- 25.9 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 35 of 35 warn and critical signals; 35 demoted to info.
- Disclude version
- 4.0.0
- Scanned (UTC)
- 2026-10-16 09:41
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
-
exports. = exports. = exports. = exports. = exports. = exports. = exports. = exports. = exports. = exports. = exports. = exports. = exports. = exports. = exports. = exports. -
-
dataURL += return dataURL -
await assert. })likely benign A sha384 integrity hash literal used in a fetch test.Reasoning
The base64 string is a sha384 SRI digest passed to fetch in a test asserting rejection on a mismatched integrity value. This is a legitimate test constant.
-
await assert. })likely benign A sha512 integrity hash literal used in a fetch test.Reasoning
The base64 string is a sha512 SRI digest used as a test input for a fetch integrity check. Raw-pass base64 matches on hash literals are expected false positives.
-
, , // U+1047E , , -
info
warn→ info by reviewencoding-hextest/fixtures/wpt/FileAPI/support/send-file-form-helper.js:93:8const kTestFallbackUtf8 =likely benign UTF-8 byte escape sequences encoding a test string with mixed Unicode characters.Reasoning
A run of \xNN escapes spells out UTF-8 bytes for non-ASCII test strings in a standard WPT FileAPI fixture. This is intentional encoding test data.
-
info
warn→ info by reviewencoding-hextest/fixtures/wpt/FileAPI/support/send-file-form-helper.js:94:6"ABC~\xE2\x80\xBE\xC2\xA5\xE2\x89\x88\xC2\xA4\xEF\xBD\xA5\xE3\x83\xBB\xE2" + "\x80\xA2\xE2\x88\x99\xC2\xB7\xE2\x98\xBC\xE2\x98\x85\xE6\x98\x9F\xF0\x9F" + "\x8C\x9F\xE6\x98\x9F\xE2\x98\x85\xE2\x98\xBC\xC2\xB7\xE2\x88\x99\xE2\x80" + "\xA2\xE3\x83\xBB\xEF\xBD\xA5\xC2\xA4\xE2\x89\x88\xC2\xA5\xE2\x80\xBE~XYZ"likely benign UTF-8 byte escapes continuing the mixed-Unicode test string.Reasoning
Continuation of the same UTF-8 byte-escape test string in a WPT fixture. Expected for encoding conformance tests.
-
info
warn→ info by reviewencoding-hextest/fixtures/wpt/FileAPI/support/send-file-form-helper.js:96:6"\x8C\x9F\xE6\x98\x9F\xE2\x98\x85\xE2\x98\xBC\xC2\xB7\xE2\x88\x99\xE2\x80" + "\xA2\xE3\x83\xBB\xEF\xBD\xA5\xC2\xA4\xE2\x89\x88\xC2\xA5\xE2\x80\xBE~XYZ" );likely benign UTF-8 byte escapes ending the mixed-Unicode test string.Reasoning
Final part of the same UTF-8 byte-escape test string in a WPT fixture. No malicious behavior is present.
-
info
critical→ info by reviewdynamic-executiontest/fixtures/wpt/common/dispatcher/dispatcher.js:260:29likely benign Test dispatcher evaluates a function source string received as a task.Reasoning
The WPT test dispatcher evals a function string sent by the test harness to run test tasks. This is by design in a test framework, though eval of received content is a risky pattern if shipped outside test fixtures.
-
info
critical→ info by reviewdynamic-executiontest/fixtures/wpt/common/dispatcher/executor-service-worker.js:21:5let task = await ; ; } };likely benign Service-worker test executor evals task code received from the test server.Reasoning
The service-worker executor evals task text received from the WPT dispatcher to run tests inside the worker. This is test-harness design, with no obfuscation or hidden payload.
-
info
critical→ info by reviewdynamic-executiontest/fixtures/wpt/common/dispatcher/executor-worker.js:9:5let task = await ; ; } };likely benign Worker test executor evals task code received from the test server.Reasoning
The worker test executor evals task code from the WPT dispatcher as part of its test-running role. It is a test fixture pattern, not a dropper.
-
.; } -
= = returnlikely benign Python WPT handler execs a local resource file to invoke its main function.Reasoning
The WPT Python handler execs a test resource file from a fixed local path to run its main function. This is a standard server-side test handler pattern with no obfuscation.
-
= = returnlikely benign Python WPT handler compiles a local resource file as part of the exec call.Reasoning
The compile call is the inner part of the same exec of a local test resource file. It is benign test-handler behavior.
-
info
warn→ info by reviewencoding-base64test/fixtures/wpt/fetch/api/basic/integrity.sub.any.js:31:39const topSha512wrongpadding = "sha512-D6yns0qxG0E7+TwkevZ4Jt5t7Iy3ugmAajG/dlf6Pado1JqTyneKXICDiqFIkLMRExgtvg8PlxbKTkYfRejSOg"; const topSha512base64url = "sha512-D6yns0qxG0E7-TwkevZ4Jt5t7Iy3ugmAajG_dlf6Pado1JqTyneKXICDiqFIkLMRExgtvg8PlxbKTkYfRejSOg==";likely benign SRI sha512 hash literals in a fetch integrity conformance test.Reasoning
The base64 strings are SRI sha512 digests, including base64url and padding variants, used to test fetch integrity handling. These are expected test vectors.
-
info
warn→ info by reviewencoding-base64test/fixtures/wpt/fetch/api/basic/integrity.sub.any.js:32:72const topSha512base64url = "sha512-D6yns0qxG0E7-TwkevZ4Jt5t7Iy3ugmAajG_dlf6Pado1JqTyneKXICDiqFIkLMRExgtvg8PlxbKTkYfRejSOg=="; const topSha512base64url_nopadding = "sha512-D6yns0qxG0E7-TwkevZ4Jt5t7Iy3ugmAajG_dlf6Pado1JqTyneKXICDiqFIkLMRExgtvg8PlxbKTkYfRejSOg";likely benign More SRI sha512 hash literals for base64url integrity test cases.Reasoning
Additional sha512 SRI hash literals in the same integrity conformance test file. Expected test data.
-
var utf8WithBOM = "\xef\xbb\xbf\xe4\xb8\x89\xe6\x9d\x91\xe3\x81\x8b\xe3\x81\xaa\xe5\xad\x90"; var utf8WithBOMAsURLParameter = "%EF%BB%BF%E4%B8%89%E6%9D%91%E3%81%8B%E3%81%AA%E5%AD%90"; var utf8WithoutBOM = "\xe4\xb8\x89\xe6\x9d\x91\xe3\x81\x8b\xe3\x81\xaa\xe5\xad\x90";likely benign UTF-8 byte-escape literals encoding CJK test strings.Reasoning
The \xNN escapes are UTF-8 byte sequences for CJK test strings in a WPT text-decoding conformance test. This is intentional test data.
-
-
info
dynamic-executiontest/fixtures/wpt/fetch/api/credentials/authentication-redirection.any.js:4:39const authorizationValue = "Basic " + ; -
, , , ]; -
, , , ]; -
, , ]; -
info
warn→ info by reviewencoding-base64test/fixtures/wpt/fetch/compression-dictionary/resources/compressed-data.py:6:12b, b) # `br_d_data` and `zstd_d_data` are generated using the following commands:likely benign Base64-encoded dictionary hash value used in a Compression Dictionary Transport test.Reasoning
The blob is a Structured Fields byte sequence for a dictionary hash in a WPT test resource; it is test data, not obfuscation.
-
info
warn→ info by reviewpayload-bytes-literaltest/fixtures/wpt/fetch/compression-dictionary/resources/compressed-data.py:15:17# $ xxd -p /tmp/out.brd | tr -d '\n' | sed 's/\(..\)/\\x\1/g' = b # $ zstd -o /tmp/out.zstdd -D /tmp/dict /tmp/datalikely benign Bytes literal holding a brotli-compressed test payload with documented generation steps.Reasoning
The byte literal is pre-generated brotli compressed test data, with the generation commands documented in comments. This is a legitimate binary fixture in a web-platform test suite.
-
info
warn→ info by reviewencoding-escape-souptest/fixtures/wpt/fetch/compression-dictionary/resources/compressed-data.py:15:19# $ xxd -p /tmp/out.brd | tr -d '\n' | sed 's/\(..\)/\\x\1/g' = b # $ zstd -o /tmp/out.zstdd -D /tmp/dict /tmp/datalikely benign Hex-escaped binary data for the brotli test payload.Reasoning
Hex escape soup is the expected representation of binary compressed data in a Python test fixture; the raw pass has a high false-positive rate here.
-
info
warn→ info by reviewpayload-bytes-literaltest/fixtures/wpt/fetch/compression-dictionary/resources/compressed-data.py:18:19# $ xxd -p /tmp/out.zstdd | tr -d '\n' | sed 's/\(..\)/\\x\1/g' = blikely benign Bytes literal holding a zstd-compressed test payload.Reasoning
The zstd-compressed fixture is documented with generation commands and is used to test content-encoding handling. It is ordinary test data.
-
info
warn→ info by reviewencoding-escape-souptest/fixtures/wpt/fetch/compression-dictionary/resources/compressed-data.py:18:21# $ xxd -p /tmp/out.zstdd | tr -d '\n' | sed 's/\(..\)/\\x\1/g' = blikely benign Hex-escaped zstd payload in a WPT fixture.Reasoning
Hex escapes encode binary zstd test data, a normal pattern in this fixture file.
-
info
warn→ info by reviewencoding-base64test/fixtures/wpt/fetch/compression-dictionary/resources/compression-dictionary-util.js:4:7const kDefaultDictionaryHashBase64 = ':U5abz16WDg7b8KS93msLPpOB4Vbef1uRzoORYkJw9BY=:'; const kRegisterDictionaryPath = './resources/register-dictionary.py'; const kCompressedDataPath = './resources/compressed-data.py';likely benign Base64 default dictionary hash constant in a WPT test utility.Reasoning
The same dictionary hash value appears as a constant in the matching test utility. It is a test identifier, not a payload.
-
info
dynamic-executiontest/fixtures/wpt/fetch/compression-dictionary/resources/compression-dictionary-util.js:29:16const digest = await crypto.. return ':' + + ':'; } -
info
warn→ info by reviewencoding-base64test/fixtures/wpt/fetch/data-urls/navigate.window.js:12:35likely benign Base64 data URL input in a WPT navigation test.Reasoning
This is a standard data: URL test input encoding a small HTML script for the WHATWG fetch spec tests.
-
info
warn→ info by reviewencoding-base64test/fixtures/wpt/fetch/data-urls/navigate.window.js:22:58likely benign Data URL test case with embedded ASCII whitespace in base64.Reasoning
The percent-encoded whitespace inside the base64 data URL is deliberate, testing that ASCII whitespace is stripped per spec.
-
info
warn→ info by reviewencoding-base64test/fixtures/wpt/fetch/data-urls/navigate.window.js:45:35,likely benign Data URL test case with malformed base64 padding.Reasoning
This data URL intentionally has incorrect base64 padding to test parser behavior.
-
info
warn→ info by reviewencoding-base64test/fixtures/wpt/fetch/data-urls/navigate.window.js:53:36likely benign Data URL test case containing a vertical tab in base64.Reasoning
A vertical tab is deliberately placed in the data URL to test the expected error path.
-
init. = config init.. return init } -
} -
rces/redirect.?location=data:image/png%3Bbase64,iVBORw0KGgoAAAANSUhEUgAAAIUAAABqCAIAAAAdqgU8AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAF6SURBVHhe7dNBDQAADIPA%2Bje92eBxSQUQSLedlQzo0TLQonFWPVoGWjT%2BoUfLQIvGP/RoGWjR%2BIceLQMtGv/Qo2WgReMferQMtGj8Q4%2BWgRaNf%2BjRMtCi8Q89WgZaNP6hR8tAi8Y/9GgZaNH4likely benign URL-encoded base64 PNG data URI in a redirect test.Reasoning
This is a URL-encoded PNG data URI used as a redirect target in a WPT test, a standard image payload.
-
likely benign eval of a descriptor expression inside the WPT IDL test harness.
Reasoning
idlharness.js is the WPT IDL harness, which uses eval on generated descriptor strings in a try block to test IDL. The eval is in a test framework, not attacker-controlled input, though a non-literal eval remains a generic risk.
-
info
warn→ info by reviewerror-stack-inspectiontest/fixtures/wpt/resources/testharness.js:1613:26likely benign Recursive deep-equal in the WPT test harness uses a stack array for cycle detection.Reasoning
This is WPT's testharness cycle detection: checking whether an object is already in a stack used for recursive comparison. It is not sandbox or analyzer detection; the Error stack is not being inspected for evasion.
-
-
info
unicode-surrogatetest/fixtures/wpt/service-workers/cache-storage/cache-storage.https.any.js:206:34 -
info
warn→ info by reviewencoding-base64test/fixtures/wpt/service-workers/service-worker/resources/fetch-access-control.py:32:30=likely benign Base64 PNG image bytes passed to decodebytes for a test response body.Reasoning
This is a standard base64-encoded 1x1 PNG image literal used as a test response body in a web-platform-tests fixture. Encoded image data in test fixtures is expected.
-
info
warn→ info by reviewencoding-base64test/fixtures/wpt/service-workers/service-worker/resources/fetch-access-control.py:33:30= return ,likely benign Continuation line of a base64 PNG test image literal.Reasoning
Continuation of the same base64-encoded PNG test fixture; benign test data.
-
info
warn→ info by reviewencoding-base64test/fixtures/wpt/service-workers/service-worker/resources/fetch-access-control.py:34:30b b) return ,likely benign Final base64 fragment of a PNG test image literal.Reasoning
Final fragment of the same base64 PNG literal used in a WPT service worker test; no execution or hidden payload.
-
info
warn→ info by reviewdynamic-executiontest/fixtures/wpt/service-workers/service-worker/resources/fetch-rewrite-worker.js:58:20likely benign atob decodes an embedded PNG to build image bytes in a test worker.Reasoning
atob decodes a PNG image into a Uint8Array to generate a test response when the generate-png parameter is set. This is ordinary image generation in a test worker, not an eval or dropper.
-
info
warn→ info by reviewencoding-base64test/fixtures/wpt/service-workers/service-worker/resources/fetch-rewrite-worker.js:60:12'iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAA' + 'RnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAhSURBVDhPY3wro/Kf' + 'gQLABKXJBqMGjBoAAqMGDLwBDAwAEsoCTFWunmQAAAAASUVORK5CYII='); var array = ;likely benign Base64 PNG constant fragment in a service worker test.Reasoning
Same embedded base64 PNG constant used for test image generation; benign.
-
info
warn→ info by reviewencoding-base64test/fixtures/wpt/service-workers/service-worker/resources/fetch-rewrite-worker.js:61:12'RnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAAhSURBVDhPY3wro/Kf' + 'gQLABKXJBqMGjBoAAqMGDLwBDAwAEsoCTFWunmQAAAAASUVORK5CYII='); var array = ;likely benign Base64 PNG constant tail in a service worker test.Reasoning
Continuation of the same benign base64 PNG constant used to produce test image bytes.
-
info
warn→ info by reviewdynamic-importtest/fixtures/wpt/service-workers/service-worker/resources/no-dynamic-import.js:15:45;likely benign Dynamic import of a test URL used to assert that the import rejects.Reasoning
The import() call is inside a test asserting that dynamic import rejects, as the test name suggests. The specifier is a test-controlled URL, and the code is a test of import behavior rather than an attack.
-
var replacementChar = "\uFFFD"; var reason = "\uD807"; wsocket. -
var data = "\uD801\uDC07"; var wsocket = ; var isOpenCalled = false; -
var data = "\uD807"; var replacementChar = "\uFFFD"; var wsocket = ; -
abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdlikely benign Large repetitive text fixture for XHR size tests.Reasoning
A plain text fixture of repeated 'abcd' used to test XHR handling of responses over 1MB. A long line is expected in this data file.
-
abcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdabcdlikely benign Four-character repeating text fixture flagged for narrow charset.Reasoning
The repetitive 'abcd' content is a size-test filler file, not JSFuck-style code. No executable payload exists in a plain text fixture.
-
const LEFT_SURROGATE = '\ud83d'; const RIGHT_SURROGATE = '\udc94'; -
const LEFT_SURROGATE = '\ud83d'; const RIGHT_SURROGATE = '\udc94'; // Unmatched surrogates should be replaced with the unicode replacement -
const authorizationValue = "Basic " + ;
Reproduce This Scan
Run disclude locally to verify. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.
&&