Skip to main content
MalwarePublished

secp256k1-lib (npm) · Malicious Code

Affects secp256k1-libSource GCVE Database

0

Malicious package : remove secp256k1-lib and rotate any secrets on hosts that installed it.

Data as of 19 Aug 2026, 14:26 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-14255

What to do

Remove secp256k1-lib from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmsecp256k1-libAffected
  • 1.0.0 – 1.0.3
4 affected builds
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package 'secp256k1-lib' is a malicious package that mimics the name of a legitimate cryptography library but contains no cryptographic functionality. Its main file is a heavily obfuscated JavaScript bundle that, upon being required, executes code that instantiates an HTTP client targeting a hidden destination. The package appears to be designed as a credential or wallet-stealer loader, leveraging name confusion to trick users into installing it. Multiple versions of this package (1.0.0, 1.0.1, 1.0.2, 1.0.3) are affected. There is no CVSS score or vendor advisory available, and no known exploits in the wild have been reported.

References

Community reviews

Loading reviews…