Skip to main content

Malicious code in wallet-analytics (npm)

0
Critical
Published: 08/05/2026 (08/05/2026, 12:53:28 UTC)
Source: GCVE Database
Product: wallet-analytics

Description

--- _-= Per source details. Do not edit below this line.=-_ ## Source: amazon-inspector (bfc85c0238f90672b0cc329cae3487061924ed5a6458644a97cd90a830ace807) index.js exports a getPlugin function that issues an HTTPS request to a hardcoded bare-IP endpoint at https://46.183.25.232:45000/icons/<n> and passes the response's `credits` field to `new Function('require','module',...,data.credits)`, invoking the returned function with a live `require`, `process`, and `Buffer` in scope. Any consumer that loads the package's default export executes attacker-supplied JavaScript with full Node privileges on the host. The C2 URL is assembled from split literals (protocol/separator/domain/path) alongside a decoy setDefaultModule that constructs cdnjs font-awesome URLs, disguising the traffic as icon-CDN requests, and the authorization header is spelled `bearrtoken` to further avoid casual inspection. Declared dependencies (@primno/dpapi for Windows DPAPI unwrap, better-sqlite3, node-machine-id) are consistent with follow-on wallet and browser-secret harvesting delivered by the remote payload. ## Source: ghsa-malware (d5d588d45a7677764b972a1892308e61160b2803021af65ba25b1d47534fa264) Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.

Affected software

npmghsa
wallet-analytics
Affected versions
=1.4.8

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/05/2026, 17:21:49 UTC

Technical Analysis

The wallet-analytics npm package version 1.4.8 exports a function that performs an HTTPS request to a hardcoded IP endpoint (https://46.183.25.232:45000/icons/<n>). It extracts a 'credits' field from the response and passes it to a dynamically created function via new Function, executing attacker-controlled JavaScript with access to Node.js internals such as require, process, and Buffer. The command-and-control (C2) URL is obfuscated by splitting literals and disguising traffic as icon-CDN requests, including a misspelled authorization header 'bearrtoken' to avoid detection. Declared dependencies support further malicious activities like Windows DPAPI unwrapping and secret harvesting.

Potential Impact

Any consumer loading the default export of wallet-analytics version 1.4.8 will execute arbitrary attacker-controlled code with full privileges on the host system. This can lead to compromise of sensitive data such as wallet credentials and browser secrets, potentially resulting in credential theft and system takeover.

Mitigation Recommendations

No patch or remediation is currently documented. Users should immediately stop using wallet-analytics version 1.4.8 and remove it from their environments. Verify dependencies and audit for any signs of compromise. Monitor vendor advisories for updates or official fixes.

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-12499
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a735744bf8831d539159cbd

Added to database: 08/05/2026, 15:31:16 UTC

Last enriched: 08/05/2026, 17:21:49 UTC

Last updated: 09/09/2026, 21:40:44 UTC

Views: 19

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