Hackers Are Turning Trusted Software Updates Into Credential-Stealing Malware
Hackers stole a publishing token to release malicious software updates that stole credentials from developers and enterprises.
Overview
Attackers compromised legitimate open-sourceSoftware whose source code is publicly available for anyone to inspect, use, modify, and share software packages to steal sensitive data from developers and enterprises. They used a stolen publishing tokenA short-lived digital pass that a server gives a logged-in user or app to release malicious updates that ran scriptsA short program written in an interpreted language to automate tasks in a browser, shell, or application to find and upload secretsPrivate credentials used by software, such as API keys, database passwords, and encryption keys to public repositories. One specific attack, called S1ngularity, used locally installed AI coding assistants to help locate credentialsThe login details, such as a username and password or key, that prove who an account belongs to and keysThe secret value that locks or opens a message. Another incident, named Shai-Hulud, acted like a worm by stealing credentials to publish more malicious packages. These attacks exploit the trust that developers place in automated update channels and build tools. The compromised packages were available for roughly four hours, which was enough time to reach a significant number of developers.
Terms in this story
- open-source
- Software whose source code is publicly available for anyone to inspect, use, modify, and share. Most websites and apps rely on hundreds of open-source code libraries, so a single security flaw or malicious update in a popular library can affect thousands of companies at once.
- token
- 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
- scripts
- A short program written in an interpreted language to automate tasks in a browser, shell, or application. System administrators write scripts to automate daily maintenance, while attackers often use a script to download malware and disable security settings without dropping a compiled file.
- 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.
- 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
- 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)
- 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.
- Credential-Stealing Malware
- Malware built to quietly copy saved passwords, browser cookies, and wallet keys from an infected device. Victims often download an infostealer through a fake game crack or malicious ad, and the stolen login cookies are then sold to ransomware crews on criminal markets. Security+ objective 2.4 lists the term
- 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
- prompt
- The text instruction or question a user or program sends to an artificial intelligence model. In AI security news, a prompt includes both the visible question typed by a user and the hidden instructions that an attacker might embed in a web page.
- SSH
- An encrypted network protocol that administrators and developers use to log in to remote servers and run commands. Attackers constantly scan the internet for servers with open SSH ports and weak passwords, while defenders protect SSH access with cryptographic keys instead of passwords.
- exfiltrated
- The unauthorized copying and sending of stolen files or records out of a victim's network. Before launching ransomware or after breaking into a cloud database, attackers perform data exfiltration by quietly uploading customer records to an external storage server they control. Security+ objective 2.1 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 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: Research and reports
"...attackers are compromising legitimate open-source packages..." Found by reading the article; these exact words are in it - Security+ 2.2 Explain common threat vectors and attack surfaces.
"A growing wave of supply-chain attacks is proving the opposite: attackers are compromising..." Found in the opening sentences - Security+ 2.3 Explain various types of vulnerabilities.
"A growing wave of supply-chain attacks is proving the opposite: attackers are..." Found in the opening sentences - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......Are Turning Trusted Software Updates Into Credential-Stealing Malware..." Found in the headline - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"Hackers Are Turning Trusted Software Updates Into Credential-Stealing Malware..." Found in the headline - Security+ 4.7 Explain the importance of automation and orchestration related to secure operations.
"......stole an npm publishing token through a GitHub Actions workflow flaw, ran post-install scripts that searched..." Found in the opening sentences - Security+ 5.3 Explain the processes associated with third-party risk assessment and management.
"A growing wave of supply-chain attacks is proving the opposite: attackers are..." Found in the opening sentences - CYBR 101 week 1: the course, logins and two-factor sign in, cyber roles and jobs
"......proving the opposite: attackers are compromising legitimate open-source packages and using trusted update channels to..." Found in the opening sentences - CYBR 101 week 3: cyber hygiene, privacy, OSINT and social engineering
"Hackers Are Turning Trusted Software Updates Into Credential-Stealing Malware..." Found in the headline - CYBR 101 week 9: malware, indicators and how detection works
"......Are Turning Trusted Software Updates Into Credential-Stealing Malware..." Found in the headline - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Analyze identified malicious activity to determine weaknesses exploited, exploitation methods, effects on system and information.
"Malicious Nx releases, published after attackers stole an npm publishing token..." 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
- Hackers Use Web3 and Blockchain C2 to Hide Supply Chain Attacks Targeting Cloud Credentials
- ChainDrop and PolinRider Use Blockchain C2 to Steal Cloud and CI/CD Credentials
- Evolution of Web3 in Cloud Supply Chain Attacks
- Hackers Poison Trusted Software Updates to Steal Developer and Cloud Credentials