SleeperGem RubyGems Attack Backdoored Developer Machines via Hijacked Dormant Gems
Supply Chain Risk · 5 sources · Updated 4mo ago · First seen Jul 19, 2026

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_managerDendreofastlane-plugin-run_tests_firebase_testlab
- Transitive exposure noted through dependency insertion into:
slackHtmlToMarkdownseo_optimizerarray_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.


