All flagged patterns are from legitimate bundled/minified code in Vitest (acorn parser for JS identifiers, ANSI escape handling, source-map base64 decoding, dynamic module imports, worker forking, and Vite module runner). No malicious behavior present.
AI breakdown
Plain-English summary of what this package does and how it behaves.
Vitest is a testing framework powered by Vite, providing CLI entrypoint, build/dev scripts, and numerous dist chunks for test running and coverage.
Capabilities
- Obfuscated source files (multiple)
- Remote fetch with process execution
- Decoded payload executed
- Dynamic module load with remote source
- Runtime remote code execution
- Hardcoded public IP in network code
Data access
- None observed
Network
- Remote fetch with process execution
- Hardcoded public IP in network code
Manifest describes a legitimate testing tool with Vite dependency and CLI, but static findings flag repeated obfuscation, remote fetches, dynamic loading, and RCE indicators that warrant caution before installation.
Dependency & execution chain
Every package this one pulls in, colored by verdict. Expand to walk the tree.
Obfuscated / hidden code
Encoded payloads decoded statically (without executing them) so you can see what they resolve to.
Multiple obfuscation patterns in dist/chunks/acorn.B2iPLyUM.js
Multiple obfuscation patterns in package/dist/chunks/acorn.B2iPLyUM.js
Security findings (28)
Static analysis rule matches, with the exact code that triggered them.
Multiple obfuscation patterns in dist/chunks/acorn.B2iPLyUM.js
Multiple obfuscation patterns in package/dist/chunks/acorn.B2iPLyUM.js
Multiple obfuscation patterns in dist/chunks/cli-api.BK8pd4xc.js
Multiple obfuscation patterns in package/dist/chunks/cli-api.BK8pd4xc.js
Multiple obfuscation patterns in dist/chunks/index.og1WyBLx.js
Multiple obfuscation patterns in package/dist/chunks/index.og1WyBLx.js
Multiple obfuscation patterns in dist/chunks/index.UpGiHP7g.js
Multiple obfuscation patterns in package/dist/chunks/index.UpGiHP7g.js
File dist/chunks/cli-api.BK8pd4xc.js combines network access with process execution
File dist/chunks/cli-api.BK8pd4xc.js decodes a base64/hex blob and passes it to an execution sink — a common way to hide a malicious payload.
File dist/chunks/cli-api.BK8pd4xc.js builds a dynamic import/require argument alongside network access — possible remote module loading.
File package/dist/chunks/cli-api.BK8pd4xc.js combines network access with process execution
File package/dist/chunks/cli-api.BK8pd4xc.js decodes a base64/hex blob and passes it to an execution sink — a common way to hide a malicious payload.
File package/dist/chunks/cli-api.BK8pd4xc.js builds a dynamic import/require argument alongside network access — possible remote module loading.
File dist/chunks/init.k9zZ9sLh.js builds a dynamic import/require argument alongside network access — possible remote module loading.
File package/dist/chunks/init.k9zZ9sLh.js builds a dynamic import/require argument alongside network access — possible remote module loading.
File dist/chunks/startVitestModuleRunner.DB-7oCpn.js fetches data over the network and passes it to a code-execution sink (eval/Function/vm) — remote code can run after install.
File dist/chunks/startVitestModuleRunner.DB-7oCpn.js builds a dynamic import/require argument alongside network access — possible remote module loading.
File package/dist/chunks/startVitestModuleRunner.DB-7oCpn.js fetches data over the network and passes it to a code-execution sink (eval/Function/vm) — remote code can run after install.
File package/dist/chunks/startVitestModuleRunner.DB-7oCpn.js builds a dynamic import/require argument alongside network access — possible remote module loading.
File dist/chunks/test.DNmyFkvJ.js contains a hardcoded public IP (8.6.1.5) used in network code — review for hidden exfiltration or C2 endpoints.
File package/dist/chunks/test.DNmyFkvJ.js contains a hardcoded public IP (8.6.1.5) used in network code — review for hidden exfiltration or C2 endpoints.
File dist/chunks/vm.CXMd5FHa.js fetches data over the network and passes it to a code-execution sink (eval/Function/vm) — remote code can run after install.
File dist/chunks/vm.CXMd5FHa.js decodes a base64/hex blob and passes it to an execution sink — a common way to hide a malicious payload.
File dist/chunks/vm.CXMd5FHa.js builds a dynamic import/require argument alongside network access — possible remote module loading.
File package/dist/chunks/vm.CXMd5FHa.js fetches data over the network and passes it to a code-execution sink (eval/Function/vm) — remote code can run after install.
File package/dist/chunks/vm.CXMd5FHa.js decodes a base64/hex blob and passes it to an execution sink — a common way to hide a malicious payload.
File package/dist/chunks/vm.CXMd5FHa.js builds a dynamic import/require argument alongside network access — possible remote module loading.
Files in package (228)
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/vitest