Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

Malicious code in secp256k1-lib (npm)

0
High
Published: 08/19/2026 (08/19/2026, 04:43:49 UTC)
Source: GCVE Database
Product: secp256k1-lib

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.

Affected software

npmghsa
secp256k1-lib
Affected versions
=1.0.0=1.0.2=1.0.1=1.0.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/19/2026, 14:26:09 UTC

Technical Analysis

The 'secp256k1-lib' npm package is a malicious package impersonating the widely used 'secp256k1' cryptography library. It contains an obfuscated 33KB JavaScript bundle that executes upon import, creating an HTTP client (using axios) that communicates with a runtime-constructed, hidden remote destination. The package lacks any legitimate cryptographic functionality and is likely designed to steal credentials or wallets by exploiting user trust in the package name. The obfuscation and hidden network activity indicate a loader for malicious payloads. Four specific versions (=1.0.0, =1.0.1, =1.0.2, =1.0.3) are known to be affected. No official patch or remediation guidance is provided, and no active exploitation has been documented.

Potential Impact

If installed, this malicious package can execute obfuscated code that initiates network communication to unknown remote hosts, potentially leading to credential or wallet theft. The impact includes compromise of sensitive user data and possible downstream effects depending on what the attacker does with the stolen information. Because the package masquerades as a legitimate cryptographic library, users may be tricked into installing it, increasing the risk of compromise.

Mitigation Recommendations

Users and developers should avoid installing or using the 'secp256k1-lib' package. Remove any instances of this package from projects and dependency trees. Since no official patch or fix is available, the primary mitigation is to rely on trusted sources and verify package authenticity before installation. Use official, well-maintained cryptographic libraries instead of similarly named or suspicious packages. Monitor dependency manifests and lockfiles for this package and remove it promptly if found.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-14255
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a85b4c0acd9273b4925241a

Added to database: 08/19/2026, 13:50:56 UTC

Last enriched: 08/19/2026, 14:26:09 UTC

Last updated: 08/19/2026, 14:26:09 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses