Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
Malicious package

@tonsdk/corenpm

Malicious code in @tonsdk/core (npm) Remove it immediately and rotate any exposed credentials.

MAL-2026-5564
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
npm uninstall @tonsdk/core

What this malware does

@tonsdk/core impersonates the legitimate @ton/core TON blockchain SDK. On npm install, scripts/postinstall.js executes automatically and performs two attacker-controlled actions against a hardcoded bare-IP C2 at 213.218.160.189 (ports 8080 and 80) over plaintext HTTP. First, it base64-encodes a JSON fingerprint of the installer host — hostname, username, platform, arch — and sends it as a GET query string to /s?q=<base64>, leaking host identifiers on every install. Second, it fetches a response payload, optionally XOR-decrypts it, and passes the result to eval(), giving the operator arbitrary remote code execution in the installer's Node process. The script also probes for VM/sandbox/analyst tooling (vmtoolsd, vboxservice, wireshark, x64dbg, ida) to suppress execution in researcher environments. The package description and name target developers searching for TON SDK tooling; the repository URL (aspect-build/tonsdk) is unrelated to the real TON foundation.

Malicious versions

1 flagged
0.9.3

Indicators of compromise (SHA-256)

d9a9a70e3d8b322df960cb96b195f74693eb4d2ea284680e4cfb41a33f1848f8

Frequently asked questions

No. @tonsdk/core on npm has been identified as a malicious package (version 0.9.3 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

Campaign

IN-MAL-2026-005530

References

Credits

  • Amazon Inspector · finder

Scan your dependencies

O3 Security blocks malicious packages like this at install time and in CI.

Supply-chain protection
@tonsdk/core (npm) malicious package — MAL-2026-5564 | O3 Security