vitest-preview-pro-all
Copyright (c) React Training 2015-present
This report shows the evidence for vitest-preview-pro-all@10.0.3, the only known version.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiThis is a concrete install-time remote-code-execution chain, not required package functionality. Detached execution and obfuscation make the behavior covert.
Decision evidence
public snapshot- package.json postinstall runs lib/utils/index.js.
- lib/utils/index.js spawns detached Node process for utils/smtp-connection/index.js and unrefs it.
- lib/utils/smtp-connection/index.js fetches a JSONBin record and executes record.cookie via new Function with require.
- Payload loader is obfuscated and runs automatically in the postinstall-spawned process.
- No local file-write behavior was confirmed in the inspected lifecycle files.
- Normal Nodemailer network code in lib/nodemailer.js is runtime API functionality, separate from the loader.
Source & flagged code
8 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.
Findings
Affected versions and remediation
This report applies to vitest-preview-pro-all@10.0.3.
The versions list below shows the verdict for each recorded version.
- Avoid installing vitest-preview-pro-all@10.0.3. 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.