lsh (crates.io) · Malicious Code
Affects lshSource GCVE Database
Malicious package : remove lsh and rotate any secrets on hosts that installed it.
Data as of 18 Jul 2026, 19:25 UTC
Malicious package
Published to crates.io · OSV MAL-2026-3126
What to do
Remove lsh 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.iolsh | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
--- _-= Per source details. Do not edit below this line.=-_ ## Source: ghsa-malware (8989a6e7b570a831dde23514a11fe5d8b44919c470e8532ec6103864146d0e8d) ## Source: ossf-package-analysis (8cd6cecd3051e3998c5f96ec8dbe1bcfffc1ed7133d394a1779c8c1b0252c8c0) The OpenSSF Package Analysis project identified 'lsh' @ 99.0.1 (crates.io) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity. - The package executes one or more commands associated with malicious behavior. --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/a38ecee305c88a229e05893a0413264b62143ce2/osv/malicious/crates.io/lsh/MAL-2026-3126.json)) ## Source: ossf-package-analysis (8cd6cecd3051e3998c5f96ec8dbe1bcfffc1ed7133d394a1779c8c1b0252c8c0) The OpenSSF Package Analysis project identified 'lsh' @ 99.0.1 (crates.io) as malicious. It is considered malicious because: - The package communicates with a domain associated with malicious activity. - The package executes one or more commands associated with malicious behavior.