npm / react-dom / 0.0.0-experimental-99c106c4-20261014
react-dom 0.0.0-experimental-99c106c4-20261014
- Source
- https://github.com/react/react
- Commit scanned
99c106c43439- Directory
packages/react-dom- Compared with
997f52fbb30e(1 signals introduced since)- Files
- 227 scanned, 0 skipped (binary, oversized, or unrecognised)
- Signals
- 0 critical · 0 warn · 8 info
- Scan time
- 6.0 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:20new in this release// eslint-disable-next-line no-new-func result = ; } }likely benign A test helper that evaluates the body of a 'javascript:' form action via Function(), with the no-new-func lint rule explicitly suppressed.Reasoning
The snippet is inside a test file. The `action.slice(11)` call strips a 'javascript:' prefix (11 characters), so the test is simulating a javascript: URL form action in jsdom. The eslint-disable comment for no-new-func shows the dynamic Function call was deliberate. The code is critical-severity only because the AST pass flags any non-literal Function body. Nothing suggests it runs attacker-controlled input outside the test harness.
-
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 A test-utils function that loads a script with a dynamic require and reports load failures as window error events.Reasoning
This is a React test utility that calls require on a script source inside a try block, and it catches the error to dispatch a window ErrorEvent. The dynamic require is a test-harness mechanism for loading scripts, and the Flow suppression comment shows it was intentional. The snippet shows no network fetch, encoding, or obfuscation.
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.
&&