# GHSA-68Q8-R62C-RWGX: Malicious code in @drone-js-ext/core (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-25
- Modified: 2026-10-26

## Affected versions

- @drone-js-ext/core (npm): 99.0.1
- @drone-js-ext/core (npm): 1.0.0
- @drone-js-ext/core (npm): 3.0.0
- @drone-js-ext/core (npm): 2.0.1

## Description

## Source: amazon-inspector (9173b1e0c1d01cafb58dfbcad8b59a50f49700cc911e22df2787f5a92b4c6e43)
The package ships a `beacon.cjs` that collects host identifiers (hostname, install path, current working directory, Node version) and POSTs them in cleartext to the hardcoded bare-IP endpoint http://185.158.107.175:8787/_ah/dc. This beacon is wired to run automatically in two places: `package.json` declares `scripts.postinstall = "node beacon.cjs"`, so it executes on `npm install`, and `index.js` also invokes the same `fire()` function at module load, so it executes again on `require()`. The remainder of the package is a no-op Proxy shim with no functional code matching the stated `Compatibility shim` description. The scope-and-version shape (`@drone-js-ext/core` at version 99.0.1 against a plausibly internal `@drone-js-ext/*` namespace) matches a dependency-confusion lure designed to be resolved in place of a private internal package. A README self-label of `dependency-confusion test` does not change the behavior: any installer that resolves this package has host-identifying data sent to a non-vendor, non-registry, bare-IP, plaintext-HTTP collector controlled by a third party.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/b711d7c76f98b5044512e8c851547e8a05b2f959/osv/malicious/npm/@drone-js-ext/core/MAL-2026-18276.json))

## References

- https://github.com/ossf/malicious-packages/blob/b711d7c76f98b5044512e8c851547e8a05b2f959/osv/malicious/npm/@drone-js-ext/core/MAL-2026-18276.json
- https://www.npmjs.com/package/@drone-js-ext/core/v/99.0.1
- https://github.com/ossf/malicious-packages/blob/38576efe4884e97a0598f23da7c6da0343b22df4/osv/malicious/npm/@drone-js-ext/core/MAL-2026-18276.json
- https://www.npmjs.com/package/@drone-js-ext/core
- https://github.com/ossf/malicious-packages/blob/4f27542fecd13e7f077489c04a2f3503d1189f32/osv/malicious/npm/@drone-js-ext/core/MAL-2026-18276.json
- https://www.npmjs.com/package/@drone-js-ext/core/v/1.0.0
- https://www.npmjs.com/package/@drone-js-ext/core/v/2.0.1
- https://www.npmjs.com/package/@drone-js-ext/core/v/3.0.0
- https://github.com/advisories/GHSA-68q8-r62c-rwgx

Page: https://cve.now/GHSA-68Q8-R62C-RWGX

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