registry  /  vite-plugin-react-server  /  3.1.2

vite-plugin-react-server@3.1.2

build.inlineFlight: the inlined flight payload could be read before the HTML parser finished writing it, leaving pages permanently un-hydrated (React #412). Fixed in 3.1.6.

Vite plugin for React Server Components (RSC)

Static Scan Results

scanned 2d ago · by rust-scanner

Static analysis flagged 14 finding(s) at 72.0% confidence. This version is warn-only unless an AI or security-team review confirms malicious behavior.

Static reason
One or more suspicious static signals were detected.

Decision evidence

public snapshot
Behavioral surface
Source
ChildProcessCryptoDynamicRequireEnvironmentVarsFilesystemNativeBindingsNetworkShell
Supply chain
HighEntropyStrings
ManifestNo manifest risk signals triggered.
scanned 665 file(s), 4.32 MB of source

Source & flagged code

6 flagged · loading source
scripts/verify-package-entrypoints.mjsView file
1import { execFileSync } from "node:child_process"; L2: import { existsSync } from "node:fs";
High
Child Process

Package source references child process execution.

scripts/verify-package-entrypoints.mjsView on unpkg · L1
dist/plugin/dev-server/configureRequestHandler.client.jsView file
115if (isReactServerCondition() && serverEnv && "runner" in serverEnv && serverEnv.runner) try { L116: propsModule = await serverEnv.runner.import(fullPropsPath); L117: } catch (runnerError) {
Medium
Dynamic Require

Package source references dynamic require/import behavior.

dist/plugin/dev-server/configureRequestHandler.client.jsView on unpkg · L115
dist/plugin/config/createRollupLikeHash.jsView file
18* default; short, filename-safe, no special characters. L19: * - `base64`: first 8 hex chars decoded to bytes and base64-encoded with L20: * URL-safe substitutions (`+`→`-`, `/`→`_`, `=` stripped). ... L39: L40: //# sourceMappingURL=data:application/json;charset=utf-8;base64,[redacted]...
Low
Weak Crypto

Package source references weak cryptographic algorithms.

dist/plugin/config/createRollupLikeHash.jsView on unpkg · L18
scripts/verify-dev-flight-hydration.mjsView file
34const PORT = 4178; L35: const ORIGIN = `http://localhost:${PORT}`; L36: const BASE = "/"; ... L39: const env = (extra) => ({ L40: ...process.env, L41: BASE_URL: BASE, ... L46: const run = (cmd, extra) => L47: execSync(cmd, { cwd: FIXTURE, stdio: "inherit", env: env(extra) }); L48:
High
Same File Env Network Execution

A single source file combines environment access, network access, and code or shell execution; review context before blocking.

scripts/verify-dev-flight-hydration.mjsView on unpkg · L34
scripts/fix-unused-imports.mjsView file
6// Get ESLint output L7: const eslintOutput = execSync('npx eslint plugin --format json', { encoding: 'utf8' }); L8: const results = JSON.parse(eslintOutput);
High
Runtime Package Install

Package source invokes a package manager install command at runtime.

scripts/fix-unused-imports.mjsView on unpkg · L6
scripts/test-both.shView file
path = scripts/test-both.sh kind = build_helper sizeBytes = 2146 magicHex = [redacted]
Medium
Ships Build Helper

Package ships non-JavaScript build or shell helper files.

scripts/test-both.shView on unpkg

Findings

4 High5 Medium5 Low
HighChild Processscripts/verify-package-entrypoints.mjs
HighShell
HighSame File Env Network Executionscripts/verify-dev-flight-hydration.mjs
HighRuntime Package Installscripts/fix-unused-imports.mjs
MediumDynamic Requiredist/plugin/dev-server/configureRequestHandler.client.js
MediumNetwork
MediumEnvironment Vars
MediumShips Build Helperscripts/test-both.sh
MediumStructural Risk Force Deep Review
LowNon Install Lifecycle Scripts
LowScripts Present
LowWeak Cryptodist/plugin/config/createRollupLikeHash.js
LowFilesystem
LowHigh Entropy Strings