Skip to main content
Mallory
← Back to News
package-repository-poisoningbuild-pipeline-compromisecredential-stealer-activityopen-source-dependency-vulnerability

Malicious Keyv npm Releases Used Trusted Publishing to Steal Developer Secrets

Supply Chain Risk · 28 sources · Updated 4mo ago · First seen Aug 4, 2026

Malicious Keyv npm Releases Used Trusted Publishing to Steal Developer Secrets

A software supply chain compromise hit the JavaScript ecosystem after malicious versions of Keyv and related npm packages were published through legitimate maintainer workflows, with keyv@6.0.0 identified as a primary malicious release. Researchers said the tainted packages added a preinstall hook that executed attacker code during dependency installation on developer workstations and CI runners, while some repositories also contained malicious VS Code and Claude Code configuration files that could trigger execution when a cloned project was opened. Early community reports tied the incident to the jaredwray/cacheable package set and warned that numerous downstream dependencies were exposed.

Analysis found the malware targeted high-value secrets including GitHub and npm tokens, cloud credentials, Vault tokens, Kubernetes service account tokens, SSH keys, and TLS certificates, with tradecraft resembling the Shai-Hulud malware family. Investigators reported no evidence that npm itself was breached; instead, the attackers appear to have used stolen maintainer credentials and trusted GitHub Actions publishing pipelines with valid provenance and npm attestation, demonstrating that provenance verified the build source but not whether the source had already been maliciously altered. Responders were urged to avoid affected versions, isolate any host that installed them, remove persistence such as gh-token-monitor, and rotate exposed credentials from a clean system.

Why it matters

Impact assessment

This is a high-severity software supply-chain compromise affecting the JavaScript/npm ecosystem, especially developer workstations, CI/CD runners, and organizations that consume Keyv, Cacheable, and downstream dependencies. Impact includes credential theft, unauthorized package publication, repository compromise, persistence on endpoints, and potential follow-on cloud and source-code environment access.

The exposure is widespread rather than narrowly targeted because compromised packages sit deep in dependency trees and the worm propagated across hundreds of packages and more than one organization. Active exploitation in the wild is confirmed, with reporting citing more than 400 affected packages and some sources tracking 800+ packages, 1,600+ poisoned versions, or more than 2,000 versions during the campaign.

Affected populations and products

  • npm consumers of compromised packages, directly or transitively
  • Developer laptops and engineering workstations
  • CI/CD runners, especially GitHub Actions and shared runners
  • Organizations using Keyv/Cacheable-related packages and laterally affected namespaces
  • Repositories opened in VS Code or Claude Code where malicious workspace files were present

Severity and business impact

  • Credential exposure: npm, GitHub, cloud, Vault, Kubernetes, SSH, TLS, database, messaging, payment, and AI-tool credentials
  • Operational disruption: rebuilds of developer endpoints, CI runners, caches, and artifacts may be required
  • Supply-chain risk: stolen maintainer credentials enabled republishing of additional legitimate packages
  • Reputational and release-integrity impact: malicious packages carried valid provenance and appeared authentic
  • Potential financial impact: cloud/API credential theft and unauthorized package publication can drive downstream incident costs

Scope and known incidents

  • Initial malicious release widely identified as keyv@6.0.0, published 2026-08-04 09:35 UTC
  • Initial blast radius included Keyv/Cacheable family; later spread to namespaces including @servicetitan, @or-sdk, @onereach, @ornikar, @qlik, @deliveroo, @picsart, @hubsync, and others
  • Reported counts vary by source: more than 400 packages, more than 440 packages, more than 860 packages, and up to 1,684 poisoned versions across 420 package names
  • Multiple researchers confirmed active exploitation and worm-like propagation in real developer and build environments
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.

