DendreoRubyGems
Advisory published Updated
Dendreo is a confirmed malicious RubyGems package (MAL-2026-20684) that steals credentials and exfiltrates sensitive data (malicious versions 1.1.3, 1.1.4). Do not install it — remove it immediately and rotate any exposed credentials.
Malicious code in Dendreo (RubyGems)
What this malware does
Dendreo 1.1.3 and 1.1.4 were published on 2026-07-18 from the gem's long-dormant maintainer account (previous release 1.1.2, 2020-10-24) and add the malicious git_credential_manager gem as a dependency (SleeperGem campaign). The loader exits if any of about 30 CI environment variables is set; otherwise it downloads a second stage from https://git.disroot.org/git-ecosystem/ (an account on a public Forgejo instance) with TLS verification disabled and runs it. The second stage installs a daemon at $HOME/.local/share/gcm/git-credential-manager with systemd user service and cron persistence, probes sudo/wheel membership, and when run as root drops a setuid-root shell at /usr/local/sbin/ping6. Reported by Aikido Security and analyzed by StepSecurity. Only 1.1.3 and 1.1.4 are affected; both were yanked, and 1.1.2 and earlier are the legitimate releases.
Malicious versions
Detection & response playbook
Credential / info stealerFind it
Search your lockfiles and build artifacts for Dendreo (2 malicious versions).
If you installed it — respond
Dendreo is built to steal secrets, so assume every credential the build or runtime could read is compromised. Remove it from your project and lockfile, then rotate ALL exposed secrets — npm/registry tokens, cloud keys, CI/CD secrets, SSH keys, and any .env values — from a known-clean machine. Audit logs for unauthorized use of those credentials.
Did it already run?
If Dendreo was installed, its post-install payload may already have run. Removing the package does not undo that — check outbound connections and credential use from the install window onward.
Frequently asked questions
References
Credits
- Aikido Security · finder
- StepSecurity · analyst
- Patrick Duggan, DugganUSA · reporter
Detect & block this
O3 blocks Dendreo-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.