Skip to main content

Malicious code in @woodpecker-web-shared/components (npm)

0
Critical
Published: 09/21/2026 (09/21/2026, 17:20:37 UTC)
Source: GCVE Database
Product: @woodpecker-web-shared/components

Description

The npm package @woodpecker-web-shared/components contains malicious code that executes during installation. Its postinstall script collects host system identifiers and sends them to a hardcoded third-party webhook, indicating a reconnaissance beacon consistent with dependency confusion or typosquatting attacks. Installation of this package may lead to full system compromise, and all secrets and keys on affected systems should be rotated immediately. Removal of the package does not guarantee elimination of all malicious components.

Affected software

npmghsa
@woodpecker-web-shared/components
Affected versions
=2.20.5=4.20.5=1.20.4

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: 10/03/2026, 17:38:00 UTC

Technical Analysis

The @woodpecker-web-shared/components npm package includes a postinstall hook that runs 'node index.js' upon installation. This script collects host identifiers such as hostname, username, platform, architecture, current working directory, Node.js version, and npm lifecycle event, then sends this data as JSON to a hardcoded external webhook URL. The payload includes a campaign identifier 'src: loMesb' used to correlate data across victims. This behavior is unauthorized and indicative of a malicious reconnaissance beacon, likely part of a dependency confusion or typosquatting attack. According to the ghsa-malware source, any system with this package installed should be considered fully compromised, necessitating immediate secret rotation and package removal, though removal may not fully eradicate the compromise.

Potential Impact

Systems that install this package are subject to unauthorized data exfiltration of host identifiers to an attacker-controlled endpoint. The presence of this package implies potential full system compromise, risking exposure of all stored secrets and keys. Attackers may have persistent control beyond the package itself, making remediation difficult.

Mitigation Recommendations

No official patch or fix is indicated. Immediate removal of the @woodpecker-web-shared/components package is recommended. All secrets and keys on affected systems should be rotated from a separate, uncompromised device. Due to potential full system compromise, further forensic analysis and remediation may be necessary. Monitor for and avoid installing packages from untrusted or suspicious sources, especially those with unexpected network communications during installation.

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-16354
Osv Schema Version
1.7.4
Aliases
["GHSA-44hm-95r4-wcrf"]
Ecosystems
["npm"]

Threat ID: 6ac139a8a43b0b3b89d69abd

Added to database: 10/03/2026, 17:21:44 UTC

Last enriched: 10/03/2026, 17:38:00 UTC

Last updated: 10/03/2026, 22:37:12 UTC

Views: 3

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