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…

MAL-2026-10032: Malicious code in @wagni_bot/polygon-sdk (npm)

0
Critical
Published: 07/09/2026 (07/09/2026, 15:15:03 UTC)
Source: GCVE Database
Product: @wagni_bot/polygon-sdk

Description

The npm package @wagni_bot/polygon-sdk is a malicious package impersonating the Polygon blockchain SDK. Its postinstall.js script runs automatically on installation and scans the user's directories for wallet keystores, private keys, seed phrases, and other sensitive credentials. It exfiltrates these secrets along with some environment variables to a hardcoded attacker-controlled IP address. The package exports no legitimate functionality and exists solely to steal credentials from developers working with blockchain wallets.

Affected software

npmghsa
@wagni_bot/polygon-sdk
Affected versions
=1.1.5=1.1.4=1.0.0=1.1.1=1.1.0=1.1.3=1.2.0

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: 07/10/2026, 10:12:48 UTC

Technical Analysis

The @wagni_bot/polygon-sdk npm package contains malicious code that executes during installation. The postinstall.js script scans the installer's current working directory and home directory for sensitive files related to cryptocurrency wallets and private keys, including ~/.ssh, ~/.ethereum, ~/.config/ethereum, ~/.solana, ~/.bitcoin, and ~/Library/Ethereum. It looks for files matching patterns such as seed, mnemonic, keystore, wallet, secret, and private, and extracts up to 10,000 bytes of their content. Additionally, it collects environment variables containing keywords like PRIVATE, SECRET, TOKEN, KEY, PASSWORD, MNEMONIC, SEED, WALLET, or AWS. All this data, along with the host's OS hostname, username, and current working directory, is sent via HTTP POST to a hardcoded bare-IP endpoint (http://107.161.90.180:7777). The package exports an empty object and provides no legitimate functionality, indicating its sole purpose is credential theft. It masquerades as an unofficial Polygon SDK to target crypto developers likely to have valuable wallet credentials.

Potential Impact

Users who install this package risk having sensitive wallet credentials, private keys, seed phrases, and secret environment variables stolen and sent to an attacker-controlled server. This can lead to compromise of cryptocurrency wallets and other accounts relying on these secrets. The package does not provide legitimate functionality and is purely malicious.

Mitigation Recommendations

No official patch or remediation is available for this malicious package. The best mitigation is to avoid installing @wagni_bot/polygon-sdk entirely. Users who have installed this package should immediately remove it and investigate for potential credential compromise. Rotate any exposed keys, wallets, or secrets that may have been compromised. Use only trusted and verified packages from official sources. Monitor for suspicious activity related to any potentially leaked credentials.

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-10032
Osv Schema Version
1.7.4
Aliases
[]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a50ba9f68715ace43584d0b

Added to database: 07/10/2026, 09:25:51 UTC

Last enriched: 07/10/2026, 10:12:48 UTC

Last updated: 07/10/2026, 10:12:48 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