npm / react-dom / 19.3.0-canary-ab0d927f-20261020
react-dom 19.3.0-canary-ab0d927f-20261020
- Source
- https://github.com/react/react
- Commit scanned
ab0d927f53f6- Directory
packages/react-dom- Compared with
a7cce7b31b8f(0 signals introduced since)- Files
- 227 scanned, 0 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 8 info
- Scan time
- 6.8 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 11:29
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 code that evaluates the body of a javascript: form action string via Function constructor.Reasoning
The snippet strips an 11-character prefix (length of 'javascript:') from an action string and runs the remainder via Function(...)(), inside a try/catch with an eslint no-new-func suppression. In a React DOM form test, this most likely simulates how a javascript: form action URL would execute, to check React's handling of such actions. It is test-only code, not an obfuscated dropper, though the dynamic execution is real and the surrounding file was not shown.
-
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 requires a script by a variable source path and reports load errors via a window ErrorEvent.Reasoning
The require(scriptSrc) call sits in a test utility inside a try/catch that dispatches a synthetic ErrorEvent on failure. This is a test harness loading a script source it was given, with a Flow suppression comment. The non-literal specifier is expected in this kind of utility, and nothing in the snippet suggests an attacker-controlled or hidden payload.
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.
&&