Skip to main content
Mallory
Malware2 associated actors

ChainDrop

Tracked since Aug 4, 2026 · Updated today
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days2 mentions · peak 1 in a dayToday
Vulns0Associated
Actors2Associated
ATT&CK62Techniques
IOCs28Tracked
Type
Worm
Capabilities
Credential theftExfiltrationPersistenceDefense evasionReconnaissance
Delivery
Landing page
Platforms
LinuxmacOSWindowsCloud

ChainDrop is a self-propagating npm supply-chain worm in the Shai-Hulud lineage, identified on August 4, 2026. The campaign began with a compromised maintainer in the keyv ecosystem and spread to more than 400 npm packages, including keyv and cacheable-request. It targets developer workstations and CI/CD environments running Linux, macOS, and Windows. Compromised packages preserve their legitimate functionality while executing malicious preinstall hooks that obtain the legitimate Bun runtime when needed and launch an obfuscated JavaScript payload.

ChainDrop harvests npm and GitHub tokens, SSH keys, cloud credentials, Kubernetes and HashiCorp Vault tokens, and secrets associated with CI/CD systems and AI coding tools. It searches local files, environment variables, cloud metadata services, and running build-process memory, including GitHub Actions runner memory containing temporary credentials and OpenID Connect tokens. It also validates credentials and enumerates accessible repositories, cloud resources, secret stores, and workflow permissions. Stolen information is compressed and encrypted before exfiltration. An Ethereum smart contract serves as a dynamic resolver for attacker infrastructure, allowing destination changes without redistributing the malware; fallback mechanisms include GitHub-based infrastructure discovery and public repositories created under compromised accounts.

The worm propagates by using stolen npm credentials with sufficient publishing permissions to retrieve writable packages, inject malicious components and preinstall hooks, increment patch versions, and republish infected releases. Abuse of legitimate publishing workflows can leave malicious releases with valid provenance attestations. ChainDrop also modifies accessible repositories to install VS Code folder-opening tasks and Claude Code session-start hooks, providing persistence and additional execution paths when developers open affected workspaces or begin coding sessions.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

Associated threat actors

2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details →
TeamPCP

On August 4, 2026, a self-propagating worm called ChainDrop entered the npm ecosystem through a compromised maintainer account. ChainDrop is a variant of Mini Shai-Hulud linked to TeamPCP.

via malware newsmalware.news
Shai-Hulud

The attackers trojanized the monorepo and embedded a self-propagating worm called CHAINDROP that uses stolen npm credentials to automatically backdoor every other package the maintainer had publish rights to.

via elastic security labselastic.co
MITRE ATT&CK

Techniques & procedures

62 distinct techniques documented for this family, organized by ATT&CK tactic.

Resource Development

2 techniques
T1583.001DomainsEvidence1

The typosquat is the injected dependency name @opensearch/setup, which imitates the real @opensearch-project scope.

T1588.004Digital CertificatesEvidence1

Before publishing, the worm: Requests a second OIDC token (audience sigstore this time) Obtains a Fulcio certificate Builds an in-toto SLSA v1 provenance statement... DSSE-signs it with an ephemeral P-256 key Uploads the entry to the public Rekor transparency log

Initial Access

7 techniques
T1078Valid AccountsEvidence13

The worm component activates when the credential sweep turns up an npm token... Once a qualifying token is found, the worm enumerates every package the victim has publish rights to.

T1078.001Default AccountsEvidence1

T1078.001 — Valid Accounts: Default Accounts (Defense Evasion)

T1078.004Cloud AccountsEvidence1

If it finds any, it queries the GitHub API to list all accessible repositories and branches

T1195Supply Chain CompromiseEvidence22

Rather than just hunting for bugs in finished software, attackers are targeting the everyday tools and code developers rely on. Unit 42 research shows this happening at every step of the building process.

T1195.001Compromise Software Dependencies and Development ToolsEvidence7

The operation targeted widely used deep infrastructure dependencies, such as keyv, flat-cache and cache-manager.

T1195.002Compromise Software Supply ChainEvidence2

Attackers trojanized the keyv monorepo and embedded a self-propagating worm called CHAINDROP that uses stolen npm credentials to automatically backdoor every other package the maintainer had publish rights to.

T1199Trusted RelationshipEvidence1

T1199 — Trusted Relationship (Initial Access)

Execution

9 techniques
T1053Scheduled Task/JobEvidence3

File path ~/.local/bin/gh-token-monitor.sh Latent Linux persistence artifact

T1059Command and Scripting InterpreterEvidence11

Execution: Used a preinstall hook to download the Bun runtime and execute the obfuscated Math_Symbol.js payload. | Downloads the Bun JavaScript runtime v1.3.13 directly from its official GitHub release page. Launches the second-stage payload via Bun.

