TL;DR: Malicious RubyGems versions of git_credential_manager, Dendreo, and a fastlane plugin used CI evasion, second-stage payload delivery, and persistence on developer machines, according to StepSecurity's SleeperGem analysis. The pattern shows how supply chain compromise can turn a package install into credential exposure, backdoor persistence, and fleet-wide secret risk.
Editorial analysis by NHI Mgmt Group, based on content published by StepSecurity: “SleeperGem: Compromised git_credential_manager, Dendreo, and fastlane RubyGems Drop a Persistent Backdoor”.
Key questions
Q: What fails when a package is designed to skip CI and run only on developer machines?
A: Pipeline-only testing fails because the malicious path is intentionally hidden in CI and activated in the endpoint context where interactive credentials, cached sessions, and local tooling are available.
Q: Why do developer workstations increase supply-chain risk so quickly?
A: Developer workstations concentrate source code, cloud credentials, CI/CD secrets, SSH keys, and repository permissions in one place.
Q: What are the signs that a malicious gem is trying to hide in normal workflows?
A: Look for releases that appear without matching source tags, packages that sit dormant for years and then suddenly publish, and code that checks CI environment variables before doing anything.
Practitioner guidance
- Inspect developer endpoints for SleeperGem artifacts Search for the dropped daemon under ~/.local/share/gcm/, the matching systemd user service, the cron entry, and any setuid shell at /usr/local/sbin/ping6.
- Rotate every secret reachable from affected machines Assume any SSH key, cloud token, browser-stored secret, or environment-file credential present on an infected laptop may be exposed and replace it immediately.
- Block environment-aware dependency execution paths Review packages that run code on require or install, especially where they suppress execution in CI but activate on developer machines.
Bottom line: SleeperGem demonstrates that a supply chain compromise can turn a routine gem install into a developer workstation identity event.
Explore further
View Full Forum → | NHI Foundation Course → | Our Services → | Read the full analysis →
Developer machines are now part of supply chain trust, not just the endpoint estate. SleeperGem shows why package risk cannot be confined to build integrity checks alone. The malicious gems were designed to bypass CI and activate on developer laptops, where local credentials and authenticated sessions are more valuable. The governance lesson is that software supply chain policy must include workstation-level identity exposure as part of the trust boundary.
A question worth separating out:
Q: How should teams respond after a compromised package has run on a developer laptop?
A: Treat the laptop as compromised, remove any persistence, inspect for root-level tampering, and rotate every secret that machine could reach. Then review whether the same package version or similar provenance pattern exists elsewhere in the fleet. Response should focus on identity exposure first, because secrets are usually the real downstream risk.
👉 Read our full editorial: SleeperGem exposes developer machine risk in RubyGems supply chains