chai-as-balanced
This document describes the management of vulnerabilities for the project and all modules within the organization.
This report shows the evidence for chai-as-balanced@2.2.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 4mo ago · by lpm-firewall-aiDirect source inspection confirms remote payload execution from an obfuscated endpoint on runtime activation, which is concrete malicious behavior. Lack of install hooks limits trigger timing but does not reduce the arbitrary code execution impact.
Decision evidence
public snapshot- package.json main is index.js and declares axios/request/sqlite3 despite plugin-style README mismatch.
- index.js exports middleware that spawns detached `node ./lib/caller.js` when invoked.
- lib/caller.js decodes an obfuscated jsonstorage URL and secret header values.
- lib/caller.js fetches `.data.cookie` from the remote endpoint and executes it with `new Function.constructor("require", s)`.
- lib/transport.js also requires `./caller`, causing the same file to run on that import path.
- Package appears to contain copied Pino docs/code while published as chai-as-balanced.
- No npm preinstall/install/postinstall lifecycle scripts in package.json.
- No source inspection evidence of local file writes or explicit credential harvesting before the remote payload executes.
Source & flagged code
3 flagged · loading sourceSource decodes a Base64-obscured HTTP endpoint at runtime.
lib/caller.jsView on unpkg · L2Source fingerprint signature matches a known malicious package signature; route for source-aware review.
index.jsView on unpkgFindings
Affected versions and remediation
This report applies to chai-as-balanced@2.2.3.
The versions list below shows the verdict for each recorded version.
- Avoid installing chai-as-balanced@2.2.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.