MAL-2026-21085: Malicious package random-transactions-sdk

Malicious package. random-transactions-sdk@1.0.4 ships a database.js data file containing ~54KB of base64-encoded 'mark' fields. The documented getTransactions() API calls load_transaction_data(), which concatenates these fields, applies a Caesar shift keyed on the caller-supplied count argument, base64-decodes the result, and passes the resulting source into the Function constructor with Buffer, require, and process injected as...

Malicious code, npm, CWE-506

Type
Malicious package
Ecosystem
npm
Packages named
1 package
What to do
Remove and rotate secrets
Reported
3 Dec 2026

Details

Weakness
CWE-506
Published
3 Dec 2026
Last change
3 Dec 2026

Malicious packages

Remove these from every system and rotate credentials

  • random-transactions-sdk npm, Every published version is malicious. Remove it

Advisories

Vendor and security advisories

Related