Togoder security

npm package security report

vitest npm package 5.0.3: is it safe?

Medium: risky but common patterns, not malware.

Needs review Version 5.0.3 Files reviewed 67 Size 2.2 MB Scanned

Summary

Togoder Security scanned the npm package vitest@5.0.3 on Nov 2, 2026. An AI review of 67 source files produced 10 medium, 18 low severity findings. The overall verdict is medium: the findings flag risky but common patterns that the package's purpose explains (dynamic code, telemetry, native installers, broad file or network access), not malware.

0
critical
0
high
10
medium
18
low

Findings 28

Login to view the findings

What the code does, the file and line, and the recommendation are for signed-in users. Logging in is free.

Files reviewed

FileVerdictResult
dist/chunks/base.DhkQeZwd.js medium 2 findings
dist/chunks/index.C4tKZ0yW.js medium 1 finding
dist/chunks/index.DpLw24bj.js medium 13 findings
dist/chunks/native.CBlba4VV.js medium 1 finding
dist/chunks/nativeModuleRunner.jwZPY3dg.js medium 2 findings
dist/chunks/vm.vTyZj_02.js medium 2 findings
dist/module-evaluator.js medium 1 finding
dist/chunks/index.DXQx-kDM.js low 2 findings
dist/chunks/init.D0qF-GGk.js low 2 findings
dist/nodejs-worker-loader.js low 1 finding
suppress-warnings.cjs low 1 finding
browser/context.js safe Clear
dist/browser.js safe Clear
dist/chunks/acorn.C1kjbUFw.js safe Clear
dist/chunks/cac.DfDGTQ9W.js safe Clear
dist/chunks/cli-api.C4x4GGip.js safe Clear
dist/chunks/console.RBA5x-0t.js safe Clear
dist/chunks/constants.-juJ8b_4.js safe Clear
dist/chunks/coverage.S6Dao4g-.js safe Clear
dist/chunks/coverage._yXj5zeb.js safe Clear
dist/chunks/creator.203NYCo3.js safe Clear
dist/chunks/defaults.D2ip7f-X.js safe Clear
dist/chunks/display.CXBnkt9a.js safe Clear
dist/chunks/doctor.CpHPRoza.js safe Clear
dist/chunks/env.DzFJjrmK.js safe Clear
Show 42 more files
FileVerdictResult
dist/chunks/globals.9QtHn8Sr.js safe Clear
dist/chunks/index.DmDMHCg8.js safe Clear
dist/chunks/index.cx-_w29y.js safe Clear
dist/chunks/index.ggMXe2IF.js safe Clear
dist/chunks/index.k8L_ZRzq.js safe Clear
dist/chunks/init-forks.hzLs7kMZ.js safe Clear
dist/chunks/init-threads.COb0VD5D.js safe Clear
dist/chunks/inspector.CvyFGlXm.js safe Clear
dist/chunks/modules.BJuCwlRJ.js safe Clear
dist/chunks/nativeModuleMocker.CXSh3m91.js safe Clear
dist/chunks/node.BzimPqT5.js safe Clear
dist/chunks/offset.Dy-5Fdfn.js safe Clear
dist/chunks/pathe.M-eThtNZ.CknpM8Or.js safe Clear
dist/chunks/plugins.D2ut1V9b.js safe Clear
dist/chunks/resolver.fbW9AUvG.js safe Clear
dist/chunks/rpc.BTmCtPly.js safe Clear
dist/chunks/run.BTlFXlnv.js safe Clear
dist/chunks/setup-common.BglbuAHD.js safe Clear
dist/chunks/source-map.DUxvo12T.js safe Clear
dist/chunks/spy.DgMTfhrK.js safe Clear
dist/chunks/tinyrainbow.Ht9iggcq.js safe Clear
dist/chunks/utils.DYj33du9.js safe Clear
dist/chunks/utils.RcGwuOc_.js safe Clear
dist/cli.js safe Clear
dist/config.cjs safe Clear
dist/config.js safe Clear
dist/index.js safe Clear
dist/node.js safe Clear
dist/path.js safe Clear
dist/runtime.js safe Clear
dist/spy.js safe Clear
dist/task-utils.js safe Clear
dist/traces.js safe Clear
dist/worker.js safe Clear
dist/workers/forks.js safe Clear
dist/workers/runVmTests.js safe Clear
dist/workers/threads.js safe Clear
dist/workers/vmForks.js safe Clear
dist/workers/vmThreads.js safe Clear
index.cjs safe Clear
package.json safe Clear
vitest.mjs safe Clear

Scanned versions of vitest

VersionVerdictFilesScanned
5.0.3 Needs review 67 Nov 2, 2026

Frequently asked questions

Is vitest safe to use?

No confirmed malware was found in vitest@5.0.3, but the review flagged 10 medium, 18 low severity findings for risky patterns worth checking before you rely on it.

Does vitest contain malware?

No malware was identified in vitest@5.0.3 when Togoder Security scanned it on Nov 2, 2026. A new version can still introduce malicious code, so scan the exact versions in your lockfile.

How was vitest checked?

Togoder Security downloaded the published npm package and had an AI model read its 67 source files, looking for install scripts, credential access, network exfiltration, obfuscation, backdoors and crypto-wallet theft. The results are cached by file hash and shown here.

How do I scan vitest together with the rest of my dependencies?

Upload your lockfile at https://security.togoder.click/scan or call the API documented at https://security.togoder.click/api-docs. Files that have already been scanned, like the ones in vitest@5.0.3, cost nothing.

Related security reports