Cybersecurity news

Jessica Doner

Back to the list

Hackers Abuse GitHub Actions to Backdoor AsyncAPI npm Packages With Miasma RAT

Cyber Security News,

Hackers used a compromised release process to push malware into trusted npm packages, putting developer systems and automated build environments at risk.

Malware and ransomware

Overview

Attackers compromised the release process for AsyncAPI npm packagesA reusable web code library published to the public npm registry for developers to install to distribute Miasma malware. They exploited a vulnerable GitHub Actions configurationA text file that stores settings, network addresses, and options for how a program or server runs to access a privileged workflow context and alter the code. The malicious changes were placed in a branch tied to the project's release process to look like ordinary development activity. The project's own automation then released the altered packages under the expected npm namespaceA named boundary that keeps variable names, package names, or container resources separate from each other. This technique differs from typosquattingRegistering a domain or software package with a common misspelling of a popular name because it uses a trusted software release path rather than lookalike names. Teams that automatically restored dependencies during the exposure window may have pulled the affected code into build environments.

Terms in this story

npm Packages
A reusable web code library published to the public npm registry for developers to install. Web developers pull in dozens of npm packages when building a site, and attackers frequently publish malicious packages with lookalike names to steal developer credentials during installation. Security+ objective 2.2 lists the term
configuration
A text file that stores settings, network addresses, and options for how a program or server runs. Attackers who gain read access to a server look for its configuration file first because it often contains database passwords, API keys, and internal server paths.
RAT
Malware disguised as a normal file that gives an attacker remote control over the victim's computer. Once installed, a remote access trojan lets the attacker watch the screen, record keystrokes, browse files, and run commands as if sitting at the keyboard. Security+ objective 2.4 lists the term
namespace
A named boundary that keeps variable names, package names, or container resources separate from each other. Operating systems use namespaces to isolate containers so a program inside one container sees only its own files and processes, not those of the host server.
typosquatting
Registering a domain or software package with a common misspelling of a popular name. Attackers use typosquatting on code registries so a developer who mistypes one letter when installing a library accidentally downloads malware. Security+ objective 2.2 lists the term
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.
Backdoor
A hidden way into a computer or program that skips the normal login check. Attackers plant a backdoor on a compromised server so they can return later even if the administrator changes passwords or fixes the original flaw. Security+ objective 2.4 lists the term
supply chain attack
Breaking into a software maker or vendor so their trusted product or update infects their customers. Instead of attacking a hundred companies one by one, an intruder compromises a single software library or update server that all of those companies already trust. Security+ objective 2.2 lists the term
malicious code
Software built to steal data, spy on users, lock files, or take control of a computer. News reports use malware as the umbrella term for viruses, ransomware, spyware, and trojans that criminals install on phones, laptops, or servers without permission. Security+ objective 2.4 lists the term
CI/CD pipelines
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
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
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.

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

Related