Skip to main content

Malicious code in @chatunity/baileys (npm)

0
High
Published: 09/29/2026 (09/29/2026, 21:42:03 UTC)
Source: GCVE Database
Product: @chatunity/baileys

Description

The npm package @chatunity/baileys versions 3.2.0 and 3.2.1 declare a runtime dependency on libsignal sourced from an off-registry GitHub repository without commit SHA or tag pinning. This allows arbitrary code execution during npm install if the repository content changes or the owning account is compromised, as the dependency is mutable and integrity-unchecked.

Affected software

npmghsa
@chatunity/baileys
Affected versions
=3.2.0=3.2.1

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/30/2026, 15:59:24 UTC

Technical Analysis

The @chatunity/baileys package versions 3.2.0 and 3.2.1 depend on a runtime library 'libsignal' fetched directly from a GitHub repository (github:chatunitycenter/libsignal-node) without fixed commit or tag references. This off-registry dependency is mutable and lacks integrity verification, meaning that any changes pushed to the default branch of the repository or a takeover of the GitHub account can result in execution of malicious code during npm install lifecycle scripts. Because the package manager fetches and executes this code transitively without version or artifact changes on npm, this creates a supply chain risk allowing arbitrary code execution on the developer's environment.

Potential Impact

This vulnerability enables arbitrary code execution during the installation of the affected package versions, potentially leading to compromise of the developer's environment or build systems. The mutable off-registry dependency without integrity checks means attackers can inject malicious code by modifying the GitHub repository or compromising the account that owns it. There are no known exploits in the wild at this time.

Mitigation Recommendations

No official patch or remediation is currently documented. Users should avoid using versions 3.2.0 and 3.2.1 of @chatunity/baileys until a fixed version is released. As a mitigation, users can audit and pin dependencies to fixed commit SHAs or use only dependencies from trusted registries with integrity verification. Monitor the vendor or package repository for updates or official advisories.

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-17287
Osv Schema Version
1.7.4
Ecosystems
["npm"]

Threat ID: 6abd30842a4e24523d3400cf

Added to database: 09/30/2026, 15:53:40 UTC

Last enriched: 09/30/2026, 15:59:24 UTC

Last updated: 09/30/2026, 15:59:24 UTC

Views: 2

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