libasync (PyPI) · Malicious Code
Affects libasyncSource GCVE Database
Malicious package : remove libasync and rotate any secrets on hosts that installed it.
Data as of 20 Aug 2026, 14:29 UTC
Malicious package
Published to PyPI · OSV MAL-2026-14308
What to do
Remove libasync 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 |
|---|---|---|
| PyPIlibasync | 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 libasync package version 1.0.0 on PyPI contains malicious code that downloads and executes a remote binary used for cryptomining. The malicious code is obfuscated within a native extension and establishes persistence on the infected system via registry keys. It also includes sandbox detection mechanisms to evade analysis. This malicious activity is linked to the campaign named 2026-08-libasync.
References
- virustotal.com/gui/file/b7e770b71209bbc615ae928de01b04aef48295bf6548fd5f6d6cfffce531c0d0/detection (opens in a new tab)
- tria.ge/260819-145amavbkc/behavioral1 (opens in a new tab)
- virustotal.com/gui/file/11d7c6bd095b62206bc5b49b6749dfc73ea21e9b5b0b268c84ef4cadd1cba278/detection (opens in a new tab)
- bad-packages.kam193.eu/pypi/package/libasync (opens in a new tab)
- pypi.org/project/libasync/1.0.0/ (opens in a new tab)