npm / undici-types / 8.11.2
undici-types 8.11.2
- Source
- https://github.com/nodejs/undici
- Tag scanned
v8.11.2- Compared with
v8.11.1(0 signals introduced since)- Files
- 777 scanned, 17 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 44 info
- Scan time
- 24.2 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-14 19:07
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 parsing.Reasoning
Raw-pass base64 signal on an embedded PNG image literal inside a busboy test file. Image fixtures for multipart upload tests are expected, and the raw pass has a high false-positive rate for blobs like this.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJRSURBVBgZpcHda81xHMDx9+d3fudYzuYw 2RaZ5yTWolEiuZpCSjGJFEktUUr8A6ZxQZGHmDtqdrGUXHgoeZqSp1F2bLFWjtkOB8PZzvmd7+djlikely benign Another base64-encoded PNG test fixture in the busboy parser test suite.Reasoning
Same embedded base64 PNG test-fixture pattern as the other findings in this file. No execution, decoding into code, or dropper behaviour is visible.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAKfSURBVDjLpZPrS1NhHMf9O3bOdmwDCWRE IYKEUHsVJBI7mg3FvCxL09290jZj2EyLMnJexkgpLbPUanNOberU5taUMnHZUULMvelCtWF0sW/nlikely benign Base64 PNG blob used as multipart test input.Reasoning
Base64 PNG data inside a template literal in a test file, consistent with multipart upload test inputs. Nothing decodes or executes it.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJvSURBVDjLpZPrS5NhGIf9W7YvBYOkhlko qCklWChv2WyKik7blnNris72bi6dus0DLZ0TDxW1odtopDs4D8MDZuLU0kXq61CijSIIasOvv94Vlikely benign Base64 PNG image inside a busboy test template literal.Reasoning
Base64 PNG content in a test fixture, the same pattern as the neighbouring findings. Raw-pass blob detection on image data is a known false-positive source.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHYSURBVDjLlVLPS1RxHJynpVu7KEn0Vt+2 l6IO5qGCIsIwCPwD6hTUaSk6REoUHeoQ0qVAMrp0COpY0SUIPVRgSl7ScCUTst6zIoqg0y7lvpnPlikely benign Base64 image data in a multipart test body.Reasoning
Base64 image bytes appear inside a multipart body string in a parser test. This is test data, not a payload.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJvSURBVDjLhZNNSFRRFIC/N++9eWMzhkl/ ZJqFMQMRFvTvImkXSdKiVRAURBRRW1eZA9EqaNOiFlZEtQxKyrJwUS0K+qEQzaTE/AtLHR3Hmffulikely benign Base64 PNG test fixture for multipart parsing.Reasoning
Base64 PNG fixture in a parser test file. Nothing in the snippet decodes or executes the data.
-
` LS0tLS0tV2ViS2l0Rm9ybUJvdW5kYXJ5amRTRmhjQVJrOGZ5R055Ng0KQ29udGVudC1EaXNwb3Np dGlvbjogZm9ybS1kYXRhOyBuYW1lPSJmaWxlMSI7IGZpbGVuYW1lPSJndGstYXBwbHkucG5nIg0K Q29udGVudC1UeXBlOiBpbWFnZS9wbmcNCg0KiVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNlikely benign Multipart form body fixture with base64 file content.Reasoning
Snippet shows a multipart boundary and headers, base64-encoded in part, with an embedded PNG. This is a realistic multipart test case, and the raw-pass blob has no execution path.
-
` iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz AAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAANnSURB VDiNldJ9aJVVHAfw7znPuS/PvW4405WbLWfbsBuNbramq5Tp7mLqIFPXINlwpAitaCAPjWKgBdXzlikely benign Base64-encoded PNG image test fixture.Reasoning
Base64 PNG fixture data inside a busboy test. Routine test content with no decoding or execution around it.
-
` iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz AAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAM1SURB VDiNrZTPaxtHFMc/M7uzs7KobckyDjQxtoPbnlJyMBRKgsGFHkwvvfbuU/+BQCilBHrof+BT7zmVlikely benign Base64 PNG content in a busboy test fixture.Reasoning
Base64 PNG data in a parser test case, matching the other fixture findings in the file. No suspicious execution context.
-
` LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS03ZDkxYjAzYTIwMTI4DQpDb250ZW50LURpc3Bv c2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ImZpbGUxIjsgZmlsZW5hbWU9IkM6XFB5dGhvbjI1XHd6 dGVzdFx3ZXJremV1Zy1tYWluXHRlc3RzXG11bHRpcGFydFxmaXJlZm94My0ycG5nMXR4dFxmaWxllikely benign Base64-encoded multipart body fixture with a filename header.Reasoning
The base64 decodes to multipart headers including a Windows-style filename, which is typical of an upload-parsing test covering path handling. It is test data inside a parser test, not an executable payload.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAGdSURBVDjLpVMxa8JAFL6rAQUHXQoZpLU/ oUOnDtKtW/MDBFHHThUKTgrqICgOEtd2EVxb2qFkKTgVChbSCnZTiVBEMBRLiEmafleCDaWxDX3wlikely benign Base64-encoded PNG image embedded as test fixture data for the busboy parser tests.Reasoning
The blob starts with the PNG signature base64 (iVBORw0KGgo) and is a test fixture for multipart file uploads in a busboy test. Raw pass base64 heuristic on embedded image data in a test file.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJRSURBVBgZpcHda81xHMDx9+d3fudYzuYw 2RaZ5yTWolEiuZpCSjGJFEktUUr8A6ZxQZGHmDtqdrGUXHgoeZqSp1F2bLFWjtkOB8PZzvmd7+djlikely benign Another base64-encoded PNG test fixture in the busboy parser tests.Reasoning
Continuation of the same embedded base64 PNG test fixture (iVBORw0KGgo header, then image data) in busboy test-parser.js.
-
const body = 'Hello world!' const hash = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const server =likely benign A base64 SRI digest constant used in a fetch integrity test.Reasoning
The value is a SHA-256 Subresource Integrity hash of 'Hello world!' used in a fetch integrity test. Expected for this file's purpose.
-
const body = 'Hello world!' const hash = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const server =likely benign Repeated base64 SRI digest constant in the fetch integrity tests.Reasoning
Same SRI hash constant for the test body, repeated in another test case of the integrity test file.
-
const body = 'Hello world!' const hash = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const server =likely benign Repeated base64 SRI digest constant in the fetch integrity tests.Reasoning
Same SRI digest constant reused in a further integrity test case; legitimate test data.
-
const body = 'Hello world!' const hash = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const server =likely benign Base64 sha384 integrity digest constant in a fetch test.Reasoning
A sha384 SRI digest string used for integrity verification testing of fetch; standard hash literal.
-
await t.. })likely benign Intentionally incorrect base64 integrity value used to test fetch rejection.Reasoning
Deliberately wrong sha384 integrity value passed to fetch to assert rejection; a normal negative test case.
-
const body = 'Hello world!' const hash = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg==' const server =likely benign Base64 sha512 integrity digest constant in a fetch test.Reasoning
A sha512 SRI digest constant used in the integrity test file; standard hash literal.
-
await t.. })likely benign Intentionally incorrect base64 sha512 integrity value in a fetch rejection test.Reasoning
Intentionally mismatched sha512 integrity value used to assert fetch rejects; normal negative test.
-
const body = 'Hello world!' const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const server =likely benign Base64 sha384 integrity digest constant in a fetch test.Reasoning
A sha384 digest constant for integrity testing, identical to other test fixtures in this file.
-
const body = 'Hello world!' const sha256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const sha384 = 'ä'likely benign Base64 sha256 digest constant with a placeholder value in a fetch integrity test.Reasoning
The sha256 constant is a standard SRI digest; the adjacent sha384 'ä' is an odd non-ASCII placeholder, which is worth noting but does not indicate malicious obfuscation in a test file.
-
const body = 'Hello world!' const sha256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const sha384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const sha512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Test fixture containing precomputed SHA digests of a known string.Reasoning
The raw base64 finding is on SHA-256/384/512 digest strings of 'Hello world!' used as Subresource Integrity test vectors inside a test file. These are expected hash values, not obfuscated payloads.
-
const sha256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const sha384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const sha512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Precomputed hash values used as integrity test fixtures.Reasoning
Same SHA-256/384/512 test vectors for 'Hello world!' in a Subresource Integrity test; base64 digest strings are expected here.
-
const sha384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const sha512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg==' const server =likely benign Precomputed SHA-384 digest used as a test value.Reasoning
The flagged 88-byte string is a SHA-384 digest test vector in an integrity test file; benign fixture data.
-
// and no other properties are added to globalThis by undici.install(). const proxyGlobalThis =likely benign Test-only Proxy over globalThis used to detect unexpected global property writes.Reasoning
This is undici's test verifying that installing globals does not add unexpected properties to globalThis. The Proxy wraps globalThis only inside a test to detect property sets, so it is a legitimate testing technique rather than a hijack in shipped code.
-
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 Expected SHA-256 digest constant in a test.Reasoning
Hash values for 'Hello world!' are explicitly labeled as generated expected outputs in an SRI test; not 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 Expected SHA-384 digest constant in a test.Reasoning
Expected SHA-384 test vector in an SRI test fixture file; benign.
-
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 Expected SHA-512 digest constant in a test.Reasoning
Expected SHA-512 test vector in an SRI test fixture file; benign.
-
likely benign Base64 test strings for validating a string-matching helper.
Reasoning
Base64 strings differing only by padding are used to test a case-sensitive comparison function in an SRI test. Test data, not malicious.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs=' t.. })likely benign Base64 test strings for validating a string-matching helper.Reasoning
Same padding-variant base64 test pair for case-sensitive matching in SRI tests; benign fixture.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs==' t.. })likely benign Base64 test strings for validating a string-matching helper.Reasoning
Base64 test values with varied padding for a case-sensitive comparison test; benign.
-
likely benign Base64 SHA hash string used as a test fixture for case-sensitive matching.
Reasoning
Raw-pass base64 heuristic fired on a literal SRI-style digest used as test input in a subresource-integrity test suite. Test fixtures of this kind are expected; no execution or obfuscation involved.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs=' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs=' t.. })likely benign Duplicate base64 digest fixture in the same SRI test.Reasoning
Same identical base64 digest literal repeated in the test file; benign test data for comparing integrity strings.
-
likely benign Padded base64 digest fixture for a two-padding-char test case.
Reasoning
Base64 digest with padding used as expected/actual test input for SRI matching; benign test fixture.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs==' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs==' t.. })likely benign Duplicate padded base64 digest fixture in the SRI test.Reasoning
Repeated padded base64 fixture within the same test; no malicious indicators.
-
likely benign Malformed base64 digest used as negative test input for padding validation.
Reasoning
Deliberately malformed base64 padding used to test rejection of invalid input in an SRI comparison; this is intentional negative-test data.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs==' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs===' t.. })likely benign Duplicate malformed base64 fixture in the negative SRI test.Reasoning
Same malformed-padding negative fixture repeated; benign test code.
-
/* 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 Precomputed SHA-256 base64 hash constant for parse-metadata tests.Reasoning
Hash constants with a comment stating they were generated for a known string 'Hello world!'; typical test expectations for SRI metadata parsing.
-
const hash256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const hash512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Precomputed base64 hash constants for SRI metadata parsing tests.Reasoning
Documented SHA-384 and SHA-512 test vectors in a parser test file; no execution or concealment.
-
const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const hash512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Base64 SHA-384 digest literal used in metadata parsing test.Reasoning
Base64 hash literal in a test for parsing integrity metadata; the entropy heuristic fires on expected digest data.
-
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.
&&