npm / undici-types / 8.12.0
undici-types 8.12.0
- Source
- https://github.com/nodejs/undici
- Tag scanned
v8.12.0- Compared with
v8.11.2(3 signals introduced since)- Files
- 828 scanned, 25 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 47 info
- Scan time
- 29.0 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 40 of 40 warn and critical signals; 40 demoted to info.
- Disclude version
- 4.0.0
- Scanned (UTC)
- 2026-10-15 05: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. -
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAGdSURBVDjLpVMxa8JAFL6rAQUHXQoZpLU/ oUOnDtKtW/MDBFHHThUKTgrqICgOEtd2EVxb2qFkKTgVChbSCnZTiVBEMBRLiEmafleCDaWxDX3wlikely benign Base64-encoded PNG image embedded as a test fixture for multipart upload parsing.Reasoning
Raw-pass base64 finding in a busboy multipart parser test file. The blob starts with the PNG signature (iVBORw0KGgo) and the surrounding context is a test fixture embedding an image upload. Raw base64 hits have a high false-positive rate, and this is a legitimate test payload.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJRSURBVBgZpcHda81xHMDx9+d3fudYzuYw 2RaZ5yTWolEiuZpCSjGJFEktUUr8A6ZxQZGHmDtqdrGUXHgoeZqSp1F2bLFWjtkOB8PZzvmd7+djlikely benign Base64-encoded PNG image used as multipart form test data.Reasoning
Same file and pattern as the other busboy test blobs. The content is a base64-encoded PNG (iVBORw0KGgo header) inside a template literal used as multipart test input, consistent with testing file uploads.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAKfSURBVDjLpZPrS1NhHMf9O3bOdmwDCWRE IYKEUHsVJBI7mg3FvCxL09290jZj2EyLMnJexkgpLbPUanNOberU5taUMnHZUULMvelCtWF0sW/nlikely benign Base64 PNG image fixture in a busboy multipart test.Reasoning
Raw encoding-base64 hit in a multipart parser test. The blob decodes to PNG image data, a normal fixture for file-upload parsing tests. No execution or decoding pipeline is present in the snippet.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJvSURBVDjLpZPrS5NhGIf9W7YvBYOkhlko qCklWChv2WyKik7blnNris72bi6dus0DLZ0TDxW1odtopDs4D8MDZuLU0kXq61CijSIIasOvv94Vlikely benign Base64-encoded PNG file content used as a multipart test body.Reasoning
Base64 PNG content (iVBORw0KGgo header) inside a multipart test template. This is expected for a file-upload parser test suite and matches the other fixture blobs in the same file.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHYSURBVDjLlVLPS1RxHJynpVu7KEn0Vt+2 l6IO5qGCIsIwCPwD6hTUaSk6REoUHeoQ0qVAMrp0COpY0SUIPVRgSl7ScCUTst6zIoqg0y7lvpnPlikely benign Static base64 image payload in a multipart parsing test.Reasoning
Base64 image data in a busboy parser test template. The snippet shows no decode-and-execute behavior, only static test payload data, so this is a false positive from the raw base64 heuristic.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJvSURBVDjLhZNNSFRRFIC/N++9eWMzhkl/ ZJqFMQMRFvTvImkXSdKiVRAURBRRW1eZA9EqaNOiFlZEtQxKyrJwUS0K+qEQzaTE/AtLHR3Hmffulikely benign Base64 PNG fixture data in a busboy multipart test.Reasoning
Raw base64 blob inside a test fixture for busboy. It encodes a PNG, which is a standard payload for testing multipart file handling. There is no dynamic execution in the snippet.
-
` LS0tLS0tV2ViS2l0Rm9ybUJvdW5kYXJ5amRTRmhjQVJrOGZ5R055Ng0KQ29udGVudC1EaXNwb3Np dGlvbjogZm9ybS1kYXRhOyBuYW1lPSJmaWxlMSI7IGZpbGVuYW1lPSJndGstYXBwbHkucG5nIg0K Q29udGVudC1UeXBlOiBpbWFnZS9wbmcNCg0KiVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNlikely benign Base64-encoded multipart body with an embedded PNG, used as a parser test fixture.Reasoning
The snippet begins with a base64-encoded multipart boundary (LS0tLS0t, '-----') followed by Content-Disposition headers and an embedded PNG. This is a constructed multipart request body used as a parser test input, not an obfuscated payload.
-
` iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz AAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAANnSURB VDiNldJ9aJVVHAfw7znPuS/PvW4405WbLWfbsBuNbramq5Tp7mLqIFPXINlwpAitaCAPjWKgBdXzlikely benign Base64 PNG image fixture containing editor metadata, used in multipart tests.Reasoning
Base64 PNG content (with an Inkscape metadata string visible after decoding) in a busboy test file. Test fixtures of real image files are normal for upload-parsing tests.
-
` iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz AAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAM1SURB VDiNrZTPaxtHFMc/M7uzs7KobckyDjQxtoPbnlJyMBRKgsGFHkwvvfbuU/+BQCilBHrof+BT7zmVlikely benign Base64-encoded PNG test fixture for multipart parsing.Reasoning
Another base64 PNG blob in the busboy test suite, consistent with the surrounding fixtures. The raw-pass signal is triggered by the length and entropy of ordinary encoded image data.
-
` LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS03ZDkxYjAzYTIwMTI4DQpDb250ZW50LURpc3Bv c2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ImZpbGUxIjsgZmlsZW5hbWU9IkM6XFB5dGhvbjI1XHd6 dGVzdFx3ZXJremV1Zy1tYWluXHRlc3RzXG11bHRpcGFydFxmaXJlZm94My0ycG5nMXR4dFxmaWxllikely benign Base64-encoded multipart request body with a file path, used as a busboy test fixture.Reasoning
Base64 multipart body beginning with a boundary line and a Content-Disposition header that includes a Windows-style filename path. This is a recorded or constructed upload request used to test filename handling in the parser, not malicious code.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAGdSURBVDjLpVMxa8JAFL6rAQUHXQoZpLU/ oUOnDtKtW/MDBFHHThUKTgrqICgOEtd2EVxb2qFkKTgVChbSCnZTiVBEMBRLiEmafleCDaWxDX3wlikely benign Duplicate base64 PNG test fixture in the busboy parser tests.Reasoning
This blob is identical to the PNG fixture at line 171 (same header and first lines). It is a repeated static test payload, and the raw base64 heuristic flags it as expected.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJRSURBVBgZpcHda81xHMDx9+d3fudYzuYw 2RaZ5yTWolEiuZpCSjGJFEktUUr8A6ZxQZGHmDtqdrGUXHgoeZqSp1F2bLFWjtkOB8PZzvmd7+djlikely benign Base64-encoded PNG fixture for multipart upload tests.Reasoning
Base64 PNG blob matching the other busboy test fixtures. It is static encoded image data in a test file, with no decode or execute step visible.
-
const body = 'Hello world!' const hash = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const server =dismissed A base64 SRI sha256 digest used as a test fixture in the undici fetch integrity tests.Reasoning
The flagged 44-byte base64 string is a Subresource Integrity digest (sha256 of 'Hello world!') used as a test fixture for fetch integrity checking. Test files like this routinely contain such hashes, and the raw pass has a high false-positive rate for base64 blobs.
-
const body = 'Hello world!' const hash = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const server =dismissed Repeated base64 SRI sha256 test fixture for the fetch integrity tests.Reasoning
Same sha256 SRI digest of 'Hello world!' reused as a fixture in another test case. Expected content for verifying integrity checks, not an encoded payload.
-
const body = 'Hello world!' const hash = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const server =dismissed Base64 SRI sha256 digest used as a test fixture.Reasoning
Same sha256 SRI digest fixture of 'Hello world!' in another integrity test. Legitimate test data.
-
const body = 'Hello world!' const hash = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const server =dismissed Base64 SRI sha384 digest used as a test fixture.Reasoning
A 64-byte base64 string matching a sha384 SRI digest of the test body, used in an integrity assertion. Legitimate hash fixture.
-
await t.. })dismissed Base64 SRI digest passed to fetch in a negative integrity test.Reasoning
The blob is an sha384 SRI string passed as the integrity option to fetch in a rejection test. It is a checksum value, not obfuscated code.
-
const body = 'Hello world!' const hash = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg==' const server =dismissed Base64 SRI sha512 digest used as a test fixture.Reasoning
An 88-byte base64 sha512 SRI digest of the test body used as a fixture. Expected for integrity tests.
-
await t.. })dismissed Base64 SRI digest passed to fetch in a negative integrity test.Reasoning
A sha512-prefixed SRI string passed to fetch in a rejection test. The value is a checksum literal, not a payload.
-
const body = 'Hello world!' const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const server =dismissed Base64 SRI sha384 digest assigned to a test variable.Reasoning
Same sha384 SRI digest fixture of the test body, assigned to a variable for an integrity check.
-
const body = 'Hello world!' const sha256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const sha384 = 'ä'dismissed Base64 SRI sha256 digest used in an integrity test.Reasoning
Base64 sha256 SRI digest fixture of 'Hello world!' in a multi-algorithm integrity test. Legitimate test data.
-
const body = 'Hello world!' const sha256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const sha384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const sha512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='dismissed Set of base64 SRI digest fixtures for multi-algorithm integrity testing.Reasoning
Group of SRI digests for sha256, sha384 and sha512 of the same body, used to test multi-hash integrity. Legitimate fixtures.
-
const sha256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const sha384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const sha512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='dismissed Base64 SRI digest fixtures for integrity testing.Reasoning
Part of the same SRI digest fixture set (sha384 and sha512 values). Not encoded or hidden code.
-
const sha384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const sha512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg==' const server =dismissed Base64 SRI sha512 digest fixture for integrity testing.Reasoning
An 88-byte sha512 SRI digest fixture within the same multi-hash test block. Legitimate test data.
-
// and no other properties are added to globalThis by undici.install(). const proxyGlobalThis =likely benign A test-only Proxy around globalThis that records unexpected property sets during undici.install().Reasoning
This is a test verifying that undici.install() does not add properties to globalThis. The Proxy wraps globalThis only to detect unexpected writes during the test, which is a common and legitimate test technique. It does not appear to redirect or tamper with production behaviour. The critical severity reflects the pattern match rather than the intent here, though the snippet alone cannot rule out a broader hijack.
-
info
warn→ info by reviewencoding-base64test/subresource-integrity/apply-algorithm-to-bytes.js:12:20/* Hash values generated with for "Hello world!" */ const hash256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const hash512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Base64 SRI hash constant in a test file.Reasoning
The blob is a Subresource Integrity hash literal in a test fixture, expected for hashing 'Hello world!' and documented in the comment above it. Raw base64 pattern with a high false-positive rate; no obfuscation.
-
info
warn→ info by reviewencoding-base64test/subresource-integrity/apply-algorithm-to-bytes.js:13:20const hash256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const hash512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Base64 SRI sha384 hash constant in a test file.Reasoning
Same SRI test fixture hash literal, a documented expected digest used in tests of the integrity library.
-
info
warn→ info by reviewencoding-base64test/subresource-integrity/apply-algorithm-to-bytes.js:14:20const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const hash512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Base64 SRI sha512 hash constant in a test file.Reasoning
Same SRI test fixture hash literal for a sha512 digest; legitimate test data.
-
likely benign Base64 test value for string matching tests.
Reasoning
A base64 string with padding used as a test input for a case-sensitive string comparison function. Ordinary test data.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs=' t.. })likely benign Base64 test value for string matching tests.Reasoning
Base64 test value differing only in padding, used to exercise matching logic. Ordinary test data.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs==' t.. })likely benign Base64 test value with padding variants.Reasoning
Base64 test value with double padding used in a comparison test. Ordinary test data.
-
likely benign Base64 test value for string matching tests.
Reasoning
Base64 test value with matching padding, used in a comparison test. Ordinary test data.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs=' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs=' t.. })likely benign Base64 test value for string matching tests.Reasoning
Same base64 test value used in an equality assertion. Ordinary test data.
-
likely benign Base64 test value with double padding.
Reasoning
Base64 test value with two padding characters, used in a comparison test. Ordinary test data.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs==' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs==' t.. })likely benign Base64 test value with double padding.Reasoning
Same base64 test value in an assertion. Ordinary test data.
-
likely benign Malformed base64 test value for padding validation.
Reasoning
Base64 value with an invalid extra padding character, deliberately crafted to test rejection in the matcher. This is a test of edge cases, not obfuscation.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs==' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs===' t.. })likely benign Base64 digest string literal used as a test value in a subresource integrity comparison test.Reasoning
Raw pass base64-like detection on a test fixture comparing SRI-style hash strings. The blob is a test value for case-sensitive comparison of digests, a normal pattern in a security library's test suite. No decoding, execution, or malicious behavior.
-
/* Hash values generated with for "Hello world!" */ const hash256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const hash512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Base64-encoded sha256 hash constant in a subresource integrity parsing test.Reasoning
Raw pass flagged a base64 hash literal. The file is an SRI metadata parsing test and the comment says the hashes were generated for 'Hello world!', so these are expected test vectors.
-
const hash256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const hash512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Base64-encoded sha384 hash constant in a subresource integrity parsing test.Reasoning
Same file and context as the other hash constants; a sha384-style digest used as a known test vector for SRI metadata parsing. Not obfuscation.
-
const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const hash512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Base64-encoded sha512 hash constant in a subresource integrity parsing test.Reasoning
Hash constant in the SRI parsing test fixture with a documented generation source. Raw-pass base64 heuristics fire on any long base64 string; this is an ordinary test vector.
-
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.
&&