Skip to main content

Malicious code in @viertechjs/baileys (npm)

0
Critical
Published: 09/01/2026 (09/01/2026, 21:36:46 UTC)
Source: GCVE Database
Product: @viertechjs/baileys

Description

The npm package @viertechjs/baileys versions 7.0.0-rc14 and 6.7.22 contain malicious code or depend on a malicious package. Installing or running these versions can fully compromise the host computer, potentially exposing all stored secrets and keys. Removal of the package does not guarantee elimination of all malicious software, as full control may have been granted to an attacker.

Affected software

npmghsa
@viertechjs/baileys
Affected versions
=7.0.0-rc14=6.7.22

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/07/2026, 17:39:20 UTC

Technical Analysis

The npm package @viertechjs/baileys in versions 7.0.0-rc14 and 6.7.22 has been identified as containing malicious code or relying on a dependency with malicious code. According to sources including Amazon Inspector and GHSA malware advisories, any system with this package installed should be considered fully compromised. The malicious code may allow attackers to gain full control over the affected system, risking exposure of sensitive credentials and secrets. Due to the nature of the compromise, simply removing the package may not fully remediate the infection.

Potential Impact

Systems with the affected versions of @viertechjs/baileys installed are at risk of full compromise. Attackers may gain complete control over the host, leading to potential theft or misuse of secrets, keys, and other sensitive data. The compromise is severe enough that removal of the package alone is insufficient to ensure system security.

Mitigation Recommendations

Immediate removal of the affected package versions is recommended. All secrets and keys stored on the compromised system should be rotated from a separate, secure device. Because the system may be fully compromised, consider rebuilding or thoroughly cleaning the affected environment to ensure complete removal of malicious code. Monitor for any unusual activity and avoid reinstalling the affected package versions.

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-15831
Osv Schema Version
1.7.4
Aliases
["GHSA-wcqj-8x6x-4pxr"]
Ecosystems
["npm"]

Threat ID: 6a9ad4e9acd9273b49b676f6

Added to database: 09/04/2026, 14:25:45 UTC

Last enriched: 09/07/2026, 17:39:20 UTC

Last updated: 10/04/2026, 07:18:44 UTC

Views: 21

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