react-dom 19.3.1
- Source
- https://github.com/react/react
- Tag scanned
v19.3.1- Directory
packages/react-dom- Compared with
v19.3.0(0 signals introduced since)- Files
- 226 scanned, 0 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 8 info
- Scan time
- 7.1 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 2 of 2 warn and critical signals; 2 demoted to info.
- Disclude version
- 4.1.0
- Scanned (UTC)
- 2026-10-22 17:12
Signals
Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.
-
info
critical→ info by reviewdynamic-executionpackages/react-dom/src/__tests__/ReactDOMForm-test.js:963:20// eslint-disable-next-line no-new-func result = ; } }likely benign Test helper that evaluates the body of a javascript: form action string via the Function constructor, with lint suppression.Reasoning
The snippet sits in a React DOM test file and the call is preceded by an eslint-disable for no-new-func, so the use of Function is deliberate. The argument is `action.slice(11)`, which strips a 'javascript:' prefix, so this looks like a test harness simulating javascript: URL form actions in jsdom. It runs test-controlled fixture strings, not untrusted input, and is not a dropper or obfuscation. The severity is critical only because the scanner matches the Function constructor generically.
-
info
unicode-surrogatepackages/react-dom/src/events/plugins/__tests__/BeforeInputEventPlugin-test.js:159:38'keypress', , ], }, -
info
unicode-surrogatepackages/react-dom/src/events/plugins/__tests__/BeforeInputEventPlugin-test.js:164:49eventSimulator: simulateEvent, eventSimulatorArgs: , }, -
info
unicode-surrogatepackages/react-dom/src/events/plugins/__tests__/BeforeInputEventPlugin-test.js:293:49.; .; }, }, -
info
unicode-surrogatepackages/react-dom/src/events/plugins/__tests__/BeforeInputEventPlugin-test.js:414:49.; .; }, }, -
info
unicode-surrogatepackages/react-dom/src/events/plugins/__tests__/BeforeInputEventPlugin-test.js:541:49.; .; }, }, -
info
unicode-surrogatepackages/react-dom/src/events/plugins/__tests__/BeforeInputEventPlugin-test.js:676:49.; .; }, }, -
// $FlowFixMe[unsupported-syntax] ; }likely benign Test utility that dynamically requires a script path and reports load errors via ErrorEvent.Reasoning
This is a React test utility that requires a script source path inside a try block, with a Flow suppression comment. It is used to load test-bundled scripts during Fizz SSR tests, and the specifier comes from test setup rather than external input. Dynamic require of a test-controlled path is a normal pattern in this kind of harness, and the surrounding code only catches errors and dispatches an ErrorEvent.
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.
&&