npm / @vitejs/plugin-react / 6.3.0

@vitejs/plugin-react 6.3.0

Source
https://github.com/vitejs/vite-plugin-react
Artifact scanned
plugin-react-6.3.0.tgz (npm tarball · 14.6 KB · SHA-256 81d6c4d9dd19…)
Compared with
plugin-react-6.2.1.tgz (0 signals introduced since)
Files
9 scanned, 1 skipped (binary, oversized, or unrecognised)
Signals
0 critical · 0 warn · 1 info
Scan time
1.9 s
LLM review
Reviewed by claude-haiku-5-5 (Anthropic): 1 of 1 warn and critical signal; 1 demoted to info.
Disclude version
4.3.0
Scanned (UTC)
2026-11-09 06:29

Signals

Ordered by severity, then signals introduced in this release. Hidden characters are shown as ⟨U+…⟩.

  1. info warn → info by review dynamic-import dist/refresh-runtime.js:685:41

    dynamic `import(...)` with a non-literal specifier (ast pass, confidence 0.65)

    // dynamic import is present (https://github.com/vitejs/vite/pull/12732)
    export const __hmr_import = (module) => import(/* @vite-ignore */ module)
    
    // For backwards compatibility with @vitejs/plugin-react.
    likely benign LLM, confidence 0.90 Vite React refresh runtime helper exposing a dynamic import wrapper for HMR module loading.
    Reasoning

    The snippet is a Vite HMR runtime helper that wraps import() with a non-literal specifier, marked @vite-ignore, and the comment links to Vite's own pull request. This is a standard, documented bundler pattern for loading hot-updated modules. The file is a built dist artifact from a known tool, and nothing here decodes data, spawns processes, or reaches an unexpected network endpoint. The finding is a generic dynamic-import flag on a legitimate pattern.

Reproduce This Scan

Run disclude locally to verify. These commands scan the published file; the "new in this release" marks come from comparing it with the previous release's file, which they don't repeat. Add --format sarif for SARIF output. Add --llm (with an API key in the environment) to include the LLM review.

cargo install disclude --version 4.3.0
curl -fsSL -o plugin-react-6.3.0.tgz https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-6.3.0.tgz
printf '%s  %s\n' 81d6c4d9dd19d238dcec1aa090c2f38b7a13d275e24016f336a2f6b1bda4b144 plugin-react-6.3.0.tgz | shasum -a 256 -c -
mkdir pkg && tar -xzf plugin-react-6.3.0.tgz -C pkg --strip-components 1
disclude scan --untrusted --severity info pkg