13 events · Aug 4, 2026 – Aug 5, 2026
  1. Reported Aug 5, 20264mo ago

    Orca attributes Keyv npm campaign to TeamPCP

    Orca Security attributed the Keyv/cacheable npm supply-chain attack to the TeamPCP threat group and said the malware was a descendant of the Mini Shai-Hulud family. The report also noted the attackers used compromised GitHub Actions workflows to publish malicious packages with valid provenance signatures.

    Compromised Keyv Account NPM Supply Attack | Orca Security
  2. Aug 5, 20264mo ago

    Sonatype tracks 2,225 impacted versions in Mini Shai-Hulud campaign

    Sonatype Research Labs reported that the August 4, 2026 Mini Shai-Hulud npm campaign had affected 2,225 tracked component versions, expanding the known scope beyond earlier public counts. The report said the activity spread from the keyv and cacheable ecosystems into packages maintained by additional organizations, including the @servicetitan namespace.

    Mini Shai-Hulud npm Attack: More Than 2,200 Components Impacted - Malware News - Malware Analysis, News and Indicators
  3. Reported Aug 4, 20264mo ago

    Community report surfaces on Reddit about cacheable compromise

    A Reddit post in r/sysadmin reported an apparent npm supply-chain compromise involving the jaredwray/cacheable project and linked to GitHub issue #1692. The post said many downstream packages were affected and described the compromise as appearing self-replicating.

    NPM supply chain compromise 'jaredwray/cacheable' : r/sysadmin
  4. Reported Aug 4, 20264mo ago

    Snyk publishes advisory for malicious keyv release

    Snyk published advisory SNYK-JS-KEYV-18515941 covering the incident and classified keyv@6.0.0 as embedded malicious code under CWE-506. At the time of publication, no CVE or GitHub Security Advisory had yet been assigned.

    Inside the keyv npm Supply Chain Compromise | Snyk
  5. Aug 4, 20264mo ago

    Wiz reveals Ethereum smart contract used for malware C2 updates

    Wiz reported that the npm malware retrieved its command-and-control domains via eth_call from an Ethereum smart contract named StringListStore, allowing operators to change infrastructure without modifying the payload. The report said on-chain history showed the contract was initially configured with three domains and was later updated to return only npm-cache[.]com.

    keyv and cacheable npm Package Hijacked in Supply Chain Attack | Wiz Blog
  6. Aug 4, 20264mo ago

    SafeDep expands tally to 1,684 poisoned versions across nine organizations

    On 2026-08-04, SafeDep expanded its registry-backed count of the npm worm campaign to 1,684 poisoned versions across 420 package names tied to nine organizations, showing the compromise was far larger than earlier estimates. The report also documented alternate repository-based execution paths through Claude Code and VS Code workspace hooks in the Keyv repository.

    Keyv-Linked npm Worm Poisons Hundreds of Packages, Plants Claude Code and VS Code Hooks
  7. Aug 4, 20264mo ago

    OX reports broader 'Shai-Hulud' npm malware campaign

    OX Security described the Keyv/Cacheable incident as a broader npm malware campaign it called 'Shai-Hulud,' claiming more than 350 compromised packages and aggregate exposure above 2 billion monthly downloads. The report added technical details including GitHub-based credential exfiltration and propagation, commit tags reading 'Shai-Hulud: Here We Go Again,' and additional indicators of compromise.

    A New Infostealer Worm Hits npm, affecting Keyv and Cacheable
  8. Aug 4, 20264mo ago

    Socket publishes technical analysis of Keyv/Cacheable npm malware

    On 2026-08-04, Socket Research Team published an analysis of the active Keyv/Cacheable npm supply-chain attack, detailing Bun-based staging, the Math_Symbol.js second-stage payload, broad credential theft targets, GitHub and DNS exfiltration, and persistence through systemd, LaunchAgent, .claude, and .vscode hooks. Socket said the malware used compromised maintainer credentials and npm OIDC trusted publishing to republish infected packages with valid attestations, and assessed the activity as aligned with the Shai-Hulud worm.

    Attaque supply chain active : packages npm keyv et cacheable compromis, vol de credentials et autopropagation | CyberVeille
  9. Aug 4, 20264mo ago

    Some malicious npm releases remain tagged latest while others are removed

    At 11:16 UTC on 2026-08-04, Snyk found that eight malicious releases were still tagged latest on npm, while three had already been removed: flat-cache@6.1.24, cacheable-request@13.0.20, and cache-manager@7.2.10. This captured the early containment state of the compromised package set.

    Inside the keyv npm Supply Chain Compromise | Snyk
  10. Aug 4, 20264mo ago

    Malicious ecto@5.0.1 is published after public warnings

    ecto@5.0.1 was published at 10:28:01 UTC on 2026-08-04 after the first public warnings, and its setup.mjs and Math_Symbol.js files were byte-identical to those in keyv@6.0.0. This showed the malicious publishing activity continued even after the incident had become publicly visible.

    Inside the keyv npm Supply Chain Compromise | Snyk
  11. Aug 4, 20264mo ago

    Attack expands to additional organizations' npm packages

    Researchers observed additional malicious publications on 2026-08-04 affecting packages tied to HubSync, Qlik, OneReach, Ornikar, Deliveroo, ServiceTitan, Picsart, and others in rapid succession. SafeDep reported hundreds of poisoned versions published at scale across many package names.

    Keyv npm Package Compromised in Massive Supply Chain Attack | The CyberSec Guru
  12. Aug 4, 20264mo ago

    Malicious Cacheable ecosystem packages are republished

    Within the next hour on 2026-08-04, related packages in the Cacheable ecosystem were republished with malicious versions, including flat-cache, cache-manager, cacheable-request, file-entry-cache, and multiple @cacheable packages. Researchers concluded the attackers were using compromised maintainer accounts and legitimate release pipelines rather than breaching npm itself.

    Inside the keyv npm Supply Chain Compromise | Snyk
  13. Aug 4, 20264mo ago

    Attackers modify Keyv repository and publish malicious keyv@6.0.0

    On 2026-08-04, attackers modified the Keyv GitHub repository around 09:00 UTC and shortly afterward published malicious keyv version 6.0.0 to npm using the project's normal trusted publishing workflow. The release added a preinstall hook that executed attacker-controlled code during installation.

    Inside the keyv npm Supply Chain Compromise | Snyk
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

Affected products

1 linked
Npm

Organizations

15 linked
PicsartQliknpm, Inc.DeliverooServiceTitanHubSyncOneReach.aiOrnikarKeyvCacheable+5 more

Breaches

2 linked
KEYV-2026-08CACHEABLE-2026-08

Observables

40 linked

Indicator values are masked on this page. View all 40 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.