$ techbeacon▋
Phishing

Hijacked GitHub Credentials Enable Secret‑Stealer Campaign Across Thousands of Repos

Hijacked GitHub Credentials Enable Secret‑Stealer Campaign Across Thousands of Repos

Security firm Aikido Security reported on Tuesday that an attacker leveraged compromised credentials from 4,837 GitHub accounts to embed a secret‑stealing tool in more than 1,800 repositories where those accounts held write permissions.

The malicious code targets continuous‑integration (CI) pipelines, a common automation layer that builds and deploys software. By inserting a lightweight stealer into CI workflows, the threat actor can harvest environment variables, API keys and other confidential data that developers routinely store for automated processes.

According to the investigation, the attacker first obtained valid GitHub login details—likely through credential‑stuffing or phishing—and then used the authorized write access to push the stealer into repositories across a wide range of projects. The scale of the operation, involving nearly five thousand hijacked accounts, suggests a coordinated effort rather than an isolated breach.

Once the code runs during a CI job, it extracts cloud service credentials and other secrets, transmitting them to an external endpoint controlled by the attacker. The stolen material can enable further compromise of cloud infrastructure, data exfiltration or the deployment of additional malware, amplifying the risk far beyond the original repositories.

GitHub’s security team has been alerted and is working with affected users to revoke compromised tokens and enforce stronger authentication measures. Aikido recommends that organizations audit recent commits, rotate all exposed keys, enable two‑factor authentication, and adopt secret‑scanning tools that can detect such payloads before they are merged.

The incident underscores the growing focus on supply‑chain security, especially as CI/CD pipelines become integral to modern software development. Experts say the episode will likely push more teams to adopt zero‑trust principles, enforce least‑privilege access, and implement automated secret‑management solutions to curb similar attacks in the future.

Vikas Thakur — Vikas covers DDoS attacks, botnet infrastructure, and network-layer threats. Hands-on experience with mitigation and traffic analysis, covers IoT botnets and infra-level attacks.

Comments (0)

Be the first to comment.

Join the discussion

Protected by reCAPTCHA v3

Related