chai-as-sets
This document describes the management of vulnerabilities for the project and all modules within the organization.
This report shows the evidence for chai-as-sets@3.1.3, 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.
AI Security Review
scanned 3mo ago · by lpm-firewall-aiConfirmed source behavior is a covert runtime payload chain: full environment exfiltration to a concealed endpoint followed by remotely supplied code execution. The absence of install hooks does not mitigate this concrete malicious behavior.
Decision evidence
public snapshot- `index.js` is the package main and spawns `lib/initializeCaller.js` detached.
- Middleware invocation triggers the hidden background child process.
- `lib/initializeCaller.js` POSTs the full `process.env` object to a Base64-hidden endpoint.
- The response body is executed with `new Function("require", response.data)`.
- The remote executor receives `require`, enabling arbitrary local module access.
- README/package metadata describe unrelated Chai/Pino behavior, inconsistent with the payload.
- `package.json` has no npm install lifecycle hooks.
- No native binaries or executable artifacts were found.
- No AI-agent control-surface mutation is present.
Source & flagged code
7 flagged · loading sourceSource spawns a local helper that also contains network and dynamic execution context; review data flow before blocking.
index.jsView on unpkg · L3Findings
Affected versions and remediation
This report applies to chai-as-sets@3.1.3.
The versions list below shows the verdict for each recorded version.
- Avoid installing chai-as-sets@3.1.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: .
Think this verdict is wrong? Dispute it on GitHub or read how reports are produced.