Skip to main content
Mallory
← Back to News
package-repository-poisoningcredential-stealer-activitybuild-pipeline-compromisephishing-campaign-intelligence

Malware Campaigns Targeting Developers via npm and GitHub Repositories

Supply Chain Risk · 2 sources · Updated 5mo ago · First seen Dec 1, 2025

Malware Campaigns Targeting Developers via npm and GitHub Repositories

A new wave of supply chain attacks has targeted developers through malicious npm packages and GitHub repositories, with attackers leveraging both automated worms and sophisticated social engineering. The npm registry was compromised by a self-replicating worm known as "Sha1-Hulud: The Second Coming," which infected over 800 packages and 27,000 GitHub repositories. The malware aimed to steal sensitive data such as API keys, cloud credentials, and authentication tokens, and it backdoored npm packages to execute malicious payloads during installation. Attackers also abused GitHub Actions workflows for command-and-control and data exfiltration, with a notable shift to using the Bun runtime for improved stealth and evasion of Node.js-focused defenses.

In a related attack vector, threat actors used fake job interviews to lure developers into cloning and running seemingly benign Next.js projects from private GitHub repositories. The malicious code was hidden in the next.config.js file, which executed on the developer's machine during project setup, bypassing traditional dependency-based detection. This "Living off the Land" technique enabled the theft of credentials, including those for LastPass and cryptocurrency wallets, by exploiting trusted development workflows. Both incidents highlight the growing risk of supply chain attacks targeting developers through trusted tools and social engineering tactics.

Why it matters

Impact assessment

Developers, software publishers, and organizations that rely on npm, GitHub, and JavaScript/Next.js development workflows are directly affected. The impact is high because the activity combines software supply chain compromise with credential theft, exposing API keys, cloud credentials, repository secrets, authentication tokens, password manager access, and cryptocurrency wallets.

The scope is broad for the npm/GitHub campaign and more targeted for the fake job interview lure. The Shai-Hulud campaign reportedly infected more than 800 npm packages and 27,000 GitHub repositories, indicating widespread downstream exposure, while the interview-themed Next.js malware appears aimed at individual developers through social engineering and trusted local execution.

Supporting facts

  • Affected ecosystems: npm registry, GitHub repositories, GitHub Actions, Next.js developer workflows.
  • Affected populations: software developers, CI/CD maintainers, open-source maintainers, organizations consuming npm packages.
  • Reported impact: theft of API keys, cloud credentials, authentication information, repository secrets, LastPass credentials, and cryptocurrency wallet data.
  • Reported scale: over 800 npm packages and 27,000 GitHub repositories affected by Shai-Hulud.
  • Known incident: Trigger.dev reportedly experienced credential theft and unauthorized GitHub access tied to a compromised npm package.
  • Exposure pattern:
    • Widespread: npm package backdooring and GitHub repository propagation.
    • Targeted: fake job interview repositories delivered through private GitHub repos.
  • Operational risk: compromised build pipelines and developer endpoints can enable follow-on code tampering, secret reuse, cloud compromise, and reputational damage from publishing trojanized software.
Does this reach your builds?Trace attribution and downstream blast radius.
Trace the chain
Event timeline

How this story unfolded

Events from the most recent confirmed update back to the earliest known activity.

1 event · Nov 30, 2025
  1. Nov 30, 20251y ago

    Researchers document 'Next.js Job Interview' malware campaign

    A reverse-engineering report detailed a malware campaign using a fake Next.js job interview lure to target victims associated with LastPass and cryptocurrency. The report described the malware's behavior and targeting as part of the campaign's public disclosure.

Linked entities

Related entities

Vulnerabilities, threat actors, malware, products, organizations, breaches, and observables Mallory has linked to this story. Indicator values are masked here and available in full in the app.

Open in app →

Threat actors

1 linked

Malware

1 linked

Organizations

2 linked
GitHubTrigger.dev

Observables

4 linked

Indicator values are masked on this page. See the values in Mallory Domains, IPs, hashes, and URLs are exportable to your SIEM.

Do you run this?See attribution and downstream blast radius, and whether this package or vendor reaches your builds.
Trace the Supply Chain
Mallory platform

See the full picture, correlated to your attack surface.

This page covers what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which threat actors are using it right now, and what to deploy next.

Exposure mappingMap indicators from this story to your assets and identify affected systems in minutes.
Threat actor evidenceEvery observed campaign, victim, and pivot linked to actors named in this story.
Associated malwareMalware, exploits, and IOCs connected to the activity described here.
Detection signaturesYARA, Sigma, and Snort rules deployed to your SIEM as soon as they’re published.
Scheduled alertsGet matching new stories delivered to your team as they break, not the next morning.
AI threadsAsk questions about this story and take action on the answers.