VDB
KO

MAL-2026-12499

Malicious code in wallet-analytics (npm)

Details

--- _-= 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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm / wallet-analytics

No fixed version published yet for wallet-analytics (npm). Pin to a known-safe version or switch to an alternative.

References