# GHSA-8HQ6-GVG5-X8WQ: Malicious code in @woodpecker-web-shared/components (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-09-21
- Modified: 2026-09-23

## Affected versions

- @woodpecker-web-shared/components (npm): 2.20.5
- @woodpecker-web-shared/components (npm): 4.20.5
- @woodpecker-web-shared/components (npm): 1.20.4

## Description

## Source: amazon-inspector (5f5f21bcc5464689c5b7c70819eeca4ea481f76b5f7dac0358cfe2d967da235f)
On `npm install`, the package's postinstall hook runs `node index.js`, which collects installer host identifiers (os.hostname(), os.userInfo().username, os.platform(), architecture, cwd, node version, npm_lifecycle_event) and POSTs them as JSON to a hardcoded third-party collector at https://webhook.site/d9bc4bcc-ce74-4193-ae4e-96d234bb2220. The payload includes a `src: 'loMesb'` tag consistent with a campaign identifier used to correlate exfiltrated data across victims. The @woodpecker-web-shared/components scope/name has no legitimate reason to transmit installer identity to an anonymous webhook collector at install time, and the behavior fires automatically without user interaction. This is a recon beacon consistent with a dependency-confusion or typosquat lure.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/1b9f031b65c0c7f49c13fdbadbedf5b95af9ce9c/osv/malicious/npm/@woodpecker-web-shared/components/MAL-2026-16354.json))

## References

- https://github.com/ossf/malicious-packages/blob/1b9f031b65c0c7f49c13fdbadbedf5b95af9ce9c/osv/malicious/npm/@woodpecker-web-shared/components/MAL-2026-16354.json
- https://www.npmjs.com/package/@woodpecker-web-shared/components/v/2.20.5
- https://github.com/ossf/malicious-packages/blob/fe02203d0609eeda37f2ae9f080d4b78c519bb7c/osv/malicious/npm/@woodpecker-web-shared/components/MAL-2026-16354.json
- https://www.npmjs.com/package/@woodpecker-web-shared/components/v/1.20.4
- https://www.npmjs.com/package/@woodpecker-web-shared/components/v/4.20.5
- https://github.com/advisories/GHSA-8hq6-gvg5-x8wq

Page: https://cve.now/GHSA-8HQ6-GVG5-X8WQ

Wrong or missing data? Send feedback: POST https://cve.now/api/v1/feedback (see https://cve.now/agents#feedback).