T1059.004Unix ShellEvidence1

File path ~/.local/bin/gh-token-monitor.sh Latent Linux persistence artifact

T1059.006PythonEvidence1

a hidden Python script directly read live process memory from GitHub Actions runners

T1059.007JavaScriptEvidence8

Execution is triggered via a preinstall hook in package.json. This abuses a legitimate npm feature that will run arbitrary commands before a package is installed.

T1204.002Malicious FileEvidence2

Even if you never install an infected package (“ npm install ” in npm argot), you can still get the nasties – though that is one possible route of infection.

T1574Hijack Execution FlowEvidence2

Persistence hooks planted in .claude/settings.json and .vscode/tasks.json survive package removal. The payload re-executes simply by opening the project in Visual Studio (VS) Code or Claude Code.

T1574.006Dynamic Linker HijackingEvidence2

Attackers modified package manifests with a malicious preinstall script that downloaded the legitimate Bun runtime to silently launch a 727 KB obfuscated payload in the background.

T1574.007Path Interception by PATH Environment VariableEvidence1

Execution is triggered via a preinstall hook in package.json. This abuses a legitimate npm feature that will run arbitrary commands before a package is installed, requiring no further interaction from the victim after the installation.

Persistence

8 techniques
T1053Scheduled Task/JobEvidence3

File path ~/.local/bin/gh-token-monitor.sh Latent Linux persistence artifact

T1078Valid AccountsEvidence13

The worm component activates when the credential sweep turns up an npm token... Once a qualifying token is found, the worm enumerates every package the victim has publish rights to.

T1078.001Default AccountsEvidence1

T1078.001 — Valid Accounts: Default Accounts (Defense Evasion)

T1078.004Cloud AccountsEvidence1

If it finds any, it queries the GitHub API to list all accessible repositories and branches

T1543Create or Modify System ProcessEvidence2

File path ~/.config/systemd/user/gh-token-monitor.service Latent Linux systemd persistence artifact

T1543.001Launch AgentEvidence3

File path ~/Library/LaunchAgents/com.user.gh-token-monitor.plist Latent macOS LaunchAgent persistence artifact

T1543.002Systemd ServiceEvidence2

File path ~/.config/systemd/user/gh-token-monitor.service Latent Linux systemd persistence artifact

T1546Event Triggered ExecutionEvidence6

The threat actor has placed a SessionStart hook in settings.json under the Claude directory... For VS Code, a folderOpen task is used under tasks.json... when an infected repository is opened.

Privilege Escalation

10 techniques
T1053Scheduled Task/JobEvidence3

File path ~/.local/bin/gh-token-monitor.sh Latent Linux persistence artifact

T1055Process InjectionEvidence5

a hidden Python script directly read live process memory from GitHub Actions runners to steal temporary OpenID Connect (OIDC) tokens and secrets

T1055.009Proc MemoryEvidence1

The article states the malware accessed /proc/<pid>/mem to extract GitHub Actions secrets from running processes and account data.

T1078Valid AccountsEvidence13

The worm component activates when the credential sweep turns up an npm token... Once a qualifying token is found, the worm enumerates every package the victim has publish rights to.

T1078.001Default AccountsEvidence1

T1078.001 — Valid Accounts: Default Accounts (Defense Evasion)

T1078.004Cloud AccountsEvidence1

If it finds any, it queries the GitHub API to list all accessible repositories and branches

T1543Create or Modify System ProcessEvidence2

File path ~/.config/systemd/user/gh-token-monitor.service Latent Linux systemd persistence artifact

T1543.001Launch AgentEvidence3

File path ~/Library/LaunchAgents/com.user.gh-token-monitor.plist Latent macOS LaunchAgent persistence artifact

T1543.002Systemd ServiceEvidence2

File path ~/.config/systemd/user/gh-token-monitor.service Latent Linux systemd persistence artifact

T1546Event Triggered ExecutionEvidence6

The threat actor has placed a SessionStart hook in settings.json under the Claude directory... For VS Code, a folderOpen task is used under tasks.json... when an infected repository is opened.

Stealth

12 techniques
T1027Obfuscated Files or InformationEvidence10

The payload is heavily obfuscated at 711 kilobytes, employing control-flow flattening with a string encoding scheme using Base91.

T1055Process InjectionEvidence5

a hidden Python script directly read live process memory from GitHub Actions runners to steal temporary OpenID Connect (OIDC) tokens and secrets

T1055.009Proc MemoryEvidence1

The article states the malware accessed /proc/<pid>/mem to extract GitHub Actions secrets from running processes and account data.

T1070Indicator RemovalEvidence1

Revoking a stolen token triggers the daemon to execute rm -rf ~/, wiping the victim’s entire home directory including source code, SSH keys, and cloud credentials.

T1070.004File DeletionEvidence2

