Skip to main content
MalwarePublished Updated

zswgit2 (RubyGems) · Malicious Code

Affects zswgit2Source GCVE Database

0

Malicious package : remove zswgit2 and rotate any secrets on hosts that installed it.

Data as of 26 Oct 2026, 16:06 UTC

Classification

Malicious package

Published to RubyGems · OSV MAL-2026-9802

What to do

Remove zswgit2 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

ProductAffectedFixed in
RubyGemszswgit2pkg:gem/zswgit2Other threatsAffected
  • =0.0.1
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 (4ed0915b12a57d22f5548a5d7bb0cca8dea877aeff6f5f1390fb20c1012385a4) --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/9fbb5fba02ba2f02395d3d2d43c31b2c482b7a9d/osv/malicious/rubygems/zswgit2/MAL-2026-9802.json))

References

Community reviews

Loading reviews…