Malicious code in chai-as-mobj (npm)
MAL-2026-2893 · GHSA-3q98-w67h-r2cr
Published · Modified
Dependency scanning
Check whether chai-as-mobj is in your codebase
Corgea flags malicious and compromised dependencies with reachability analysis, so you fix the packages that actually run in your application instead of working through the whole lockfile.
Description
chai-as-mobj is a malicious npm package that when imported downloads a C2 dropper from https://api.npoint[.]io/31bccfbf4ee2732207a4 and executes it (similar to malware in to chai-await-test).
__
Source: amazon-inspector (38b05742c0663bb0405a0de3fd452c17c6629305ef2ce806eb9f732fb4854050)
The package chai-as-mobj was found to contain malicious code.
Source: ghsa-malware (c58b5068d0742c744d38a9b603c4c0c081b4042bce59147c830fd982c0b303ad)
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
Ready to move
Start Securing
Free, no credit card | First findings in minutes