vitest
Next generation testing framework powered by Vite
1
Versions
MIT
License
No
Install Scripts
Verified
Provenance
Supply chain provenance
Status for the latest visible version.
SLSA provenance attestation
npm registry signatures
No source commit
Maintainers
antfupatakoreannoyyx990803vitestbot
Keywords
vitevitesttestjest
Accepted risks
Findings the reviewer chose to accept rather than block on.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| source-diff | obfuscated-file:dist/chunks/cac.CVxlyDFd.js | AI (source-diff): Bundled/minified build output with readable imports; standard for vitest dist chunks. | ai | |
| source-diff | large-new-source-files | AI (source-diff): Content-hashed Rollup chunks regenerate on each build; new filenames between beta versions are expected. | ai | |
| source-diff | obfuscated-file:dist/chunks/cac.Vtz91O0H.js | AI (source-diff): Rollup-bundled CLI parser code with content-hashed filenames; standard build output for vitest, not obfuscation. | ai | |
| dependencies | unvetted-dep:chai | AI (dependencies): chai is a well-established assertion library; standard dependency for a test framework. Not a risk for vitest. | ai | |
| dependencies | unvetted-dep:local-pkg | AI (dependencies): local-pkg is a small utility by antfu used across the Vite ecosystem for package detection. Legitimate dependency. | ai | |
| dependencies | unvetted-dep:@types/chai | AI (dependencies): @types/chai is a standard TypeScript type definition package from DefinitelyTyped. No risk. | ai | |
| bogus-package | bogus-package | AI (bogus-package): False positive: maintainers (antfu, yyx990803, etc.) are legitimate ecosystem contributors; short README is typical for monorepo packages with external docs. | ai | |
| phantom-deps | phantom-dep:@types/chai | AI (phantom-deps): @types/chai is intentionally shipped as a runtime dep so TypeScript consumers get types automatically — standard pattern for testing frameworks. | ai | |
| phantom-deps | phantom-dep:@types/chai-subset | AI (phantom-deps): @types/chai-subset is intentionally shipped as a runtime dep for TypeScript type exposure — standard pattern for testing frameworks. | ai | |
| dependencies | unvetted-dep:vite | AI (dependencies): vite is the canonical build tool this framework is built on; a well-known, widely-used package. | ai | |
| dependencies | unvetted-dep:@vitest/expect | AI (dependencies): First-party scoped package published at the same version; part of vitest's own monorepo. | ai | |
| dependencies | unvetted-dep:@vitest/utils | AI (dependencies): First-party scoped package published at the same version; part of vitest's own monorepo. | ai | |
| dependencies | unvetted-dep:obug | AI (dependencies): obug is a legitimate debugging utility; unvetted status is expected for minor dependencies in established projects. | ai | |
| dependencies | unvetted-dep:@vitest/mocker | AI (dependencies): First-party scoped package published at the same version; part of vitest's own monorepo. | ai | |
| dependencies | unvetted-dep:@vitest/spy | AI (dependencies): First-party scoped package published at the same version; part of vitest's own monorepo. | ai | |
| dependencies | unvetted-dep:@vitest/runner | AI (dependencies): First-party scoped package published at the same version; part of vitest's own monorepo. | ai | |
| dependencies | unvetted-dep:@vitest/snapshot | AI (dependencies): First-party scoped package published at the same version; part of vitest's own monorepo. | ai |
Versions (showing 1 of 1)
| Version | Deps | Published |
|---|---|---|
| 4.1.6 | 20 / 28 |
v4.1.6
2 findings
HIGH
New obfuscated file: dist/chunks/cac.CVxlyDFd.js
source-diff
Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.
INFO
Has SLSA provenance attestation
provenance
Published via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.