undici 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
- 29.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-20 13:56
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 the busboy multipart parser tests.Reasoning
The blob decodes to a PNG header (iVBORw0KGgo...) inside a template literal in a multipart parser test fixture. Embedded image test data is expected in this context, and the raw pass has a high false-positive rate for base64.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJRSURBVBgZpcHda81xHMDx9+d3fudYzuYw 2RaZ5yTWolEiuZpCSjGJFEktUUr8A6ZxQZGHmDtqdrGUXHgoeZqSp1F2bLFWjtkOB8PZzvmd7+djlikely benign Base64 PNG test fixture in the busboy multipart parser test suite.Reasoning
Same embedded PNG base64 fixture (iVBORw0KGgo header) in a busboy parser test. It is test input data, not executable or obfuscated code.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAKfSURBVDjLpZPrS1NhHMf9O3bOdmwDCWRE IYKEUHsVJBI7mg3FvCxL09290jZj2EyLMnJexkgpLbPUanNOberU5taUMnHZUULMvelCtWF0sW/nlikely benign Base64-encoded PNG image used as multipart upload fixture in busboy tests.Reasoning
Base64 PNG blob inside a template literal in a multipart test file, consistent with uploaded-file test payloads.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJvSURBVDjLpZPrS5NhGIf9W7YvBYOkhlko qCklWChv2WyKik7blnNris72bi6dus0DLZ0TDxW1odtopDs4D8MDZuLU0kXq61CijSIIasOvv94Vlikely benign Base64 PNG fixture for multipart parsing tests.Reasoning
Standard PNG base64 test data in a parser test; nothing decodes or executes it.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAHYSURBVDjLlVLPS1RxHJynpVu7KEn0Vt+2 l6IO5qGCIsIwCPwD6hTUaSk6REoUHeoQ0qVAMrp0COpY0SUIPVRgSl7ScCUTst6zIoqg0y7lvpnPlikely benign Base64 PNG part of a multipart form test body in busboy's tests.Reasoning
Base64 PNG content inside a multipart body string in a test file. This is fixture data for exercising the parser.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJvSURBVDjLhZNNSFRRFIC/N++9eWMzhkl/ ZJqFMQMRFvTvImkXSdKiVRAURBRRW1eZA9EqaNOiFlZEtQxKyrJwUS0K+qEQzaTE/AtLHR3Hmffulikely benign Base64 PNG image fixture for busboy parser tests.Reasoning
PNG base64 blob in a parser test fixture. No decoding into executable code is present in the snippet.
-
` LS0tLS0tV2ViS2l0Rm9ybUJvdW5kYXJ5amRTRmhjQVJrOGZ5R055Ng0KQ29udGVudC1EaXNwb3Np dGlvbjogZm9ybS1kYXRhOyBuYW1lPSJmaWxlMSI7IGZpbGVuYW1lPSJndGstYXBwbHkucG5nIg0K Q29udGVudC1UeXBlOiBpbWFnZS9wbmcNCg0KiVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNlikely benign Multipart form-data test fixture containing a base64 PNG file part.Reasoning
Multipart body with a Content-Disposition header for gtk-apply.png followed by base64 PNG data. This is a realistic upload fixture for a form-parsing library's tests.
-
` iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz AAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAANnSURB VDiNldJ9aJVVHAfw7znPuS/PvW4405WbLWfbsBuNbramq5Tp7mLqIFPXINlwpAitaCAPjWKgBdXzlikely benign Base64-encoded PNG test payload in busboy's parser test suite.Reasoning
Base64 PNG (Inkscape-generated metadata visible in the encoded text) inside a test fixture for multipart parsing.
-
` iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz AAAN1wAADdcBQiibeAAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAAAM1SURB VDiNrZTPaxtHFMc/M7uzs7KobckyDjQxtoPbnlJyMBRKgsGFHkwvvfbuU/+BQCilBHrof+BT7zmVlikely benign Base64 PNG fixture for multipart upload tests.Reasoning
Another PNG base64 fixture in the same parser test file, with the same benign structure.
-
` LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS03ZDkxYjAzYTIwMTI4DQpDb250ZW50LURpc3Bv c2l0aW9uOiBmb3JtLWRhdGE7IG5hbWU9ImZpbGUxIjsgZmlsZW5hbWU9IkM6XFB5dGhvbjI1XHd6 dGVzdFx3ZXJremV1Zy1tYWluXHRlc3RzXG11bHRpcGFydFxmaXJlZm94My0ycG5nMXR4dFxmaWxllikely benign Base64-encoded multipart body with Windows-style filename, used as a busboy parser test fixture.Reasoning
Base64 text decodes to multipart boundary and Content-Disposition headers with a Windows file path. This is realistic test data for a multipart parser, including a path-separator edge case, and it is not an attack.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAGdSURBVDjLpVMxa8JAFL6rAQUHXQoZpLU/ oUOnDtKtW/MDBFHHThUKTgrqICgOEtd2EVxb2qFkKTgVChbSCnZTiVBEMBRLiEmafleCDaWxDX3wlikely benign Base64 PNG test fixture for multipart parsing.Reasoning
Repeated PNG base64 fixture in the busboy test file, identical to earlier findings in the same file.
-
` iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABGdBTUEAAK/INwWK6QAAABl0RVh0 U29mdHdhcmUAQWRvYmUgSW1hZ2VSZWFkeXHJZTwAAAJRSURBVBgZpcHda81xHMDx9+d3fudYzuYw 2RaZ5yTWolEiuZpCSjGJFEktUUr8A6ZxQZGHmDtqdrGUXHgoeZqSp1F2bLFWjtkOB8PZzvmd7+djlikely benign Base64 PNG image fixture in busboy's test suite.Reasoning
Base64 PNG blob in a parser test template literal, the same benign fixture pattern as the rest of the file.
-
const body = 'Hello world!' const hash = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const server =likely benign A base64 SHA-256 integrity hash constant in an undici fetch test.Reasoning
Base64 string is a SHA-256 digest of 'Hello world!' used as a Subresource Integrity hash in an undici test file; legitimate test data.
-
const body = 'Hello world!' const hash = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const server =likely benign Repeated base64 SRI hash constant in a fetch integrity test.Reasoning
Same SHA-256 integrity hash constant reused in a test; no encoded payload or execution.
-
const body = 'Hello world!' const hash = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const server =likely benign Base64 SHA-256 integrity hash constant in a fetch test.Reasoning
Same SHA-256 SRI hash for a known body in a test fixture.
-
const body = 'Hello world!' const hash = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const server =likely benign Base64 SHA-384 integrity hash constant in a fetch test.Reasoning
SHA-384 SRI digest string for 'Hello world!' used in a test assertion.
-
await t.. })likely benign Base64 SRI hash used to test a mismatched integrity rejection.Reasoning
Integrity string is a SRI-format hash of a known value passed to fetch in a rejection test.
-
const body = 'Hello world!' const hash = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg==' const server =likely benign Base64 SHA-512 integrity hash constant in a fetch test.Reasoning
SHA-512 digest of 'Hello world!' as test fixture data.
-
await t.. })likely benign Base64 SRI hash in a rejected-fetch test case.Reasoning
Known-digest SRI string used in a negative test for sha512 integrity mismatch.
-
const body = 'Hello world!' const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const server =likely benign Base64 SHA-384 hash constant in an integrity test.Reasoning
SHA-384 digest constant used in test data; no payload behavior.
-
const body = 'Hello world!' const sha256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const sha384 = 'ä'likely benign Base64 SHA-256 hash constant in a fetch integrity test.Reasoning
SHA-256 digest constant alongside a stray non-ASCII string 'ä' in a test; the blob itself is a standard hash. The unicode character is a minor oddity in a test fixture.
-
const body = 'Hello world!' const sha256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const sha384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const sha512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Multiple base64 SRI hash constants in a test.Reasoning
Group of standard SRI digests for test vectors.
-
const sha256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const sha384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const sha512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Base64 SHA-384 and SHA-512 hash constants in a test.Reasoning
Standard SRI digest constants for test data.
-
const sha384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const sha512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg==' const server =likely benign Base64 SHA-512 hash constant in a fetch test.Reasoning
SHA-512 digest constant used as test vector.
-
// and no other properties are added to globalThis by undici.install(). const proxyGlobalThis =likely benign Proxy wrapping globalThis in a test checking global-property leakage.Reasoning
A Proxy on globalThis in undici's install test is used to verify that no extra globals are added. It is a test-harness technique that observes set traps, not a malicious hijack; the severity is high but context is benign.
-
const skip = runtimeFeatures. === false const hash256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro='likely benign Base64 SHA-256 hash constant in a subresource integrity regression test.Reasoning
Standard SHA-256 SRI hash constant in a regression test for a GHSA advisory about unknown algorithm tokens.
-
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-256 digest constant used as a test fixture.Reasoning
These are SRI hash constants in a test file for a fetch integrity feature; base64 digests are expected here and are not obfuscation.
-
const hash256 = 'wFNeS+K3n/2TKRMFQ2v4iTFOSj+uwF7P/Lt98xrZ5Ro=' const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const hash512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign Base64-encoded SHA-384 digest constant used as a test fixture.Reasoning
Standard base64 SHA-384/512 digest test constants in a subresource-integrity test; legitimate.
-
const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const hash512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg==' const server =likely benign Base64-encoded SHA-512 digest constant used as a test fixture.Reasoning
Base64 digest string in an SRI test file, consistent with expected hash values for 'Hello world!'.
-
const body = 'Hello world!' const hash256Wrong = 'MWD71RGgcch4KOzmR6VMaqWh4VY7eonYmHWvemOtMno=' const hash384Wrong = 'zxSYGGGjWi7iIZ9SmiTenQIQ+/nzPTd5bbesJhBTZvoYomj28rsVLXbUyJU/Yqob' const hash512Wrong = 'eC9loL1pd8AD1Btp9aHu+ymH5Rfnh64hiTYgyfeXy270KfjPQupBkhb2OeP35vZA8ofSBNJ01LzweDIhznuqaw=='likely benign Incorrect base64 digest constant used to test integrity failure.Reasoning
Deliberately wrong hash values in a negative SRI test; these are plain digest literals, not encoded payloads.
-
const hash256Wrong = 'MWD71RGgcch4KOzmR6VMaqWh4VY7eonYmHWvemOtMno=' const hash384Wrong = 'zxSYGGGjWi7iIZ9SmiTenQIQ+/nzPTd5bbesJhBTZvoYomj28rsVLXbUyJU/Yqob' const hash512Wrong = 'eC9loL1pd8AD1Btp9aHu+ymH5Rfnh64hiTYgyfeXy270KfjPQupBkhb2OeP35vZA8ofSBNJ01LzweDIhznuqaw=='likely benign Incorrect base64 SHA-384 digest used to test rejection.Reasoning
Wrong-value SHA-384 digest in a negative integrity test; benign test data.
-
const hash384Wrong = 'zxSYGGGjWi7iIZ9SmiTenQIQ+/nzPTd5bbesJhBTZvoYomj28rsVLXbUyJU/Yqob' const hash512Wrong = 'eC9loL1pd8AD1Btp9aHu+ymH5Rfnh64hiTYgyfeXy270KfjPQupBkhb2OeP35vZA8ofSBNJ01LzweDIhznuqaw==' const server =likely benign Incorrect base64 SHA-512 digest used to test rejection.Reasoning
Wrong-value SHA-512 digest in a negative integrity test; benign test data.
-
await t.. })likely benign Base64 digest in an sha1024 integrity option within a test.Reasoning
Integrity attribute value with a base64 digest inside a fetch test; standard SRI usage.
-
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 hash fixture constants flagged as a row cluster.Reasoning
Multi-line group of SRI digest constants in a test file; the row grouping is just a set of hash 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 SHA-256 digest fixture for the Hello world test string.Reasoning
Comment states these are hash values generated for 'Hello world!'; base64 digest fixtures for an SRI test.
-
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 SHA-384 digest fixture for the Hello world test string.Reasoning
Same generated digest fixtures as the adjacent lines; legitimate test data.
-
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 SHA-512 digest fixture for the Hello world test string.Reasoning
Base64 SHA-512 digest fixture in an SRI test with a documented generation source; benign.
-
likely benign Base64 SRI digest literal used as test input for padding-comparison behavior.
Reasoning
The raw pass flagged a base64-like string that is a test fixture for SRI hash comparison; the file is a test of caseSensitiveMatch with padding variants. Legitimate test data, not obfuscation.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs=' t.. })likely benign Base64 digest test fixture with padding variant.Reasoning
Same base64 test fixture repeated in a padding-mismatch test case; expected in a subresource-integrity test suite.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs==' t.. })likely benign Base64 digest test fixture with double padding.Reasoning
Padding-variant base64 test fixture in an SRI comparison test; no execution or hidden payload.
-
likely benign Base64 digest literal in identical-match test.
Reasoning
Identical-string test fixture for base64 digest comparison; legitimate test code.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs=' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs=' t.. })likely benign Base64 digest literal in identical-match test.Reasoning
Duplicate base64 test fixture in an SRI comparison test; benign.
-
likely benign Base64 digest test fixture with two padding characters.
Reasoning
Base64 digest fixture with two padding chars used in a test asserting equality; benign test data.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs==' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs==' t.. })likely benign Base64 digest test fixture with two padding characters.Reasoning
Repeated base64 test fixture in SRI matching test; no malicious indicators.
-
likely benign Base64 digest fixture with invalid third padding char for negative testing.
Reasoning
Test fixture deliberately containing an invalid padding character to check rejection; a legitimate negative test.
-
const actualValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs==' const expectedValue = 'ypeBEsobvcr6wjGzmiPcTaeG7/gUfE5yuYB3ha/uSLs===' t.. })likely benign Base64 digest fixture with invalid padding for negative testing.Reasoning
Same negative-test fixture with invalid padding; 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/384/512 digest literals for SRI parsing tests.Reasoning
Hash constants with a comment stating they were generated for 'Hello world!' in an SRI metadata parsing test; these are expected digest values, 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 digest literals used as SRI test vectors.Reasoning
Multi-line hash constants in an SRI parsing test file with explanatory comment; standard test fixtures.
-
const hash384 = 'hiVfosNuSzCWnq4X3DTHcsvr38WLWEA5AL6HYU6xo0uHgCY/JV615lypu7hkHMz+' const hash512 = '9s3ioPgZMUzd5V/CJ9jX2uPSjMVWIioKitZtkcytSq1glPUXohgjYMmqz2o9wyMWLLb9jN/+2w/gOPVehf+1tg=='likely benign A base64 SHA-384 hash literal used as test data for SRI metadata parsing.Reasoning
The flagged string is a base64-encoded SHA-384 digest used as a test fixture for subresource integrity metadata parsing. This is a legitimate test vector in a well-known npm package (ssri-like SRI parsing). The raw pass has a high false-positive rate for base64 blobs, and the context is clearly a hash literal in a test file with no decoding or execution.
-
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.
&&