GhostAction Attack Hits Tens of Thousands of GitHub Repositories to Steal Cloud and AI Credentials
A malicious GitHub Actions workflow was pushed into tens of thousands of repositories to steal cloud and AI credentials from code and history.
Overview
A malicious campaign called GhostAction has pushed a fake security workflow into tens of thousands of GitHub repositoriesA central storage place where a software project's source code, change history, and configuration files are kept to steal cloud and AI credentialsThe login details, such as a username and password or key, that prove who an account belongs to. The attack targets over 500 GitHub accounts and includes high-profile projects like uber/athenadriver and kitao/pyxel. The operator commits a file named security-auditA formal, systematic review of an organization's code, configurations, logs, and policies against security standards.yml to the default branch, which runs automatically on the next push to any branch or tag. This new variant uses git log to read the full patchA software update released by a developer to fix a bug or close a security flaw history, exposing credentials that developers thought they had deleted. The payloadThe part of an attack or malware file that carries out the harmful action on the target searches for 13 types of keysThe secret value that locks or opens a message, including AWS, OpenAI, and GitHub tokensA short-lived digital pass that a server gives a logged-in user or app, and sends the stolen data to a specific server. More than 3,000 users and organizations are affected, with 3,174 secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys targeted in public repositories.
Terms in this story
- 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
- patch
- A software update released by a developer to fix a bug or close a security flaw. When a software flaw is discovered, the vendor ships a patch so administrators and ordinary users can update their systems before attackers exploit the bug. Security+ objective 4.3 lists the term
- payload
- The part of an attack or malware file that carries out the harmful action on the target. A phishing email and an exploit are only the delivery steps, while the payload is the ransomware or spyware that actually runs once the computer is compromised.
- 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)
- 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
- 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.
- credential-stealing
- Stealing usernames, passwords, login tokens, or keys so an attacker can sign in as a real user. Attackers use phishing pages, keyloggers, and memory dumps for credential theft because logging in with a real employee's password triggers fewer alarms than a noisy software exploit. Security+ objective 2.4 lists the term
- source code
- The human-readable programming instructions written by developers before they are compiled into a runnable program. When attackers steal a company's private source code from a repository, they can study it to find hidden vulnerabilities or leaked API keys.
- CI/CD
- The automated pipeline that tests, builds, and deploys software whenever developers push new code. Attackers love to compromise a company's CI/CD pipeline because that build server holds cloud keys and can inject malicious code directly into official software releases. Security+ objective 4.7 lists the term
- security audit
- A formal, systematic review of an organization's code, configurations, logs, and policies against security standards. Companies hire outside specialists to conduct a security audit before launching a major product or to prove to customers and regulators that their controls work. Security+ objective 4.3 lists the term
- maintainer
- 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.
- 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.
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 GBHackers website. Cite the article, not this page.
Read the full article on GBHackers (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: Breach or attack
"...pushed a credential-stealing GitHub Actions workflow..." Found by reading the article; these exact words are in it - Who is affected: "Tens of Thousands of GitHub Repositories..." Organizations using the product
Copied word for word from the article - Security+ 2.2 Explain common threat vectors and attack surfaces.
"A new wave of the GhostAction supply chain campaign has pushed a credential-stealing GitHub Actions..." Found in the opening sentences - Security+ 2.3 Explain various types of vulnerabilities.
"A new wave of the GhostAction supply chain campaign has pushed a credential-stealing GitHub Actions..." Found in the opening sentences - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......GitHub Repositories to Steal Cloud and AI Credentials..." Found in the headline - Security+ 4.7 Explain the importance of automation and orchestration related to secure operations.
"......code and git history, in addition to CI/CD secrets." Found in the opening sentences - Security+ 5.3 Explain the processes associated with third-party risk assessment and management.
"A new wave of the GhostAction supply chain campaign has pushed a credential-stealing GitHub Actions..." Found in the opening sentences - CYBR 101 week 6: AI, how it is attacked, and what it does for attackers and defenders
"......of GitHub Repositories to Steal Cloud and AI Credentials..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of the concept of an advanced persistent threat (APT)
"A new wave of the GhostAction supply chain campaign..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Employ secure configuration management processes.
"...the operator commits the file straight to the default branch..." Found by reading the article; these exact words are in it
How a story is connected to the course, and every objective, week and job role
Same story at other outlets
- GhostAction Hackers Compromise 500+ GitHub Accounts to Steal AWS, OpenAI, and Cloud Credentials
- New Supply Chain Attack Compromises Tens of Thousands of GitHub Repositories