Vite 8.4.0 is the legitimate Vite bundler. All flagged patterns (Function constructors, fromCharCode, base64/Buffer handling, WebAssembly modules, regex with hex escapes, fetch+exec combinations) appear in minified/bundled third-party code (lodash, parse5, entities, sourcemap decoders) and Vite's own HMR/module-runner logic for source maps and dynamic imports. No credential theft, exfiltration, backdoors, or destructive payloads are present in the provided sources.
AI breakdown
Plain-English summary of what this package does and how it behaves.
Vite is a native-ESM powered web dev build tool for bundling, serving, and building web applications.
Capabilities
- Builds bundles using rolldown
- Provides CLI via bin/vite.js
- Runs type checks and linting scripts
- Contains obfuscated source files
- Performs remote fetches with process execution
- Dynamic module loads with remote sources
Data access
- Filesystem
Network
- Remote fetch with process execution
Static findings indicate obfuscated files, remote fetches, decoded payloads, and dynamic remote module loads; developers should review these against Vite's known legitimate build-tool behavior before installing.
Dependency & execution chain
Every package this one pulls in, colored by verdict. Expand to walk the tree.
Security findings (12)
Static analysis rule matches, with the exact code that triggered them.
Multiple obfuscation patterns in dist/node/chunks/build.js
Multiple obfuscation patterns in dist/node/chunks/dist.js
Multiple obfuscation patterns in dist/node/module-runner.js
File dist/node/chunks/build.js combines network access with process execution
File dist/node/chunks/build.js decodes a base64/hex blob and passes it to an execution sink — a common way to hide a malicious payload.
File dist/node/chunks/build.js builds a dynamic import/require argument alongside network access — possible remote module loading.
File dist/node/module-runner.js decodes a base64/hex blob and passes it to an execution sink — a common way to hide a malicious payload.
File dist/client/bundledDevClient.mjs combines network access with process execution
File dist/client/bundledDevClient.mjs builds a dynamic import/require argument alongside network access — possible remote module loading.
File dist/client/client.mjs combines network access with process execution
File dist/client/client.mjs builds a dynamic import/require argument alongside network access — possible remote module loading.
File dist/node/index.d.ts builds a dynamic import/require argument alongside network access — possible remote module loading.
Files in package (36)
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.
This report reflects ShadowCanopy's threat intelligence at page load and is informational, not a warranty. Canonical URL: https://shadowcanopy.dev/packages/npm/vite