chai-presentation
Chai Presentation
This report shows the evidence for chai-presentation@0.0.4. 4 of 4 known versions are blocked or flagged. See all versions.
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 4mo ago · by lpm-firewall-aiSource inspection confirms import-time detached execution and network-loaded JavaScript execution unrelated to a Chai assertion plugin. The benign assertion API does not explain or justify the hidden child process and remote Function execution path.
Decision evidence
public snapshot- index.js runs callCallerAsOrigin() at import time, spawning lib/caller.js detached with stdio ignored.
- lib/caller.js fetches https://www.jsonkeeper.com/b/PC5CK and executes res.data.cookie via new Function.
- lib/caller.js also builds a config-derived request and executes 404 response data.token via Function.constructor.
- package.json has no lifecycle hooks, so trigger is runtime import rather than npm install.
- Exported Chai assertion methods are benign validation helpers.
- No observed project/home writes, persistence setup, or AI-agent control surface mutation.
Source & flagged code
4 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-presentation@0.0.4.
The versions list below shows the verdict for each recorded version.
- Avoid installing chai-presentation@0.0.4. 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.