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 @wagni_bot/bsc-sdk (npm)

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

Description

@wagni_bot/bsc-sdk is a malicious npm package that impersonates legitimate BSC-SDK-family packages. It contains a postinstall script that steals sensitive credentials by scanning for private SSH keys, PEM certificates, and environment variables with secret-like names, then exfiltrates this data to a hardcoded IP address over plaintext HTTP. The package exports no legitimate functionality and is designed solely for credential theft during installation.

Affected software

npmghsa
@wagni_bot/bsc-sdk
Affected versions
=1.2.0=1.1.3=1.1.1=1.1.4=1.1.0=1.1.5=1.0.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:14:12 UTC

Technical Analysis

@wagni_bot/bsc-sdk versions 1.0.0, 1.1.0, 1.1.1, 1.1.3, 1.1.4, 1.1.5, and 1.2.0 are malicious typosquat packages targeting developers and CI environments. Upon installation, the package runs a postinstall lifecycle script that recursively scans the current working directory, the user's home directory, and ~/.ssh for files named id_rsa, id_ed25519, *.pem, *.key, *.cred, and .env. It also enumerates environment variables for keys containing sensitive keywords such as PRIVATE, SECRET, TOKEN, API_KEY, PASSWORD, MNEMONIC, SEED, WALLET, or AWS. The collected files and environment variables, along with hostname, username, and current working directory, are sent via HTTP POST to a hardcoded bare IP address (http://107.161.90.180:7777). The package exports an empty object and provides no legitimate BNB Smart Chain functionality, confirming its sole purpose is credential theft.

Potential Impact

Any developer or CI system that installs this package risks having private SSH keys, PEM certificates, credential files, and sensitive environment variables exfiltrated to an attacker-controlled server. This can lead to unauthorized access to source code repositories, cloud services, and other critical infrastructure. The use of plaintext HTTP for data exfiltration indicates a lack of stealth but does not reduce the severity of the credential compromise.

Mitigation Recommendations

No official patch or remediation is available since this is a malicious package rather than a vulnerability in legitimate software. The primary mitigation is to avoid installing @wagni_bot/bsc-sdk and to audit dependencies carefully to detect typosquatting. Remove any instances of this package from projects and CI pipelines immediately. Rotate any potentially compromised credentials, SSH keys, and certificates that may have been exposed. Use trusted package sources and enable package integrity verification where possible.

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

Threat ID: 6a50baa368715ace43584e85

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

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

Last updated: 07/26/2026, 14:19:15 UTC

Views: 33

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