Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

check-error-utilnpm

Malicious code in check-error-util (npm) Remove it immediately and rotate any exposed credentials.

MAL-2026-5527
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall check-error-util

What this malware does

Package name and shipped README impersonate the chaijs check-error helper (identical API docs, author attribution, and a spoofed git+ssh://[email protected]/chaijs/check-error.git repository URL), but index.js adds a hidden dropper that runs at module load. A top-level call to resolveConfig() XOR-decodes a 160-byte numeric array (key 87) inside a function cover-named getHashAddress() to produce a hex blob, then uses that blob as an AES-256-CBC key||iv||ciphertext to decrypt an HTTPS URL. The package then calls require('https').get(service,...), JSON-parses the response, and executes the response's cookie field via new Function('require', payload)(require) — handing the live require to attacker-supplied JavaScript with full Node privileges. Any require('check-error-util') or import triggers remote code execution under the installer's account.

Malicious versions

1 flagged
2.1.4

Indicators of compromise (SHA-256)

4354c90de765b6812756121ed6ceb8784ca5a2d6e40f6aa97391e5014c35a038
91cb4f3b95eca0a9d180e159ac28ce3cc697c771229f9447cd1a293ce9cff57d

Frequently asked questions

No. check-error-util on npm has been identified as a malicious package (version 2.1.4 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-005298IN-MAL-2026-005299

References

Credits

  • Amazon Inspector · finder

Scan your dependencies

O3 Security blocks malicious packages like this at install time and in CI.

Supply-chain protection
check-error-util (npm) malicious package — MAL-2026-5527 | O3 Security