After execution, the bun temporary directory is deleted to cover its tracks.

T1078Valid AccountsEvidence13

The worm component activates when the credential sweep turns up an npm token... Once a qualifying token is found, the worm enumerates every package the victim has publish rights to.

T1078.001Default AccountsEvidence1

T1078.001 — Valid Accounts: Default Accounts (Defense Evasion)

T1078.004Cloud AccountsEvidence1

If it finds any, it queries the GitHub API to list all accessible repositories and branches

T1497.001System ChecksEvidence2

Checks for a Russian-language system locale; if found, it exits without executing. This is a common evasion technique used to avoid targeting certain regions.

T1574Hijack Execution FlowEvidence2

Persistence hooks planted in .claude/settings.json and .vscode/tasks.json survive package removal. The payload re-executes simply by opening the project in Visual Studio (VS) Code or Claude Code.

T1574.006Dynamic Linker HijackingEvidence2

Attackers modified package manifests with a malicious preinstall script that downloaded the legitimate Bun runtime to silently launch a 727 KB obfuscated payload in the background.

T1574.007Path Interception by PATH Environment VariableEvidence1

Execution is triggered via a preinstall hook in package.json. This abuses a legitimate npm feature that will run arbitrary commands before a package is installed, requiring no further interaction from the victim after the installation.

Credential Access

11 techniques
T1003OS Credential DumpingEvidence2

It looks in shell configurations, environment variables and even live memory.

T1528Steal Application Access TokenEvidence12

When executed, the software scours the user’s workspace for npm tokens with full write privileges

T1539Steal Web Session CookieEvidence1

The malware steals GitHub tokens, cloud credentials, API keys, and other secrets

T1552Unsecured CredentialsEvidence8

Its collector scanned for more than 300 credential patterns, including OpenAI, Anthropic and Cursor keys.

T1552.001Credentials In FilesEvidence5

It looks in shell configurations, environment variables and even live memory.

T1552.003Shell HistoryEvidence1

It looks in shell configurations, environment variables and even live memory.

T1552.004Private KeysEvidence2

The payload has a component called collector that functions as a credential harvester... Many other credentials are targeted, such as GitHub ... SSH private keys, Kubernetes service account tokens, and npm tokens.

T1552.005Cloud Instance Metadata APIEvidence3

The malware also targets cloud provider credentials from AWS, GCP, Azure, and Alibaba Cloud.

T1555Credentials from Password StoresEvidence16

The payload has a component called collector that functions as a credential harvester, scanning over 300 unique patterns across many credential stores found on a developer machine.

T1555.003Credentials from Web BrowsersEvidence1

It parses local config files for npm and GitHub credentials

T1649Steal or Forge Authentication CertificatesEvidence11

a hidden Python script directly read live process memory from GitHub Actions runners to steal temporary OpenID Connect (OIDC) tokens and secrets

Discovery

4 techniques
T1083File and Directory DiscoveryEvidence1

The malicious packages contain an infostealer designed to harvest... and perform a generic file system scan.

T1497.001System ChecksEvidence2

Checks for a Russian-language system locale; if found, it exits without executing. This is a common evasion technique used to avoid targeting certain regions.

T1518Software DiscoveryEvidence1

Upon execution, the malware determines whether it is operating on a developer workstation or within a CI/CD environment and adjusts its behavior to maximize credential collection opportunities available in each environment.

T1526Cloud Service DiscoveryEvidence5

If it finds any, it queries the GitHub API to list all accessible repositories and branches

Lateral Movement

1 technique
T1570Lateral Tool TransferEvidence2

The malware can also alter repositories when it captures a GitHub App token. It adds malicious Claude Code and VS Code configuration files across as many as 50 branches, so opening an infected repository can create another execution route.

Collection

3 techniques
T1119Automated CollectionEvidence1

Малварь ChainDrop собирает с зараженных машин переменные окружения, локальные конфигурационные файлы и учетные данные разработчиков.

T1213Data from Information RepositoriesEvidence1

A separate routine in the same payload searches GitHub's commit API for that marker, double-decodes every match and keeps any token that passes a repository-scope check.

T1560Archive Collected DataEvidence3

After the credentials are stolen, they are gzip-compressed and then encrypted with a randomly generated AES-256-GCM key.

Command and Control

11 techniques
T1001Data ObfuscationEvidence1

It also retrieves its command destination through an Ethereum smart contract, letting the operator change the destination without updating infected packages.

T1008Fallback ChannelsEvidence3

ChainDrop fans out across three RPC providers ( eth.llamarpc.com , go.getblock.io , eth-mainnet.nodereal.io ), so a rate-limited or downed endpoint does not break resolution.

T1071Application Layer ProtocolEvidence3

