Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

MAL-2026-10659: Malicious code in @sauruslord/libsignal (npm)

0
Critical
Published: 07/15/2026 (07/15/2026, 05:14:18 UTC)
Source: GCVE Database
Product: @sauruslord/libsignal

Description

The npm package @sauruslord/libsignal version 2.0.2 impersonates the legitimate libsignal-node package but contains malicious code. Upon requiring the package, it waits one second, then overwrites a file in the installer's @whiskeysockets/baileys dependency with attacker-controlled code. This code abuses the installer's authenticated WhatsApp session to auto-follow an attacker-controlled newsletter channel without user consent. The package also terminates the host application shortly after import. The original overwritten file is destroyed with no backup restoration. Any system with this package installed should be considered fully compromised.

Affected software

npmghsa
@sauruslord/libsignal
Affected versions
=2.0.2

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: 07/15/2026, 12:45:39 UTC

Technical Analysis

The malicious npm package @sauruslord/[email protected] masquerades as Open Whisper Systems' libsignal-node but delivers unrelated and harmful code. When index.js is required, after a delay, install.js locates the installer's @whiskeysockets/baileys directory and overwrites lib/Socket/newsletter.js with a stub that silently uses the installer's authenticated WhatsApp session to auto-follow an attacker-controlled newsletter channel. The original newsletter.js is destroyed without backup. Additionally, the package schedules process.exit(0) 20 seconds after import, terminating the host application. Declared dependencies are manipulated to pull in placeholder or typosquatted packages. This results in persistent compromise of any developer environment that imports this package and depends on @whiskeysockets/baileys.

Potential Impact

Systems with @sauruslord/[email protected] installed are fully compromised. The attacker's code hijacks the authenticated WhatsApp session of the host to auto-follow a malicious newsletter channel without user consent. The malicious package overwrites files in other dependencies on disk, causing persistent infection. The host application is forcibly terminated shortly after loading the package. Secrets and keys stored on the compromised system may be exposed, requiring immediate rotation from a clean environment. Removing the package alone does not guarantee removal of all malicious artifacts or backdoors.

Mitigation Recommendations

No official patch or fix is currently available. Immediate removal of the @sauruslord/libsignal package version 2.0.2 is recommended. Due to the severity and persistence of the compromise, all secrets, keys, and credentials stored on the affected system should be rotated from a separate, trusted device. Consider rebuilding the affected environment from a clean state to ensure complete eradication of the malicious code and any secondary payloads. Monitor for any unauthorized WhatsApp activity related to the compromised session.

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-10659
Osv Schema Version
1.7.4
Aliases
["GHSA-p9pv-49fq-8f6m"]
Ecosystems
["npm"]
Database Specific Severity
null
Cvss Version
null

Threat ID: 6a577ed568715ace43b3f892

Added to database: 07/15/2026, 12:36:37 UTC

Last enriched: 07/15/2026, 12:45:39 UTC

Last updated: 07/16/2026, 03:35:56 UTC

Views: 5

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