Skip to main content
Mallory
← Back to News
package-repository-poisoningloader-delivery-mechanismpersistence-methodprivilege-escalation-method

SleeperGem RubyGems Attack Backdoored Developer Machines via Hijacked Dormant Gems

Supply Chain Risk · 5 sources · Updated 4mo ago · First seen Jul 19, 2026

SleeperGem RubyGems Attack Backdoored Developer Machines via Hijacked Dormant Gems

A coordinated RubyGems supply-chain attack dubbed SleeperGem used malicious releases of git_credential_manager, Dendreo, and fastlane-plugin-run_tests_firebase_testlab to target developer workstations. Researchers reported that the attacker appears to have hijacked long-dormant maintainer accounts and pushed trojanized gem versions, including git_credential_manager 2.8.0 through 2.8.3, with code that executed on library load, fetched additional payloads from a fake-looking Git ecosystem repository on git.disroot.org, and deliberately avoided running in CI environments to reduce detection.

On developer machines, the gems reportedly acted as loaders for a second stage that installed a native daemon, established persistence through systemd and cron, and attempted privilege escalation via passwordless sudo to place a setuid root shell at /usr/local/sbin/ping6. Investigators said the malicious releases did not match legitimate source tags and that some affected packages had been inactive for years before suddenly publishing updates, indicating account compromise rather than normal maintenance. Security firms warned that any system that installed or required the affected gems should be treated as fully compromised and that all accessible credentials and secrets should be rotated.

Why it matters

Impact assessment

SleeperGem is a high-severity RubyGems supply-chain compromise targeting developer workstations rather than CI runners. Affected organizations include software vendors, internal development teams, DevOps functions, and any enterprise with Ruby-based tooling or dependencies that installed or required the malicious gems directly or transitively.

The impact is potentially full host compromise with follow-on credential theft, persistence, and privilege escalation. Researchers explicitly advised treating impacted machines as fully compromised because the second stage installs a native daemon, persists via systemd and cron, and may plant a setuid root shell at /usr/local/sbin/ping6 when passwordless sudo is available.

Affected scope

  • Ecosystem: RubyGems / Ruby software supply chain
  • Primary malicious gems:
    • git_credential_manager
    • Dendreo
    • fastlane-plugin-run_tests_firebase_testlab
  • Transitive exposure noted through dependency insertion into:
    • slackHtmlToMarkdown
    • seo_optimizer
    • array_fast_methods
  • User population most at risk:
    • Developers on Linux and Windows workstations
    • Teams using Ruby-based developer tooling, Fastlane plugins, or affected gems

Severity and business impact

  • Full workstation compromise can expose:
    • SSH keys
    • Cloud credentials
    • API tokens
    • Browser-stored secrets
    • Source code access tokens
  • Likely consequences:
    • Unauthorized access to source repositories and CI/CD platforms
    • Lateral movement into cloud and SaaS environments
    • Operational disruption from workstation rebuilds and credential rotation
    • Reputational and financial impact from downstream supply-chain exposure

Scope and exploitation status

  • Scope is broader than a single targeted victim because malicious versions were published to public RubyGems and could spread through dependency resolution.
  • The campaign appears coordinated and deliberate, with at least two dormant maintainer accounts likely compromised.
  • Exploitation in the wild is confirmed through malicious package publication and observed execution behavior in controlled analysis; public reporting does not provide victim counts.
Does this reach your builds?Trace attribution and downstream blast radius.
Trace the chain
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

2 events · Jul 18, 2026 – Jul 19, 2026
  1. Jul 19, 20265mo ago

    Researchers identify SleeperGem RubyGems supply-chain attack

    On July 19, 2026, Aikido and StepSecurity published analyses identifying the SleeperGem campaign and detailing how the malicious gems fetched second-stage payloads from git.disroot.org while avoiding CI environments. StepSecurity reported that the payload established persistence via systemd and cron and attempted privilege escalation by installing a setuid root shell at /usr/local/sbin/ping6.

    SleeperGem: RubyGems supply chain attack targets dormant maintainer accounts
  2. Jul 18, 20265mo ago

    Malicious RubyGems releases published in SleeperGem campaign

    Between July 18 and July 19, 2026, attackers published malicious versions of the RubyGems packages git_credential_manager, Dendreo, and fastlane-plugin-run_tests_firebase_testlab. The activity was described as a coordinated supply-chain attack involving dormant or compromised maintainer accounts and malicious updates that did not match legitimate source tags.

    SleeperGem: RubyGems supply chain attack targets dormant maintainer accounts
Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Affected products

1 linked
Rubygems

Organizations

3 linked
RubygemsRuby CentralDendreo

Observables

2 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See attribution and downstream blast radius, and whether this package or vendor reaches your builds.
Trace the Supply Chain
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.