jsdom 30.1.3
- Source
- https://github.com/jsdom/jsdom
- Tag scanned
v30.1.3- Compared with
v30.1.2(2 signals introduced since)- Files
- 884 scanned, 327 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 37 info
- Scan time
- 9.0 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 13 of 13 warn and critical signals; 13 demoted to info.
- Disclude version
- 4.1.0
- Scanned (UTC)
- 2026-10-22 21:00
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
info
warn→ info by reviewdynamic-importscripts/generate-css-style-properties.js:74:37new in this release// The property implementations can be loaded now that their definitions have been generated. const = ; const longhandsByShorthand = ; const shorthandsByLonghand = ;likely benign Build script loads generated shorthand property definitions.Reasoning
Build script requiring a generated helper module via path.resolve from a fixed directory. Non-literal require in a code generator is ordinary.
-
info
dynamic-executiontest/web-platform-tests/to-upstream/xhr/authentication-redirect.html:49:37new in this releaseJSON.., crossOrigin ? "" : `Basic ` ); }, ` redirect, challenge at , ` + -
likely benign Benchmark runner dynamically requires a suite factory by path.
Reasoning
Dynamic require of a benchmark suite path built from a suite name in a test/benchmark harness. Non-literal require is a flag but the context is a local developer benchmark runner; input is not attacker-controlled in normal use.
-
Copyright © 2011 W3C® (MIT< -
::first-letter pseudo-elements: font properties, ‘text-decoration’, ‘text-transform’, ‘letter-spacing’, ‘word-spacing’ (when appropriate), ‘line -
likely benign Implements window.atob base64 decoding for jsdom.
Reasoning
atob is a standard browser API used to implement the window.atob method for decoding base64 strings; it is legitimate and not a dropper step by itself.
-
-
info
critical→ info by reviewdynamic-executionlib/jsdom/living/helpers/create-event-accessor.js:128:7// eslint-disable-next-line no-new-func ; // properly error out on syntax errors // Note: this won't execute body; that would require `Function(body)()`. }likely benign Compiles inline event handler body text to validate syntax in jsdom.Reasoning
Function(body) is used to compile event handler attribute bodies, as in the browser spec, and the comment shows it is only used to surface syntax errors without executing. This is a known legitimate pattern in jsdom, though it is dynamic code construction from attribute content.
-
descriptorSource = `.descriptor`; const implementation = ;likely benign Build script requires per-property implementation modules.Reasoning
Code generator requiring property implementation files from a fixed directory listing. Benign build-time behavior.
-
element. = "data:image/png;base64," + "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkqAcAAIUAgUW0RjgAAAAASUVORK5CYII="; dom....;likely benign Test fixture containing a small base64 PNG data URI.Reasoning
A small PNG data URI embedded in a test fixture for image loading. Standard test content.
-
-
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKgAAACoCAYAAAB0S6W0AAAABmJLR0QA/wD/AP+gvaeTAAAJ7ElEQVR4nO3dX0yb9R7H8c+zwijNYHQdDDY7UzaWoRSjXizTQyTRGJPGbEYvTAgX58QLY+LfeG2OXnuGjhtONq7Ikl2OiyVqtgRDiI5Ejes8IyBjggp2qx0g0FLb37n4DgseB33a56Hfnn1eSZNlK6W/X988/fX5tczC/ceU+g4UySr1HdhOO0p9B4g2w0BJNQZKqjFQUo2BkmoMlFRjoKQaAyXVGCipxklikely benign Base64 image data stored in a text fixture file.Reasoning
A long line in a text file that is a base64-encoded image fixture for WPT porting. Fixture data, not executable.
-
info
critical→ info by reviewdynamic-executiontest/to-port-to-wpts/jquery-fixtures/jquery-1.11.0.js:8550:5}) ) ? : jQuery.; };likely benign Vendored jQuery 1.11.0 JSON parsing fallback using Function constructor.Reasoning
This is the well-known jQuery parseJSON fallback using Function to parse JSON when native JSON.parse is unavailable. It is a vendored library fixture with a standard legacy pattern.
-
testNode = addressList.; testNode.; attributes = testNode.; -
testNode = addressList.; testNode.; attributes = testNode.; -
assert.; }); -
assert.; }); -
testNode = addressList.; testNode.; attributes = testNode.; -
testNode = addressList.; testNode.; attributes = testNode.; -
let domesticAttr = doc.; domesticAttr. = "Yα"; firstNode.; let attributes = doc...; -
let domesticAttr = doc.; domesticAttr. = "Yα"; firstNode.; let attributes = doc...; -
<!ATTLIST svg xmlns CDATA #IMPLIED xmlns:xsi CDATA #IMPLIED xsi:schemaLocation CDATA #IMPLIED> -
var doc = ; var implementation = -
doc, doc., doc., doc., -
addresses.; addresses.; addresses.; names.; -
addresses.; addresses.; addresses.; names.; -
doc, doc., doc., doc., -
addresses.; addresses.; addresses.; addresses.; -
addresses.; addresses.; addresses.; addresses.; -
info
unicode-surrogatetest/web-platform-tests/to-upstream/css/css-syntax/input-preprocessing-cssom.html:31:6, , , -
info
unicode-surrogatetest/web-platform-tests/to-upstream/css/css-syntax/input-preprocessing-cssom.html:32:6, , ]; -
info
dynamic-executiontest/web-platform-tests/to-upstream/css/cssom/stylesheet-import-ownership-and-order.html:25:40 -
info
critical→ info by reviewdynamic-executiontest/web-platform-tests/to-upstream/dom/nodes/Node-compareDocumentPosition-dont-upstream.html:14:19testNodes.likely benign WPT test uses eval to resolve named test node variables.Reasoning
eval of node variable names in a WPT test HTML file, used to look up test nodes by identifier. Test-harness code with no external input; eval is poor style but not malicious.
-
info
critical→ info by reviewdynamic-executiontest/web-platform-tests/to-upstream/dom/nodes/Node-compareDocumentPosition-dont-upstream.html:16:17testNodes.likely benign WPT test evals node name strings to fetch test nodes.Reasoning
Same eval-based identifier lookup in a WPT compareDocumentPosition test. Benign test code.
-
info
critical→ info by reviewproxy-global-hijacktest/web-platform-tests/to-upstream/uievents/constructors/constructor-view-proxy.html:18:19;likely benign WPT test passes a Proxy wrapping window to check constructor rejection.Reasoning
A transparent Proxy around window is used to test that UIEvent constructor rejects non-Window views. This is a conformance test for spec behavior, not a hijack.
-
const configs = ;likely benign WPT server loads default config module from a path variable.Reasoning
Test server loads config files by path from a configPaths object defined in the same file. Non-literal require in test tooling is ordinary.
-
default: , toUpstream: };likely benign WPT server loads toUpstream config module from a path variable.Reasoning
Same config loading pattern for the toUpstream config path. Benign test tooling.
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.
&&