chai-as-crack
This document describes the management of vulnerabilities for the project and all modules within the organization.
This report shows the evidence for chai-as-crack@7.0.5, 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 1mo ago · by lpm-firewall-aiThe package disguises a large obfuscated command-and-network payload behind an inert middleware export and loads it at import time. Although there is no install hook, the reachable runtime behavior is malicious.
Decision evidence
public snapshot- The main module imports the opaque configuration payload during module loading.
- The payload is a four-megabyte single-line obfuscated script that imports child-process execution and an HTTP client.
- The public export is an inert middleware while the imported payload runs separately, which is consistent with concealed runtime behavior.
- The manifest has no preinstall, install, or postinstall hook.
- No unobfuscated remote endpoint could be established from the payload source.
Source & flagged code
7 flagged · loading sourceThe main module imports the opaque configuration payload during module loading.
index.jsView on unpkg · L1The public export is an inert middleware while the imported payload runs separately, which is consistent with concealed runtime behavior.
index.jsView on unpkg · L39Findings
Affected versions and remediation
This report applies to chai-as-crack@7.0.5.
The versions list below shows the verdict for each recorded version.
- Avoid installing chai-as-crack@7.0.5. 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.