NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
Malicious package

git_credential_managerRubyGems

Advisory published Updated

git_credential_manager is a confirmed malicious RubyGems package (MAL-2026-20686) that steals credentials and exfiltrates sensitive data (malicious versions 2.8.0, 2.8.1, 2.8.2…). Do not install it — remove it immediately and rotate any exposed credentials.

Malicious code in git_credential_manager (RubyGems)

MAL-2026-20686
Immediate action
Remove the package, then rotate any secrets the build/runtime could reach.
gem uninstall git_credential_manager

What this malware does

git_credential_manager impersonates Microsoft's Git Credential Manager. Versions 2.8.0 to 2.8.3 were published on 2026-07-18 and 2026-07-19 as part of the SleeperGem campaign, and the same gem was added as a dependency to hijacked Dendreo releases. From 2.8.2 the code runs when the library is required, not only at install. 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. The gem has been removed from RubyGems.

Malicious versions

4 flagged
2.8.02.8.12.8.22.8.3

Detection & response playbook

Credential / info stealer
  1. Find it

    Search your lockfiles and build artifacts for git_credential_manager (4 malicious versions).

  2. If you installed it — respond

    git_credential_manager 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.

  3. Did it already run?

    If git_credential_manager 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

No. git_credential_manager on RubyGems has been identified as a malicious package (versions 2.8.0, 2.8.1, 2.8.2, 2.8.3 flagged). It should be removed immediately — do not install or keep it in your dependency tree.

References

Credits

  • Aikido Security · finder
  • StepSecurity · analyst
  • Patrick Duggan, DugganUSA · reporter

Detect & block this

O3 blocks git_credential_manager-class packages before install and in CI — and if it already ran, its runtime egress monitoring catches the credential exfiltration and severs the channel.

Explore

git_credential_manager (RubyGems) malicious package — MAL-2026-20686 | O3 Security