The C2 infrastructure is anchored in an Ethereum smart contract. The attacker can rotate C2 domains without modifying the deployed malware, making blocklists and DNS sinkholes ineffective.

T1071.001Web ProtocolsEvidence1

Everything goes to hxxps://npm-cache[.]com:443/router over TLS.

T1102Web ServiceEvidence3

Even its command infrastructure was parked inside an Ethereum smart contract, rendering any domain blocklists moot.

T1102.001Dead Drop ResolverEvidence1

its command-and-control endpoint uses an Ethereum dead-drop, letting operators repoint infrastructure without shipping a hardcoded domain.

T1102.002Bidirectional CommunicationEvidence1

If these two previous paths fail, CHAINDROP will exfiltrate the data via a public GitHub repository ... using the compromised victim's account.

T1105Ingress Tool TransferEvidence13

The dropper will detect the platform/architecture of the machine and download bun v1.3.13 directly from the official release page. It will extract bun, then use it to execute the payload.

T1568Dynamic ResolutionEvidence9

The ABI-decoded response holds the C2 pointer. Operators pick the encoding: a plain UTF-8 URL, Base64, Base64 plus XOR, gzip plus Base64, or a bash one-liner.

T1568.002Domain Generation AlgorithmsEvidence1

CHAINDROP does not hardcode a C2 domain; instead, it queries an Ethereum smart contract... to retrieve the current exfiltration endpoint at runtime.

T1573.002Asymmetric CryptographyEvidence1

That AES key is then RSA-encrypted with the attacker's hardcoded public key. Only the attacker who holds the corresponding private key can decrypt the data.

Exfiltration

4 techniques
T1041Exfiltration Over C2 ChannelEvidence7

The dropped bun binary posts a 136-byte eth_call body to Ethereum mainnet RPC providers, reads the contract, then exfiltrates to the resolved domain.

T1567Exfiltration Over Web ServiceEvidence6

Once stolen, they’re encrypted and sent to a public GitHub repository with the description "Shai-Hulud: Here We Go Again."

T1567.001Exfiltration to Code RepositoryEvidence8

Primary - GitHub dead-drop repositories: The worm uses the victim’s own GitHub token to create a new public repository under their identity.

T1567.002Exfiltration to Cloud StorageEvidence1

The worm also plants a .github/workflows/codeql_analysis.yml file that serializes ${{ toJSON(secrets) }} and uploads it as an Actions artifact, another path to exfiltrate repository secrets. And it creates public repositories under the victim's GitHub account... using them as an additional exfiltration channel.

Impact

1 technique
T1565.001Stored Data ManipulationEvidence1

When a GitHub App token is among the stolen credentials, the worm extends this further by committing malicious hooks to up to 50 branches per accessible repository, injecting .claude/settings.json and .vscode/tasks.json into each.

Indicators of compromise

Observables

28 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
Activity feed

Recent activity

35 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
malware newsNews · Nov 6, 2026Cyber Conflict Briefing Q3 2026 - Malware Analysis - Malware Analysis, News and IndicatorsNamed self-propagating supply-chain operation discussed in connection with threats to developers and software ecosystems such as npm. The content does not identify its payload or propagation mechanism.Read more ↗cryptika blogNews · Oct 13, 2026npm Trusted Publishing Flaw With 10 Million Downloads Exposes 1,500+ Packages to Malicious Takeover | Cryptika CybersecurityAn npm worm referenced as background to the SlugFest vulnerability. The article describes ChainDrop as demonstrating how compromised package releases can spread through developer tools, repositories, and automated build environments. It does not identify ChainDrop as exploiting SlugFest; the reported vulnerability was a potential package-takeover path, not an active malware campaign.Read more ↗cyber security newsNews · Oct 13, 2026npm Trusted Publishing Flaw With 10 Million Downloads Exposes 1,500+ Packages to Malicious TakeoverAn npm worm cited as background to the SlugFest vulnerability. The content describes compromised package releases spreading through developer tools, repositories, and automated build environments, but provides no malware samples or technical analysis of ChainDrop.Read more ↗cyber security newsNews · Oct 8, 2026Hackers Use Web3 and Blockchain C2 to Hide Supply Chain Attacks Targeting Cloud CredentialsSelf-propagating npm supply-chain malware that steals cloud credentials, npm and GitHub tokens, SSH keys, Kubernetes and Vault tokens, Terraform state files, and developer secrets. It also searches GitHub Actions runner memory for temporary OIDC tokens and runner secrets. An Ethereum smart contract resolves its exfiltration destination, allowing operators to rotate infrastructure without updating infected packages. It executes through package preinstall scripts and establishes persistence through VS Code tasks and Claude Code SessionStart hooks.Read more ↗
+30 more in the timeline. Sign up to see them
Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matching28Match every observed IP, domain, and hash against your live telemetry.
Associated threat actors2Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping62Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.