npm / react-dom / 19.3.0-canary-99c106c4-20261014
react-dom 19.3.0-canary-99c106c4-20261014
- Source
- https://github.com/react/react
- Commit scanned
99c106c43439- Directory
packages/react-dom- Compared with
98ce535fdb6f(0 signals introduced since)- Files
- 227 scanned, 0 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 8 info
- Scan time
- 5.7 s
- LLM review
- Reviewed by claude-haiku-5-5 (Anthropic): 2 of 2 warn and critical signals; 2 demoted to info.
- Disclude version
- 4.0.0
- Scanned (UTC)
- 2026-10-15 01:08
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: URL form action via Function() to simulate browser behavior.Reasoning
The Function(...) call runs the body of a javascript: URL form action inside a React DOM test. The eslint-disable comment for no-new-func shows the call is deliberate. The code sits in a try block and is used to simulate browser behavior in a test file, which is a legitimate pattern. The snippet alone does not show the source of action.slice(11), so a small doubt remains about whether the input could be attacker-controlled outside tests.
-
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 helper that dynamically requires a script path in a Fizz SSR test environment and dispatches an error event on failure.Reasoning
This is a React test utility that loads a script from scriptSrc inside a try/catch and reports errors via a window ErrorEvent. The FlowFixMe comment shows it is typed code written by the maintainers. The specifier comes from the test harness, not untrusted input, so the dynamic require is an ordinary test-environment mechanism.
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.
&&