Cyber Risks · The Hacker News

Poisoned Ruby Gems and Go Modules Exploit CI Pipelines for Credential Theft

Summary: A software supply chain campaign tied to the GitHub account "BufferZoneCorp" published malicious Ruby gems and Go modules that masquerade as well-known libraries including activesupport-logger, devise-jwt, go-retryablehttp, grpc-client, and config-loader. The Ruby gems harvest environment variables, SSH keys, AWS secrets, .npmrc, .netrc, GitHub CLI configuration, and RubyGems credentials at install time and exfiltrate them to a Webhook[.]site endpoint, while the Go modules tamper with GitHub Actions workflows, plant fake Go wrappers, and add a hard-coded SSH public key to "~/.ssh/authorized_keys"; the gems have been yanked from RubyGems and the Go modules blocked.

Why it matters: The Go modules execute through init(), detect GITHUB_ENV and GITHUB_PATH, and write a fake go executable into a cache directory appended to the workflow path so the wrapper runs before the real binary - meaning a compromised CI runner can silently intercept later builds while the job still passes. Anyone who installed these packages is advised to rotate exposed credentials and inspect "~/.ssh/authorized_keys" for unauthorized changes.

Read the original at The Hacker News ↗

Topics
Supply Chain & AppSec
Related
Kitesurf is now open source Cyber Risks · Nov 13, 2026