Skip to main content
MalwarePublished Updated

activerecord-safe-initialize (RubyGems) · Malicious Code

Affects activerecord-safe-initializeSource GCVE Database

0

Malicious package : remove activerecord-safe-initialize and rotate any secrets on hosts that installed it.

Data as of 18 Jul 2026, 19:25 UTC

Classification

Malicious package

Published to RubyGems · OSV MAL-2024-6474

What to do

Remove activerecord-safe-initialize 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
RubyGemsactiverecord-safe-initializepkg:gem/activerecord-safe-initializeOther threatsAffected
  • =0.2.0
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 (88afe9adfe4f40c5ef0db1e6c368802a9a9d9aa64a4f657101aa4655901680ac) --- Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/9fbb5fba02ba2f02395d3d2d43c31b2c482b7a9d/osv/malicious/rubygems/activerecord-safe-initialize/MAL-2024-6474.json))

References

Community reviews

Loading reviews…