Skip to main content

Malicious code in cacao1 (npm)

0
Medium
Published: 08/28/2026 (08/28/2026, 12:25:44 UTC)
Source: GCVE Database
Product: cacao1

Description

The npm package 'cacao1' version 9.9.9 is identified as malicious. It contains lifecycle scripts that execute code during installation, which collects the installer's hostname and sends it to a third-party domain controlled by the package author. The package has no legitimate functionality and exhibits characteristics of a dependency confusion beacon. This behavior poses a privacy risk by leaking host information to an external collector.

Affected software

npmghsa
cacao1
Affected versions
=9.9.9

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/09/2026, 18:23:50 UTC

Technical Analysis

The 'cacao1' npm package at version 9.9.9 includes preinstall and postinstall lifecycle scripts that run index.js. This script reads the installer's hostname and sends it via an HTTP GET request to a hardcoded external URL (https://eo8f3m3ho26a0nm.m.pipedream.net/cacao1). The package has an empty description and a self-referential dependency, indicating it is not a functional library but rather a beacon designed to exfiltrate environment information. The OpenSSF Package Analysis project and Amazon Inspector flagged this package as malicious due to its communication with a domain associated with malicious activity.

Potential Impact

Installing this package results in the installer's hostname being transmitted to a third-party server controlled by the package author. This can lead to privacy violations and potential reconnaissance by threat actors. There is no indication of further exploitation or code execution beyond this data exfiltration.

Mitigation Recommendations

Avoid installing the 'cacao1' package version 9.9.9. Since no patch or remediation is available, users should remove this package if present and audit dependencies to prevent inclusion of this malicious package. Monitor package sources carefully to avoid dependency confusion attacks. No official fix is documented; users must rely on blocking or removing the package.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
MAL-2026-14591
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6a92f827acd9273b49e91800

Added to database: 08/29/2026, 15:17:59 UTC

Last enriched: 09/09/2026, 18:23:50 UTC

Last updated: 10/01/2026, 22:28:38 UTC

Views: 33

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses