GHSA-5g8p-g2fc-x9pr: Malicious package kaspacore-lib
Malicious package. kaspacore-lib 1.1.1 is a copy of @kaspa/core-lib 1.6.5 in which lib/crypto/random.js is replaced: for any request of 32 bytes or more it returns, instead of system randomness, an HMAC-SHA512 of a call counter and the process ID under a fixed key embedded in the file (in browsers, an XOR of that key, the counter and the current time). PrivateKey(), PrivateKey.fromRandom() and HDPrivateKey() draw 32 or 64 bytes...
Malicious code, npm, CWE-506
- Type
- Malicious package
- Ecosystem
- npm
- Packages named
- 1 package
- What to do
- Remove and rotate secrets
- Reported
- 4 Dec 2026
Details
- Weakness
- CWE-506
- Published
- 4 Dec 2026
- Last change
- 4 Dec 2026
Malicious packages
Remove these from every system and rotate credentials
- kaspacore-lib npm, Malicious: Version 1.0.1. Remove it
Advisories
Vendor and security advisories
Related
- Recent malicious packages Explorer, malicious packages only