jsdom 30.1.3
- Source
- https://github.com/jsdom/jsdom
- Tag scanned
v30.1.3- Compared with
v30.1.2(1 signals introduced since)- Files
- 532 scanned, 679 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 28 info
- Scan time
- 7.5 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 10 of 10 warn and critical signals; 10 demoted to info.
- Disclude version
- 4.0.0
- Scanned (UTC)
- 2026-10-16 01:10
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 a local shorthand-properties helper module.Reasoning
Build script requiring a helper module via path.resolve under a known project directory. Normal code-generation tooling with no untrusted input.
-
likely benign Benchmark runner dynamically requires a suite module by name from a local directory.
Reasoning
Dynamic require of a path built from a suite name in a benchmark runner. Non-literal require is a notable pattern but the context is a local benchmark harness loading its own suite files; no network or encoded payload involved.
-
likely benign Implementation of window.atob base64 decoding in jsdom.
Reasoning
atob is used as a plain base64 decoder inside a try/catch that converts DOMException, which is the standard implementation of the window.atob API. The decoded string is returned, not executed.
-
-
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 Syntax-check of event handler attribute body via Function constructor, with a comment stating it is not executed.Reasoning
The comment explicitly states the Function constructor is used only to validate syntax and the body is not executed. This is a known, documented technique for compiling event handler attribute bodies in jsdom; it is a legitimate use of Function, though it is a dynamic code construct.
-
descriptorSource = `.descriptor`; const implementation = ;likely benign Generator script dynamically requires property implementation files from the repo.Reasoning
Code generator requiring each property implementation file from a local directory during generation. Standard build tooling pattern.
-
element. = "data:image/png;base64," + "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkqAcAAIUAgUW0RjgAAAAASUVORK5CYII="; dom....;likely benign Test fixture embedding a small base64 PNG data URI.Reasoning
A small embedded PNG data URI used as an image src in a test. The base64 is a real tiny PNG, consistent with test fixtures; no decoding to executable code.
-
-
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKgAAACoCAYAAAB0S6W0AAAABmJLR0QA/wD/AP+gvaeTAAAJ7ElEQVR4nO3dX0yb9R7H8c+zwijNYHQdDDY7UzaWoRSjXizTQyTRGJPGbEYvTAgX58QLY+LfeG2OXnuGjhtONq7Ikl2OiyVqtgRDiI5Ejes8IyBjggp2qx0g0FLb37n4DgseB33a56Hfnn1eSZNlK6W/X988/fX5tczC/ceU+g4UySr1HdhOO0p9B4g2w0BJNQZKqjFQUo2BkmoMlFRjoKQaAyXVGCipxklikely benign Test fixture text file holding a base64-encoded image.Reasoning
A text file containing a long base64-encoded PNG image, a test fixture. Long line is simply the encoded image data.
-
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 legacy JSON parsing fallback using Function constructor.Reasoning
This is the well-known jQuery parseJSON fallback that uses Function to parse JSON when native JSON.parse is unavailable, in a vendored jQuery fixture. Legitimate library code from an old jQuery version.
-
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.; -
const configs = ;likely benign Test harness requires default WPT server configuration module.Reasoning
Test server requiring config files from configPaths, which are local project configuration paths. Standard test harness configuration loading.
-
default: , toUpstream: };likely benign Test harness requires upstream WPT server configuration module.Reasoning
Same pattern as the adjacent line: loads the upstream WPT config from a local path in the test harness. Benign configuration loading.
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.
&&