npm / undici-types / 8.12.3
undici-types 8.12.3
- Source
- https://github.com/nodejs/undici
- Tag scanned
v8.12.3- Compared with
v8.12.2(0 signals introduced since)- Files
- 834 scanned, 30 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 56 info
- Scan time
- 31.9 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 49 of 49 warn and critical signals; 49 demoted to info.
- Disclude version
- 4.0.0
- Scanned (UTC)
- 2026-10-19 19:26
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 test fixture data in a multipart parser test.Reasoning
Raw-pass base64 finding inside a busboy test file. The blob decodes to a PNG header (iVBORw0KGgo), which is typical of multipart upload test fixtures. Not executed or decoded at runtime, so it is a test payload.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJRSURBVBgZpcHda81xHMDx9+d3fudYzuYw 2RaZ5yTWolEiuZpCSjGJFEktUUr8A6ZxQZGHmDtqdrGUXHgoeZqSp1F2bLFWjtkOB8PZzvmd7+djlikely benign Base64-encoded PNG image in a busboy test fixture.Reasoning
Same embedded PNG test fixture as the other findings in this file (base64 of a PNG). Raw-pass, high false-positive rate, and the context is a parser test.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAKfSURBVDjLpZPrS1NhHMf9O3bOdmwDCWRE IYKEUHsVJBI7mg3FvCxL09290jZj2EyLMnJexkgpLbPUanNOberU5taUMnHZUULMvelCtWF0sW/nlikely benign Base64-encoded PNG sample in multipart upload test data.Reasoning
Base64 PNG blob within a multipart test body. The file is a test suite for busboy, which parses uploads, so embedded sample files are expected.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJvSURBVDjLpZPrS5NhGIf9W7YvBYOkhlko qCklWChv2WyKik7blnNris72bi6dus0DLZ0TDxW1odtopDs4D8MDZuLU0kXq61CijSIIasOvv94Vlikely benign Base64 image data used as a test upload fixture.Reasoning
Base64 PNG content in a parser test fixture. No decode-and-execute path is visible, and the content is ordinary image data.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHYSURBVDjLlVLPS1RxHJynpVu7KEn0Vt+2 l6IO5qGCIsIwCPwD6hTUaSk6REoUHeoQ0qVAMrp0COpY0SUIPVRgSl7ScCUTst6zIoqg0y7lvpnPlikely benign Base64-encoded image sample in busboy test input.Reasoning
Base64 PNG fixture in busboy's test file. The blob is plain image data rather than a dropper or obfuscated code.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJvSURBVDjLhZNNSFRRFIC/N++9eWMzhkl/ ZJqFMQMRFvTvImkXSdKiVRAURBRRW1eZA9EqaNOiFlZEtQxKyrJwUS0K+qEQzaTE/AtLHR3Hmffulikely benign Base64 PNG sample embedded in multipart test input.Reasoning
Repeats the PNG-in-base64 test pattern. Raw-pass blob detection in a test directory for a multipart library is expected noise.
-
` LS0tLS0tV2ViS2l0Rm9ybUJvdW5kYXJ5amRTRmhjQVJrOGZ5R055Ng0KQ29udGVudC1EaXNwb3Np dGlvbjogZm9ybS1kYXRhOyBuYW1lPSJmaWxlMSI7IGZpbGVuYW1lPSJndGstYXBwbHkucG5nIg0K Q29udGVudC1UeXBlOiBpbWFnZS9wbmcNCg0KiVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNlikely benign Base64-encoded multipart form body with an embedded PNG, used as a parser test case.Reasoning
Snippet decodes to a multipart boundary header (LS0tLS0tV2ViS2l0 = '------WebKitFormBoundary') followed by Content-Disposition and a PNG. This is a crafted multipart request body used for parser testing, not malicious.
-
` iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz AAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAANnSURB VDiNldJ9aJVVHAfw7znPuS/PvW4405WbLWfbsBuNbramq5Tp7mLqIFPXINlwpAitaCAPjWKgBdXzlikely benign Base64 PNG image fixture in busboy tests.Reasoning
Base64 PNG content (including Inkscape metadata) in a test fixture. Ordinary test data with no execution path.
-
` iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz AAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAM1SURB VDiNrZTPaxtHFMc/M7uzs7KobckyDjQxtoPbnlJyMBRKgsGFHkwvvfbuU/+BQCilBHrof+BT7zmVlikely benign Base64-encoded PNG sample used in multipart parsing tests.Reasoning
Base64 PNG fixture in a multipart parser test, similar to the other entries in this file. No sign of obfuscated code.
-
` LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS03ZDkxYjAzYTIwMTI4DQpDb250ZW50LURpc3Bv c2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ImZpbGUxIjsgZmlsZW5hbWU9IkM6XFB5dGhvbjI1XHd6 dGVzdFx3ZXJremV1Zy1tYWluXHRlc3RzXG11bHRpcGFydFxmaXJlZm94My0ycG5nMXR4dFxmaWxllikely benign Base64 multipart body with a file-path filename, used for upload parsing tests.Reasoning
Base64 decodes to a multipart body with a Windows file path in filename metadata, typical of upload test cases covering filename handling. Test data, not an attack payload.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAGdSURBVDjLpVMxa8JAFL6rAQUHXQoZpLU/ oUOnDtKtW/MDBFHHThUKTgrqICgOEtd2EVxb2qFkKTgVChbSCnZTiVBEMBRLiEmafleCDaWxDX3wlikely benign Base64 PNG test fixture in busboy's parser tests.Reasoning
Repeats the base64 PNG fixture pattern from the same test file. Raw-pass detection on test data.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJRSURBVBgZpcHda81xHMDx9+d3fudYzuYw 2RaZ5yTWolEiuZpCSjGJFEktUUr8A6ZxQZGHmDtqdrGUXHgoeZqSp1F2bLFWjtkOB8PZzvmd7+djlikely benign Base64-encoded PNG sample in busboy test data.Reasoning
Same PNG base64 fixture pattern as the rest of the file. Benign test input in a multipart parser test suite.
-
const body = 'Hello world!' const hash = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const server =likely benign A base64-encoded SRI digest constant in an undici fetch integrity test.Reasoning
Raw base64 pattern on a SHA hash string constant used as a subresource integrity value in an undici test file; the hash is the digest of 'Hello world!' and the file is a test fixture.
-
const body = 'Hello world!' const hash = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const server =likely benign Repeated base64 SRI digest used as expected value in tests.Reasoning
Same SRI sha256 digest constant of 'Hello world!' repeated in a test; expected legitimate test data.
-
const body = 'Hello world!' const hash = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const server =likely benign Base64 SRI digest constant in a fetch integrity test.Reasoning
Same SRI digest constant reused in another test case; benign fixture data.
-
const body = 'Hello world!' const hash = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const server =likely benign sha384 base64 digest constant in fetch integrity test.Reasoning
A sha384 digest of the test body in a subresource integrity test; benign raw base64 hash.
-
await t.. })likely benign SRI sha384 value used to assert a fetch rejection.Reasoning
Integrity option value with sha384 base64 digest passed to fetch in a rejection test; legitimate test data.
-
const body = 'Hello world!' const hash = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg==' const server =likely benign sha512 base64 digest constant in integrity test.Reasoning
sha512 base64 digest constant for the test body; benign test fixture.
-
await t.. })likely benign Mismatched SRI sha512 value in a rejection test.Reasoning
Deliberately incorrect sha512 integrity value used to test rejection; benign.
-
const body = 'Hello world!' const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const server =likely benign sha384 base64 digest constant in integrity test.Reasoning
sha384 digest constant in a hash-comparison test; benign.
-
const body = 'Hello world!' const sha256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const sha384 = 'ä'likely benign Multiple SRI digest constants in a fetch integrity test.Reasoning
Hash constants for multiple algorithms in an SRI test; the sha384 'ä' is an odd value but in a test fixture, and the base64 match is a legitimate digest.
-
const body = 'Hello world!' const sha256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const sha384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const sha512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Set of base64 SRI digest constants in integrity test.Reasoning
Collection of SRI digest constants for hash algorithms in a test file; legitimate.
-
const sha256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const sha384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const sha512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Base64 SRI digest constants in integrity test.Reasoning
Repeated SRI digest constants in the same test fixture; legitimate.
-
const sha384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const sha512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg==' const server =likely benign sha512 base64 digest constant in integrity test.Reasoning
sha512 digest constant in an integrity test fixture; legitimate.
-
// and no other properties are added to globalThis by undici.install(). const proxyGlobalThis =likely benign Test helper wrapping globalThis in a Proxy to detect unexpected global property writes.Reasoning
A Proxy over globalThis in undici's install test verifies that no unexpected globals are added. It is a test-only guard, not malicious interposition, though it does intercept global property access, which is notable.
-
const skip = runtimeFeatures. === false const hash256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro='likely benign SHA256 base64 digest constant in SRI regression test.Reasoning
Base64 SHA256 digest constant in a regression test for a GHSA advisory about SRI parsing; legitimate test data.
-
const body = 'Hello world!' const hash256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const hash512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Base64-encoded SHA hash constants used as test fixtures in an SRI test.Reasoning
These are SRI hash constants (sha256/384/512 base64 digests of 'Hello world!') in a test file for subresource integrity; base64 digests are expected here and there is no decoding or execution of the blob.
-
const hash256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const hash512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Base64 sha384 digest fixture in an SRI test file.Reasoning
Same SRI digest constant block as the other findings in this test file; the base64 string is a legitimate hash value.
-
const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const hash512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg==' const server =likely benign Base64 sha512 digest fixture in an SRI test file.Reasoning
A base64 sha512 digest used as an integrity value in a test; expected content for this kind of test, not obfuscation.
-
const body = 'Hello world!' const hash256Wrong = 'MWD71RGgcch4KOzmR6VMaqWh4VY7eonYmHWvemOtMno=' const hash384Wrong = 'zxSYGGGjWi7iIZ9SmiTenQIQ+/nzPTd5bbesJhBTZvoYomj28rsVLXbUyJU/Yqob' const hash512Wrong = 'eC9loL1pd8AD1Btp9aHu+ymH5Rfnh64hiTYgyfeXy270KfjPQupBkhb2OeP35vZA8ofSBNJ01LzweDIhznuqaw=='likely benign Intentionally incorrect base64 digest fixture for negative SRI testing.Reasoning
Deliberately wrong hash constants used to test that integrity checks reject mismatches; legitimate test data.
-
const hash256Wrong = 'MWD71RGgcch4KOzmR6VMaqWh4VY7eonYmHWvemOtMno=' const hash384Wrong = 'zxSYGGGjWi7iIZ9SmiTenQIQ+/nzPTd5bbesJhBTZvoYomj28rsVLXbUyJU/Yqob' const hash512Wrong = 'eC9loL1pd8AD1Btp9aHu+ymH5Rfnh64hiTYgyfeXy270KfjPQupBkhb2OeP35vZA8ofSBNJ01LzweDIhznuqaw=='likely benign Incorrect base64 sha384 digest fixture for negative testing.Reasoning
Wrong-hash fixture for negative SRI tests; base64 digest strings are expected in this context.
-
const hash384Wrong = 'zxSYGGGjWi7iIZ9SmiTenQIQ+/nzPTd5bbesJhBTZvoYomj28rsVLXbUyJU/Yqob' const hash512Wrong = 'eC9loL1pd8AD1Btp9aHu+ymH5Rfnh64hiTYgyfeXy270KfjPQupBkhb2OeP35vZA8ofSBNJ01LzweDIhznuqaw==' const server =likely benign Incorrect base64 sha512 digest fixture for negative testing.Reasoning
Wrong sha512 digest fixture for negative SRI testing; legitimate test constant.
-
await t.. })likely benign Base64 digest inside an integrity option in a fetch test.Reasoning
Integrity attribute value with a sha1024-prefixed base64 digest used in a fetch test checking that malformed or unknown algorithms are handled; the blob is a hash string, not a payload.
-
const body = 'Hello world!' const hash256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const hash512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Block of base64 SRI digest fixtures in a test.Reasoning
Multi-line block of SRI hash constants in a test file; the row grouping reflects the same legitimate digest fixtures.
-
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 sha256 digest constant for an algorithm-application test.Reasoning
Comment states these are hash values generated for 'Hello world!'; they are legitimate SRI digest fixtures.
-
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 sha384 digest constant in an SRI test.Reasoning
Hash fixture with a comment identifying its origin as generated test data; 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 Base64 sha512 digest constant in an SRI test.Reasoning
Legitimate sha512 digest fixture in an SRI test file, consistent with the surrounding hash constants.
-
likely benign Base64 SRI hash literal used as test input for case-sensitive matching.
Reasoning
This is a test fixture for SRI hash comparison in the ssri library. The base64 string is a hash value used as test data, not an obfuscated payload. Raw-pass base64 heuristic fires on any base64-looking literal.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs=' t.. })likely benign Base64 hash test fixture with padding variant.Reasoning
Same SRI hash test fixture with padding variations, part of a unit test checking equality of hash strings. Benign test data.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs==' t.. })likely benign Base64 hash test fixture with double padding.Reasoning
Test fixture containing a base64 hash with double padding for comparison testing. Benign.
-
likely benign Base64 hash test fixture for identical-string comparison.
Reasoning
Test fixture for identical hash strings in an SRI comparison test. Benign.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs=' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs=' t.. })likely benign Base64 hash test fixture for identical-string comparison.Reasoning
Test fixture for SRI hash comparison, benign test data.
-
likely benign Double-padded base64 hash test fixture.
Reasoning
Test fixture with double-padded base64 hash for SRI comparison tests. Benign.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs==' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs==' t.. })likely benign Double-padded base64 hash test fixture.Reasoning
Test fixture with double-padded base64 hash for SRI comparison tests. Benign.
-
likely benign Base64 hash fixture with invalid padding for negative test.
Reasoning
Test fixture deliberately using an invalid padding variant to check the comparison returns false. Benign test case.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs==' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs===' t.. })likely benign Base64 hash fixture with invalid padding for negative test.Reasoning
Same negative-test fixture with invalid padding. Benign.
-
/* 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/384/512 digests used in metadata parsing tests.Reasoning
Hash values for a known string ('Hello world!') in SRI metadata parsing tests, with a comment explaining their origin. These are real SHA-256/384/512 digests, not obfuscated payloads.
-
const hash256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const hash512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Precomputed SHA-384/512 digests used as test vectors.Reasoning
Same precomputed hash digests used as test vectors for SRI metadata parsing. Benign.
-
const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const hash512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Base64-encoded SHA-384/SHA-512 hash constants used as test fixtures for SRI metadata parsing.Reasoning
The flagged string is a base64-encoded SHA-384 hash literal used as test fixture data for parsing SRI metadata. Its length and format match real SRI digests (hash384 is 64 base64 chars here, hash512 is 88), and the file is a test for subresource-integrity parsing. The raw-pass base64 signal is a false positive on expected cryptographic test 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.
&&