Skip to main content

Malicious code in activerecord-safe-initialize (RubyGems)

0
High
Published: 06/25/2024 (06/25/2024, 13:46:54 UTC)
Source: GCVE Database
Product: activerecord-safe-initialize

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))

Affected software

RubyGemsmore threats →ghsa
activerecord-safe-initialize
pkg:gem/activerecord-safe-initialize
Affected versions
=0.2.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/18/2026, 18:42:08 UTC

Technical Analysis

The 'activerecord-safe-initialize' RubyGems package at version 0.2.0 has been identified as containing malicious code. This was reported by the OpenSSF malicious packages project and cataloged under MAL-2024-6474 and GHSA-p43p-245v-rwcp. There is no CVSS score or detailed technical exploit information available. The package is not a cloud service, and no known exploits in the wild have been reported. No vendor advisory or patch information is provided, indicating that remediation status is unclear.

Potential Impact

Use of the affected version 0.2.0 of the 'activerecord-safe-initialize' package may result in the introduction of malicious code into dependent applications. This poses a risk of compromise through supply chain attack vectors. However, no specific impact details or exploitation reports are available.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory or RubyGems repository for current remediation guidance. Until then, avoid using version 0.2.0 of 'activerecord-safe-initialize'. Consider removing or replacing this package in your dependency tree.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2024-6474
Osv Schema Version
1.7.4
Aliases
["GHSA-p43p-245v-rwcp"]
Ecosystems
["RubyGems"]

Threat ID: 6a5ba77a44ab8fbf7c827460

Added to database: 07/18/2026, 16:19:06 UTC

Last enriched: 07/18/2026, 18:42:08 UTC

Last updated: 09/08/2026, 08:22:27 UTC

Views: 8

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses