Cybersecurity news

Jessica Doner

Back to the list

New GhostAction Attack Compromises Hundreds of GitHub Repos to Steal Secrets

Cyber Security News,

Hackers used hijacked accounts to add a fake workflow to hundreds of GitHub repositories, stealing secrets, keys, and credentials.

Attacks and breaches

Overview

Threat actorsA person or group that carries out cyberattacks, whether for money, spying, or disruption used two hijacked GitHub maintainerThe developer or small team responsible for reviewing changes and publishing releases for an open-source project accounts to compromise 346 repositoriesA central storage place where a software project's source code, change history, and configuration files are kept by adding a fake security auditA formal, systematic review of an organization's code, configurations, logs, and policies against security standards workflow. This malicious file was designed to steal sensitive data such as cloud keysThe secret value that locks or opens a message, API tokensA secret string a program sends with an API request to identify itself and get access, and credentialsThe login details, such as a username and password or key, that prove who an account belongs to stored in source-codeThe human-readable programming instructions written by developers before they are compiled into a runnable program history. The attack affected well-known projects, including Uber's athenadriver repository and the popular pyxel project, which has more than 18,000 stars. Once attackers gain write access to a maintainer account, they can add workflows to every repository that account can modify. The workflow runs automatically when developers push code, allowing it to collect secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys and send them to a specific server. The campaign also searches the full Git history for hardcodedPasswords or secret keys written directly into source code instead of stored in a separate vault secrets that may have been removed from current files but remain exposed in older commits.

Terms in this story

threat actors
A person or group that carries out cyberattacks, whether for money, spying, or disruption. Security researchers use the term threat actor to refer to a criminal gang, state spy unit, or solo hacker behind a series of intrusions. Security+ objective 2.1 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.
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
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)
API tokens
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
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
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
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.
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.
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.
hardcoded
Passwords or secret keys written directly into source code instead of stored in a separate vault. When a vendor ships a router or server appliance with hardcoded credentials inside its firmware, every customer device shares the exact same secret backdoor password.
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

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.

How a story is connected to the course, and every objective, week and job role

Same story at other outlets

Related