{"id":"MAL-2026-20685","summary":"Malicious code in fastlane-plugin-run_tests_firebase_testlab (RubyGems)","details":"fastlane-plugin-run_tests_firebase_testlab 0.3.2 was published on 2026-07-19 from the gem's long-dormant maintainer account (previous release 0.3.1, 2019-03-04; there is no matching upstream tag) as a loader for the same SleeperGem chain as git_credential_manager. 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 0.3.2 is affected; it was yanked, and 0.3.1 and earlier are the legitimate releases.","modified":"2026-11-27T04:15:07.444221634Z","published":"2026-11-25T00:00:00Z","database_specific":{"iocs":{"files":[{"note":"daemon and its config dropped by the second stage","paths":["$HOME/.local/share/gcm/git-credential-manager","$HOME/.local/share/gcm/.env"],"source":"DROPPED"},{"source":"DROPPED","note":"setuid-root shell (mode 6777), written when the payload runs as root","paths":["/usr/local/sbin/ping6"]}],"urls":["https://git.disroot.org/git-ecosystem/"]}},"references":[{"type":"REPORT","url":"https://aikido.dev/blog/sleepergem-rubygems-supply-chain-attack"},{"type":"REPORT","url":"https://www.stepsecurity.io/blog/sleepergem-compromised-rubygems-drop-persistent-backdoor"}],"affected":[{"package":{"name":"fastlane-plugin-run_tests_firebase_testlab","ecosystem":"RubyGems","purl":"pkg:gem/fastlane-plugin-run_tests_firebase_testlab"},"versions":["0.3.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/rubygems/fastlane-plugin-run_tests_firebase_testlab/MAL-2026-20685.json"}}],"schema_version":"1.9.2","credits":[{"name":"Aikido Security","contact":["https://aikido.dev/blog/sleepergem-rubygems-supply-chain-attack"],"type":"FINDER"},{"name":"StepSecurity","contact":["https://www.stepsecurity.io/blog/sleepergem-compromised-rubygems-drop-persistent-backdoor"],"type":"ANALYST"},{"name":"Patrick Duggan, DugganUSA","contact":["mailto:patrick@dugganusa.com"],"type":"REPORTER"}]}