hesk (crates.io) · Malicious Code
Affects heskSource GCVE Database
Malicious package : remove hesk and rotate any secrets on hosts that installed it.
Data as of 13 Nov 2026, 03:22 UTC
Malicious package
Published to crates.io · OSV MAL-2026-19201
What to do
Remove hesk from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| crates.iohesk | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The hesk crate version 0.1.0 on crates.io contains malicious code that exfiltrates user data. It includes two asynchronous functions that traverse the user's home directory, archive wallet files, and upload them to a hardcoded Telegram Bot API endpoint. The code is camouflaged with numerous filler functions and uses dependencies enabling cross-platform keylogging and Windows persistence. The crate's description misleadingly claims it is an educational cybersecurity testing project, which contradicts its actual behavior.