Hackers Hijack 790 GitHub Repositories to Steal Cloud Credentials and AI API Keys
Hackers compromised 790 GitHub repositories to steal cloud credentials and AI API keys by abusing trusted developer accounts.
Overview
A campaign called GhostAction has planted malicious GitHub Actions workflows (automated scripts that GitHub runs when code is pushed) in 790 repositoriesA central storage place where a software project's source code, change history, and configuration files are kept, putting cloud credentialsAccess keys, tokens, or login secrets that grant control over cloud servers and storage, software-publishing tokensA short-lived digital pass that a server gives a logged-in user or app and AI service keysThe secret value that locks or opens a message at risk. The count is OpenSourceMalware's tally of publicly recoverable, validated repositories through October 9, 2026, and does not mean every one leaked a secret. The attack starts with a stolen maintainer account: once the attacker can write to the repositories, they add a workflow that runs on the next push and reads whatever secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys the workflow can see. The newer workflow searches the files and the whole Git history (older commits, where a deleted key may still sit) for strings that look like credentialsThe login details, such as a username and password or key, that prove who an account belongs to, including AWS access keys and tokens for GitHub, OpenAI and Anthropic. It sends what it finds to the attackers' servers over plain HTTP from the build runner, where the traffic looks like routine build activity. For a student the sharp edge is Git history: a key removed from a file is not removed from the past commits.
Terms in this story
- Cloud Credentials
- Access keys, tokens, or login secrets that grant control over cloud servers and storage. Attackers scan public code repositories and developer laptops for cloud credentials so they can spin up cryptominers or download company databases.
- credentials
- The login details, such as a username and password or key, that prove who an account belongs to. Many breaches begin when attackers steal an employee's login credentials through a fake website and sign in to the company network as if they belonged there. Security+ objective 4.6 lists the term
- tokens
- A short-lived digital pass that a server gives a logged-in user or app. After you sign in once, your browser or app presents a token on each request, and if malware steals that token the attacker can act as you without knowing your password. Security+ objective 4.6 lists the term
- keys
- The secret value that locks or opens a message. Many breach and ransomware stories come down to who holds the cryptographic key, since strong encryption protects data only as long as the key stays secret. From the CYBR 101 room CYBR 101: Ciphers and encryption (part 1)
- secrets
- Private credentials used by software, such as API keys, database passwords, and encryption keys. Software teams use vault tools to keep secrets out of source code because anyone who finds a leaked secret in a public repository can log right in to the company's cloud services.
- Hackers
- A person who explores and manipulates computer systems, either as a criminal intruder or a security researcher. In news headlines, the word hacker usually means an unauthorized intruder, though the security community also uses it for researchers who find and fix flaws.
- API Keys
- A secret string a program sends with an API request to identify itself and get access. Software teams sometimes accidentally upload an API key to a public code repository, allowing attackers who scan for leaked keys to rack up cloud bills or read private databases. Security+ objective 4.6 lists the term
- repository
- A central storage place where a software project's source code, change history, and configuration files are kept. Software teams collaborate by pushing code to a shared repository, and attackers scan public repositories for accidentally committed API keys or try to poison popular projects.
- API
- A structured interface that lets one software program request data or actions from another program. Mobile apps, websites, and cloud services talk to backend servers through an API, and a poorly protected API can let attackers pull customer records in bulk. Security+ objective 4.7 lists the term
- maintainer's
- The developer or small team responsible for reviewing changes and publishing releases for an open-source project. Supply chain attackers often target a volunteer maintainer with phishing emails or offers to help, hoping to gain publishing rights over a popular code library.
This page is a short description made for this site. The article itself, with its author's name and its own link, is on the Cyber Security News website. Cite the article, not this page.
Read the full article on Cyber Security News (opens in a new tab)
Course connections
Each line below connects this story to a Security+ objective (a skill on CompTIA's Security+ exam, a common first cybersecurity certification), a CYBR 101 week, or a cybersecurity job, and quotes the words that made the connection.
- Kind of story: Research and reports
"Researchers from OpenSourceMalware identified this latest stage..." Found by reading the article; these exact words are in it - Who is affected: "...cloud credentials, software-publishing tokens, and AI service keys..."
Copied word for word from the article - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......Hijack 790 GitHub Repositories to Steal Cloud Credentials and AI API Keys..." Found in the headline - Security+ 4.7 Explain the importance of automation and orchestration related to secure operations.
"A campaign called GhostAction has placed malicious GitHub Actions workflows in 790 repositories, putting cloud credentials,..." Found in the opening sentences - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"......GitHub Repositories to Steal Cloud Credentials and AI API Keys..." Found in the headline
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- GhostAction Hackers Inject Malicious Security Workflows Into 790 GitHub Repositories
- GhostAction Compromises About 1,900 GitHub Accounts, Targets Over 30,000 Repositories
- GhostAction Hackers Compromise 500+ GitHub Accounts to Steal Cloud and AI API Credentials
- Credential-Stealing GitHub Actions Workflows Planted in Tens of Thousands of Repositories
- New GhostAction Attack Compromises Hundreds of GitHub Repos to Steal Secrets
- GhostAction Supply Chain Campaign Uses Malicious GitHub Actions to Steal CI/CD Credentials
- Hackers Abuse GitHub Actions to Steal SSH Keys, Cloud Credentials and Access Tokens