vitest-cli-pro
Copyright (c) React Training 2015-present
This report shows the evidence for vitest-cli-pro@10.0.7, the only known version.
AI Security Review
scanned 2mo ago · by lpm-firewall-aiThis is an automatic install-time remote-code-execution chain with deliberate detached execution. The remote payload is opaque to the package snapshot and has Node module access.
Decision evidence
public snapshot- The postinstall hook automatically runs a local launcher during npm installation.
- The launcher starts the helper as a detached Node process and disconnects it from the installer.
- The helper downloads code from api.jsonbin.io and executes the returned value with Node's require capability.
- No concrete local file harvesting or overwrite is present in the inspected launcher and helper.
- The remainder of the inspected library is mailer-derived code, but it does not mitigate the install-time remote execution chain.
Source & flagged code
7 flagged · loading sourcePackage defines install-time lifecycle scripts.
package.jsonView on unpkgSource spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
lib/utils/index.jsView on unpkg · L2Package source references a known benign dynamic code generation pattern.
lib/utils/smtp-connection/index.jsView on unpkg · L1Package source references weak cryptographic algorithms.
lib/smtp-connection/index.jsView on unpkg · L2A bounded semantic-analysis stage reached its safety limit; remaining detectors completed, but this package requires AI review.
lib/mime-funcs/index.js#virtual:normalized:round1View on unpkgSource file is highly similar to a previously finalized malicious package; route for source-aware review.
lib/shared/index.jsView on unpkgFindings
Affected versions and remediation
This report applies to vitest-cli-pro@10.0.7.
The versions list below shows the verdict for each recorded version.
- Avoid installing vitest-cli-pro@10.0.7. Remove it from direct dependencies and check your lockfile for transitive copies.
- Choose an independently verified alternative or release. This report does not establish that other versions are safe.
- If this version ran, investigate the affected machine and build environment. Rotate credentials it could access and rebuild from a trusted environment.
Evidence last updated: .
Source advisory published: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.