zwtcook2 (RubyGems) · Malicious Code
Affects zwtcook2Source GCVE Database
Malicious package : remove zwtcook2 and rotate any secrets on hosts that installed it.
Data as of 26 Oct 2026, 16:06 UTC
Malicious package
Published to RubyGems · OSV MAL-2026-9899
What to do
Remove zwtcook2 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 |
|---|---|---|
RubyGemszwtcook2pkg:gem/zwtcook2Other threats | 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 (e87779146514bfe9c7e565fc223dd224802804ddeaf21ffea71844e8d81b6c87) --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/9fbb5fba02ba2f02395d3d2d43c31b2c482b7a9d/osv/malicious/rubygems/zwtcook2/MAL-2026-9899.json))