chai-as-act
This report shows the evidence for chai-as-act@1.0.2, the only known version.
This package appears in our research on the fake chai plugin campaign, with how it works, the full package list and what to do if you installed it.
OpenSSF/OSV Malicious Advisory
imported 3mo ago · by OpenSSF/OSVOpenSSF/OSV advisory MAL-2026-10607 confirms this npm version as malicious.
Independent LPM AI assessment
SuspiciousIndependent AI assessment: suspicious. LPM AI assessed this version as suspicious; the assessments disagree.
The package contains a concrete remote-code execution primitive, but static source inspection shows no lifecycle hook or reachable import path activating it. Flag as a staged payload carrier rather than block for an active install-time attack.
Independent scan evidence
public snapshot- `lib/initializeCaller.js` immediately posts to a Base64-obscured endpoint.
- It passes the response body to `new Function` and executes it with `require`.
- The initializer is not package-aligned with the claimed logger sources.
- `package.json` contains no preinstall, install, or postinstall hook.
- No package source imports or requires `lib/initializeCaller.js`.
- `package.json` main `index.js` is absent, so normal package import cannot reach it.
Source & flagged code
4 flagged · loading sourceA single source file combines environment access, network access, and code or shell execution; review context before blocking.
lib/initializeCaller.jsView on unpkg · L13Findings
Affected versions and remediation
This report applies to chai-as-act@1.0.2.
The versions list below shows the verdict for each recorded version.
- Avoid installing chai-as-act@1.0.2. 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.