LIVE · cybersecurity feed
Live wire
cloud

Don't Revoke That Token Yet: Inside the keyv/cacheable npm Worm, (Wed, Aug 5th)

When you learn that a compromised package executed on one of your build hosts, muscle memory takes over: revoke the npm token, rotate the GitHub PAT, cycle the cloud keys. That reflex has been correct in almost every supply-chain incident I have worked. In the keyv/cacheable compromise that has been unfolding since yesterday, it is the one thing you should not do first — because revoking the sto

zeroday.news · 3h ago

A recent report details a supply-chain compromise involving the 'keyv/cacheable' npm package, which presented a unique challenge to typical incident response protocols. The incident, which began unfolding on August 4th, involved a compromised package executing on build hosts. While the immediate instinct in such scenarios is to revoke various access tokens and keys, the report highlights that this specific compromise required a different initial approach.

The core issue appears to be a malicious modification within the 'keyv/cacheable' npm package. In a typical software supply chain attack, an attacker injects malicious code into a legitimate software component, which then propagates to users who integrate that component into their projects. When executed on a build host, this malicious code can perform a variety of actions, such as exfiltrating sensitive data, establishing persistence, or further compromising the build environment.

Products in the category of npm packages are widely used in JavaScript development, forming critical components of many applications. A compromise at this level can have far-reaching implications, as the malicious code can be distributed to numerous downstream projects and organizations. The report did not specify the exact mechanism of the worm, but such attacks often leverage pre-install or post-install scripts within the package to execute arbitrary code during the installation process.

The scope of such an incident can be broad, affecting any development environment or production system that directly or indirectly uses the compromised version of the package. Mitigation for this class of issue typically involves several steps: identifying all instances of the compromised package, isolating affected systems, analyzing the payload to understand its capabilities, and then remediating the compromise. This often includes updating to a clean version of the package, scanning for indicators of compromise, and hardening build pipelines.

However, the report specifically cautioned against the immediate revocation of tokens and keys in this particular incident. While the full technical rationale was not detailed in the provided summary, it suggests that revoking tokens prematurely might have either hindered the investigation, triggered an undesirable secondary effect, or perhaps even played into the attacker's strategy. This deviation from standard procedure underscores the importance of a thorough understanding of the specific attack mechanism before initiating response actions.

This incident serves as a reminder that while established incident response playbooks are valuable, each supply-chain compromise can present unique characteristics that necessitate careful analysis and potentially tailored responses. The increasing sophistication of supply chain attacks requires organizations to not only implement robust security measures but also to develop adaptive incident response capabilities that can account for novel attack vectors and unexpected operational considerations.

cloud
ShareXLinkedInWhatsAppFacebook

More News

view all →
breach

Canadian man pleads guilty to Snowflake hacks that led to 165 breaches

A 26-year-old from Ontario faces as many as 32 years in prison after pleading guilty to fraud, identity theft and conspiracy charges related to the 2024 hacks of cloud platform Snowflake.

vulnerability

Flaws in Google APK for Python Unlock Agent-to-Agent Attack

Google has fixed the issues, which exploited a trust boundary between two AI agents with different privilege levels to trigger automation that could compromise the supply chain.

ai

Shai-Hulud strikes again: CHAINDROP worm hits 400+ npm packages

Elastic Security Labs identified the return of Shai-Hulud. Attackers compromised the keyv maintainer and deployed CHAINDROP, a worm that uses stolen npm credentials to backdoor co-owned packages totaling over 1.3 billion monthly downloads.

breach

Hackers run khunt post-exploitation toolkit from Oracle database

Hackers exploited a SQL injection vulnerability to install a post-exploitation toolkit directly inside an Oracle database that was used to breach a corporate network. [...]

vulnerability

Pre-auth RCE in enterprise Java hits Bonita and OFBiz servers

An attacker sends a single web request to a Bonita server and lands inside an internal API that assumed nobody could reach it. The request arrives unauthenticated. From there the attacker runs code on the host. Bonita BPM handles loan approvals, insurance claims, and employee onboarding for banks, insurers, and government agencies, and its internal surface answers to strangers. Vulnerability resea

vulnerabilitycritical

IBM's agentic AI platform is under active attack - patch now

A critical Langflow flaw allowing RCE on default deployments is being exploited, says the CISA