Shai-Hulud Payload Steals GitHub, npm, Cloud, CI/CD, and SSH Credentials From Developers
Malicious npm packages are stealing GitHub, npm, cloud, CI/CD, and SSH credentials from developers who install them.
Overview
A malicious software campaign called Shai-Hulud is stealing sensitive login information from developers who use specific cloud tools. The attack targets the Leo/RStreams ecosystem, which helps manage data streams on AWS services like Kinesis and S3. When a developer installs one of these affected packages, the malwareSoftware built to steal data, spy on users, lock files, or take control of a computer silently collects credentialsThe login details, such as a username and password or key, that prove who an account belongs to from files, environment variablesA named setting stored in a program's running environment that often holds file paths or secret keys, and shell history. It then sends this stolen data to attacker-controlled GitHub repositories. The campaign has recorded roughly 45,000 downloads in a single month, meaning thousands of developers may have been compromised without knowing it. Analysts at JFrog Security Research identified this new wave as a recycled version of an older threat with updated targets.
Terms in this story
- malware
- 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
- 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
- environment variables
- A named setting stored in a program's running environment that often holds file paths or secret keys. Cloud apps frequently store database passwords and API tokens in environment variables, so an attacker who tricks a server into printing its environment variables can steal those secrets.
- 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.
- 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.
- 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
- serverless
- A cloud execution model where the provider runs small code functions on demand without dedicated virtual servers. With serverless computing, developers upload individual functions that wake up only when a request arrives, shifting server patching to the cloud provider while leaving application logic permissions to the developer. Security+ objective 3.1 lists the term
- 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
- CLI
- A text-based terminal interface where users type commands instead of clicking buttons in a graphical window. Software teams and administrators manage cloud servers and code repositories through a CLI because text commands are fast and easy to automate in scripts.
- 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.
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.
- Security+ 2.2 Explain common threat vectors and attack surfaces.
"A new wave of malicious npm packages is targeting developers who work with cloud..." Found in the opening sentences - Security+ 2.4 Given a scenario, analyze indicators of malicious activity.
"......as the Shai-Hulud payload carrying the Hades malware family, has now expanded its reach to..." Found in the opening sentences - Security+ 3.1 Compare and contrast security implications of different architecture models.
"......targeting developers who work with cloud and serverless infrastructure. The threat, known as the Shai-Hulud..." Found in the opening sentences - Security+ 4.6 Given a scenario, implement and maintain identity and access management.
"......Steals GitHub, npm, Cloud, CI/CD, and SSH Credentials From Developers..." Found in the headline - Security+ 4.7 Explain the importance of automation and orchestration related to secure operations.
"Shai-Hulud Payload Steals GitHub, npm, Cloud, CI/CD, and SSH Credentials From Developers..." Found in the headline - CYBR 101 week 2: the CIA triad, threat actors, risk and CVEs
"......Payload Steals GitHub, npm, Cloud, CI/CD, and SSH Credentials From Developers..." Found in the headline - CYBR 101 week 9: malware, indicators and how detection works
"......as the Shai-Hulud payload carrying the Hades malware family, has now expanded its reach to..." Found in the opening sentences - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Deploy tools to a target and utilize them once deployed (e.g., backdoors, sniffers).
"...the payload begins collecting credentials stored across files, environment variables, shell history..." Found by reading the article; these exact words are in it - Job skill (from the U.S. Department of Defense list of cybersecurity jobs): Knowledge of threats to OPSEC when installing, using, modifying, and uninstalling tools.
"Security teams are raising the alarm as the attack quietly steals sensitive developer credentials..." 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