npm package intelligence

vite — deep security report

ShadowCanopy's full breakdown of vite on npm: verdict, AI analysis, dependency chain, network behavior, prebuilds, and obfuscated code.

Safe to use
Deep-scanned by ShadowCanopy — no threats found in its code, dependencies, or network behavior.
Scanned 10/12/2026
Approvedvite@5.4.0View on registry ↗latest: 5.4.0

Vite 5.4.0 is legitimate. All flagged patterns are benign: source-map base64/vlq encoding, ANSI color escapes, HTML entity/Unicode parsing, debug logging, and path/URL helpers. No credential theft, C2, or hidden payloads.

Protect your projects free

AI breakdown

Plain-English summary of what this package does and how it behaves.

Vite is a native-ESM powered web dev build tool that provides CLI-driven bundling, development server, and build capabilities using Rollup and esbuild.

Capabilities

  • Provides CLI via bin/vite.js
  • Runs build and dev scripts with Rollup/esbuild
  • Contains multiple obfuscated source files
  • Executes decoded payloads
  • Performs remote fetches with process execution
  • Dynamically loads modules from remote sources

Data access

  • Filesystem
  • Environment variables

Network

  • Makes outbound HTTP requests
  • Contains hardcoded public IP in network code

Manifest describes a standard build tool, but static findings report obfuscation, remote fetches, decoded payloads, and dynamic remote module loads that require review before use.

Dependency & execution chain

Every package this one pulls in, colored by verdict. Expand to walk the tree.

13 packages6 direct
vite@5.4.027 findings
postcss@8.5.30
rolldown@1.2.14
picomatch@4.0.72 findings
tinyglobby@0.2.17
lightningcss@1.33.0

Obfuscated / hidden code

Encoded payloads decoded statically (without executing them) so you can see what they resolve to.

Obfuscated source filedist/node/chunks/dep-D-7KCb9p.js

Multiple obfuscation patterns in dist/node/chunks/dep-D-7KCb9p.js

Obfuscated source filepackage/dist/node/chunks/dep-D-7KCb9p.js

Multiple obfuscation patterns in package/dist/node/chunks/dep-D-7KCb9p.js

Security findings (27)

Static analysis rule matches, with the exact code that triggered them.

mediumVersion metadata mismatchATK-007types/package.json

Version mismatch in types/package.json

mediumObfuscated source fileATK-023dist/node-cjs/publicUtils.cjs

Multiple obfuscation patterns in dist/node-cjs/publicUtils.cjs

mediumObfuscated source fileATK-023package/dist/node-cjs/publicUtils.cjs

Multiple obfuscation patterns in package/dist/node-cjs/publicUtils.cjs

mediumObfuscated source fileATK-023dist/node/chunks/dep-D-7KCb9p.js

Multiple obfuscation patterns in dist/node/chunks/dep-D-7KCb9p.js

mediumObfuscated source fileATK-023package/dist/node/chunks/dep-D-7KCb9p.js

Multiple obfuscation patterns in package/dist/node/chunks/dep-D-7KCb9p.js

mediumObfuscated source fileATK-023dist/node/chunks/dep-DvdjAuZF.js

Multiple obfuscation patterns in dist/node/chunks/dep-DvdjAuZF.js

mediumObfuscated source fileATK-023package/dist/node/chunks/dep-DvdjAuZF.js

Multiple obfuscation patterns in package/dist/node/chunks/dep-DvdjAuZF.js

mediumObfuscated source fileATK-023dist/node/runtime.js

Multiple obfuscation patterns in dist/node/runtime.js

mediumObfuscated source fileATK-023package/dist/node/runtime.js

Multiple obfuscation patterns in package/dist/node/runtime.js

highDecoded payload executedATK-026dist/node-cjs/publicUtils.cjs

File dist/node-cjs/publicUtils.cjs decodes a base64/hex blob and passes it to an execution sink — a common way to hide a malicious payload.

highDecoded payload executedATK-026package/dist/node-cjs/publicUtils.cjs

File package/dist/node-cjs/publicUtils.cjs decodes a base64/hex blob and passes it to an execution sink — a common way to hide a malicious payload.

highHardcoded public IP in network codeATK-028dist/node/constants.js

File dist/node/constants.js contains a hardcoded public IP (0000:0000:0000:0000:0000:0000:0000:0001) used in network code — review for hidden exfiltration or C2 endpoints.

highHardcoded public IP in network codeATK-028package/dist/node/constants.js

File package/dist/node/constants.js contains a hardcoded public IP (0000:0000:0000:0000:0000:0000:0000:0001) used in network code — review for hidden exfiltration or C2 endpoints.

highRemote fetch with process executionATK-024dist/node/chunks/dep-DvdjAuZF.js

File dist/node/chunks/dep-DvdjAuZF.js combines network access with process execution

highDecoded payload executedATK-026dist/node/chunks/dep-DvdjAuZF.js

File dist/node/chunks/dep-DvdjAuZF.js decodes a base64/hex blob and passes it to an execution sink — a common way to hide a malicious payload.

highDynamic module load with remote sourceATK-027dist/node/chunks/dep-DvdjAuZF.js

File dist/node/chunks/dep-DvdjAuZF.js builds a dynamic import/require argument alongside network access — possible remote module loading.

highRemote fetch with process executionATK-024package/dist/node/chunks/dep-DvdjAuZF.js

File package/dist/node/chunks/dep-DvdjAuZF.js combines network access with process execution

highDecoded payload executedATK-026package/dist/node/chunks/dep-DvdjAuZF.js

