api-rs-tuils (npm) · Malicious Code
Affects api-rs-tuilsSource GCVE Database
Malicious package : remove api-rs-tuils and rotate any secrets on hosts that installed it.
Data as of 19 Aug 2026, 14:25 UTC
Malicious package
Published to npm · OSV MAL-2026-14256
What to do
Remove api-rs-tuils 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 |
|---|---|---|
| npmapi-rs-tuils | 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 npm package api-rs-tuils version 2.1.6 contains malicious code executed via a postinstall hook. This code fetches an attacker SSH public key and appends it to the victim's authorized_keys file, enabling persistent remote SSH access by modifying firewall rules. It also exfiltrates sensitive configuration files and environment data from the victim's machine to attacker-controlled servers. The package uses obfuscation techniques to hide its malicious behavior and resembles a typosquat with no legitimate functionality.