# SleeperGem: RubyGems supply chain attack targets dormant maintainer accounts

DevFeed: [SleeperGem: RubyGems supply chain attack targets dormant maintainer accounts](<https://devfeed.tech/articles/sleepergem-rubygems-supply-chain-attack-targets-dormant-maintainer-accounts-51654.md>)

Original publisher: [Read original article](<https://www.aikido.dev/blog/sleepergem-rubygems-supply-chain-attack>)

Author: Charlie Eriksen

Published: 2026-07-19T08:45:00Z

Content type: article

Language: en

Sources: [Aikido Security's Blog](<https://devfeed.tech/sources/aikido-security-s-blog.md>)

Topics: [Malware](<https://devfeed.tech/topics/malware.md>), [Vulnerabilities](<https://devfeed.tech/topics/vulnerabilities.md>), [rubygems](<https://devfeed.tech/topics/rubygems.md>), [.env](<https://devfeed.tech/topics/dotenv.md>), [Continuous integration](<https://devfeed.tech/topics/continuous-integration.md>), [forgejo](<https://devfeed.tech/topics/forgejo.md>), [PowerShell](<https://devfeed.tech/topics/powershell.md>), [VirusTotal](<https://devfeed.tech/topics/virustotal.md>), [GitHub Actions](<https://devfeed.tech/topics/github-actions.md>), [GitLab](<https://devfeed.tech/topics/gitlab.md>), [CircleCI](<https://devfeed.tech/topics/circleci.md>), [Jenkins](<https://devfeed.tech/topics/jenkins.md>)

Tags: [ci](<https://devfeed.tech/tags/ci.md>), [circleci](<https://devfeed.tech/tags/circleci.md>), [developer](<https://devfeed.tech/tags/developer.md>), [dropper](<https://devfeed.tech/tags/dropper.md>), [environment-variables](<https://devfeed.tech/tags/environment-variables.md>), [forgejo](<https://devfeed.tech/tags/forgejo.md>), [git](<https://devfeed.tech/tags/git.md>), [github-actions](<https://devfeed.tech/tags/github-actions.md>), [gitlab](<https://devfeed.tech/tags/gitlab.md>), [gitlab-ci](<https://devfeed.tech/tags/gitlab-ci.md>), [jenkins](<https://devfeed.tech/tags/jenkins.md>), [malware](<https://devfeed.tech/tags/malware.md>), [powershell](<https://devfeed.tech/tags/powershell.md>), [supply-chain](<https://devfeed.tech/tags/supply-chain.md>), [supply-chain-attack](<https://devfeed.tech/tags/supply-chain-attack.md>), [vulnerabilities](<https://devfeed.tech/tags/vulnerabilities.md>)

## AI overview

The article examines SleeperGem, a RubyGems supply-chain attack in which malicious binaries were delivered through a public Forgejo repository. It traces how successive gem versions evolved from a staged dropper into code that executed when the library was loaded, while avoiding CI environments and targeting developer laptops.

## Source excerpt

SleeperGem: two dormant RubyGems maintainer accounts were hijacked to inject malware into trusted gems, one with over 500,000 total downloads Category: Vulnerabilities & Threats