File package/dist/node/chunks/dep-DvdjAuZF.js decodes a base64/hex blob and passes it to an execution sink — a common way to hide a malicious payload.

highDynamic module load with remote sourceATK-027package/dist/node/chunks/dep-DvdjAuZF.js

File package/dist/node/chunks/dep-DvdjAuZF.js builds a dynamic import/require argument alongside network access — possible remote module loading.

highDecoded payload executedATK-026dist/node/runtime.js

File dist/node/runtime.js decodes a base64/hex blob and passes it to an execution sink — a common way to hide a malicious payload.

highDecoded payload executedATK-026package/dist/node/runtime.js

File package/dist/node/runtime.js decodes a base64/hex blob and passes it to an execution sink — a common way to hide a malicious payload.

highRemote fetch with process executionATK-024dist/client/client.mjs

File dist/client/client.mjs combines network access with process execution

highDynamic module load with remote sourceATK-027dist/client/client.mjs

File dist/client/client.mjs builds a dynamic import/require argument alongside network access — possible remote module loading.

highRemote fetch with process executionATK-024package/dist/client/client.mjs

File package/dist/client/client.mjs combines network access with process execution

highDynamic module load with remote sourceATK-027package/dist/client/client.mjs

File package/dist/client/client.mjs builds a dynamic import/require argument alongside network access — possible remote module loading.

highDynamic module load with remote sourceATK-027dist/node/index.d.ts

File dist/node/index.d.ts builds a dynamic import/require argument alongside network access — possible remote module loading.

highDynamic module load with remote sourceATK-027package/dist/node/index.d.ts

File package/dist/node/index.d.ts builds a dynamic import/require argument alongside network access — possible remote module loading.

Known vulnerabilities (15)

Published CVEs / advisories affecting this version.

GHSA-c27g-q93r-2cwfHIGH

launch-editor vulnerable to command injection via the crafted request on Windows

GHSA-fx2h-pf6j-xcffHIGH

vite: `server.fs.deny` bypass on Windows alternate paths

GHSA-356w-63v5-8wf4MODERATE

Vite has an `server.fs.deny` bypass with an invalid `request-target`

GHSA-4r4m-qw57-chr8MODERATE

Vite has a `server.fs.deny` bypassed for `inline` and `raw` with `?import` query

GHSA-4w7w-66w2-5vf9MODERATE

Vite Vulnerable to Path Traversal in Optimized Deps `.map` Handling

GHSA-64vr-g452-qvp3MODERATE

Vite DOM Clobbering gadget found in vite bundled scripts that leads to XSS

GHSA-859w-5945-r5v3MODERATE

Vite's server.fs.deny bypassed with /. for files under project root

GHSA-93m4-6634-74q7MODERATE

vite allows server.fs.deny bypass via backslash on Windows

GHSA-9cwx-2883-4wfxMODERATE

Vite's `server.fs.deny` is bypassed when using `?import&raw`

GHSA-v6wh-96g9-6wx3MODERATE

launch-editor: NTLMv2 hash disclosure via UNC path handling on Windows

GHSA-vg6x-rcgg-rjx6MODERATE

Websites were able to send any requests to the development server and read the response in vite

GHSA-x574-m823-4x7wMODERATE

Vite bypasses server.fs.deny when using ?raw??

GHSA-xcj6-pq6g-qj4xMODERATE

Vite allows server.fs.deny to be bypassed with .svg or relative paths

GHSA-g4jq-h2w9-997cLOW

Vite middleware may serve files starting with the same name with the public directory

GHSA-jqfw-vq24-v9c3LOW

Vite's `server.fs` settings were not applied to HTML files

Package metadata

LicenseMIT

Native-ESM powered web dev build tool

Homepage ↗Repository ↗

Files in package (60)

bin/openChrome.applescriptpackage/bin/openChrome.applescriptindex.cjspackage/index.cjsdist/node-cjs/publicUtils.cjspackage/dist/node-cjs/publicUtils.cjsindex.d.ctspackage/index.d.ctsdist/node/cli.jspackage/dist/node/cli.jsdist/node/constants.jspackage/dist/node/constants.jsdist/node/chunks/dep-C3NStZH1.jspackage/dist/node/chunks/dep-C3NStZH1.jsdist/node/chunks/dep-D-7KCb9p.jspackage/dist/node/chunks/dep-D-7KCb9p.jsdist/node/chunks/dep-DvdjAuZF.jspackage/dist/node/chunks/dep-DvdjAuZF.jsdist/node/chunks/dep-IQS-Za7F.jspackage/dist/node/chunks/dep-IQS-Za7F.jsdist/node/index.jspackage/dist/node/index.jsdist/node/runtime.jspackage/dist/node/runtime.jsbin/vite.jspackage/bin/vite.jspackage.jsonpackage/package.jsontypes/package.jsonpackage/types/package.jsonLICENSE.mdpackage/LICENSE.mdREADME.mdpackage/README.mddist/client/client.mjspackage/dist/client/client.mjsdist/client/env.mjspackage/dist/client/env.mjsclient.d.tspackage/client.d.ts

How ShadowCanopy checks npm packages

ShadowCanopy blocks every dependency by default and only lets through what it can verify — against live malicious-package advisories, an AI behavior scan, and a byte-for-byte hash check. It protects installs across npm, PyPI, crates.io, pkg.go.dev, RubyGems, Maven Central, NuGet, Packagist, Hex, pub.dev, Swift Package Manager.

Protect your projects freeSee what's being blocked

This report reflects ShadowCanopy's threat intelligence at page load and is informational, not a warranty. Canonical URL: https://shadowcanopy.dev/packages/npm/vite