Skip to content
supplychainattack.orgSupply chain attack incident catalog
containedcritical

SleeperGem: Compromised git_credential_manager, Dendreo, and fastlane RubyGems Drop a Persistent Backdoor

Three RubyGems (git_credential_manager, Dendreo, and fastlane) were compromised to deliver a persistent backdoor named SleeperGem. The malicious packages fetch a second stage payload from a Forgejo C2 server, bypass CI checks, and install a persistent daemon on developer machines.

ShareXLinkedInHacker News
Disclosed
Last updated
Blast radius
Developers using git_credential_manager, Dendreo, or fastlane gems; systems with these packages installed
Ecosystems
Attack vectors
Affected entities
  • git_credential_managerRubyGem compromised to deliver persistent backdoor
  • DendreoRubyGem compromised to deliver persistent backdoor
  • fastlaneRubyGem compromised to deliver persistent backdoor

SleeperGem is a supply chain attack targeting the RubyGems ecosystem. Three popular gems—git_credential_manager, Dendreo, and fastlane—were compromised to distribute malicious code that establishes persistent backdoor access on developer systems.\n\nThe attack works by embedding code in the compromised gems that fetches a second-stage payload from a Forgejo-based command-and-control server. The malicious code is designed to evade detection by skipping CI/CD pipeline checks, allowing it to execute directly on developer machines during local development or build processes.\n\nOnce executed, the payload installs a persistent daemon, giving attackers ongoing access to compromised systems. This approach targets the developer environment rather than relying solely on package installation, increasing the likelihood of successful compromise.\n\nStepSecurity's analysis, conducted with Harden-Runner, identified and documented the attack chain and indicators of compromise.

Indicators of compromise

Packages
  • git_credential_manager
  • Dendreo
  • fastlane

Remediation

  • Immediately audit systems for the presence of git_credential_manager, Dendreo, and fastlane gems and remove or update to patched versions
  • Check for signs of persistent daemon installation on developer machines and systems that may have executed these packages
  • Review CI/CD logs and developer machine logs for suspicious network connections to Forgejo C2 servers
  • Rotate credentials and SSH keys on any systems that may have been compromised
  • Monitor for lateral movement and data exfiltration from affected developer environments
  • Update RubyGems package management tools and enable integrity verification for gem installations
  • Implement network monitoring to detect connections to known C2 infrastructure

Sources

  1. SleeperGem: Compromised git_credential_manager, Dendreo, and fastlane RubyGems Drop a Persistent Backdoor · StepSecurity

Cite this entry

"SleeperGem: Compromised git_credential_manager, Dendreo, and fastlane RubyGems Drop a Persistent Backdoor." supplychainattack.org, Supply Chain Attack Incident Catalog. Disclosed July 19, 2026; last updated July 19, 2026. https://supplychainattack.org/incident/sleepergem-compromised-git-credential-manager-dendreo-and-fastlane-rubygems-drop-623r1r

Suggest a correction

Found an error or have a newer source? Corrections to factual errors take priority over new entries.

  1. containedcritical

    Malicious code in github.com/BufferZoneCorp/config-loader (Go)

    The Go package github.com/BufferZoneCorp/config-loader was identified as malicious, part of a cluster of packages designed to steal credentials, establish SSH access, and tamper with build and workflow environment variables. The package was flagged by Google's open-source security research.

    GoCompromised packageMalicious maintainer
  2. activecritical

    Malicious code in github.com/BufferZoneCorp/go-retryablehttp (Go)

    Malicious code was discovered in the Go package github.com/BufferZoneCorp/go-retryablehttp. The package steals credentials, establishes SSH access, and tampers with build and workflow environment variables. It is part of a broader cluster of malicious packages affecting both Go and RubyGems ecosystems.

    GoCompromised packageMalicious maintainer
  3. activecritical

    Malicious code in github.com/BufferZoneCorp/go-stdlog (Go)

    The Go package github.com/BufferZoneCorp/go-stdlog contains malicious code that steals credentials, establishes SSH access, and tampers with build and workflow environment variables. It is part of a broader cluster of malicious packages affecting both Go and RubyGems ecosystems.

    GoCompromised packageMalicious maintainer
  4. activecritical

    Malicious code in github.com/BufferZoneCorp/go-metrics-sdk (Go)

    The Go package github.com/BufferZoneCorp/go-metrics-sdk contains malicious code that steals credentials, establishes SSH access, and tampers with build and workflow environment variables. The package is part of a broader malicious cluster affecting both Go and RubyGems ecosystems.

    GoCompromised packageMalicious maintainer