# GHSA-RHG6-G966-4WXG: Malicious code in @dransay/feature-flags (npm)

- Database: GitHub
- Malicious package: yes
- Published: 2026-10-08
- Modified: 2026-10-12

## Affected versions

- @dransay/feature-flags (npm): 99.0.0

## Description

## Source: amazon-inspector (cc545bbb96903ee25218d8cab1a7d116d2ceb1ba64a3c929c79e56a6fc8e0585)
@dransay/feature-flags@99.0.0 publishes a scoped name on the public npm registry at an inflated version (99.0.0) designed to win semver resolution against any private internal @dransay/* copy. package.json declares a preinstall hook `node beacon.js`; beacon.js unconditionally performs a DNS lookup and HTTPS GET to the hardcoded interactsh callback host db3klhbi6i9hark1kegg174t38h33b6wt.oast.site on every `npm install`, leaking the installer's public source IP, a timestamp, and confirmation that the scoped name resolved from the public registry to a third-party out-of-band interaction collector. The README self-describes the artifact as a probe of DrAnsay build infrastructure; author self-labeling as research does not change the install-time behavior for any environment whose npm resolves @dransay/* publicly.

---

Credit: [OpenSSF](https://github.com/ossf/malicious-packages) ([source](https://github.com/ossf/malicious-packages/blob/9a4a2fcaa6660f0629db18ac4d5f91ef22114372/osv/malicious/npm/@dransay/feature-flags/MAL-2026-17696.json))

## References

- https://github.com/ossf/malicious-packages/blob/9a4a2fcaa6660f0629db18ac4d5f91ef22114372/osv/malicious/npm/@dransay/feature-flags/MAL-2026-17696.json
- https://www.npmjs.com/package/@dransay/feature-flags/v/99.0.0
- https://github.com/ossf/malicious-packages/blob/f6c455a8a06fc0b0bb8fa03ae573386aa46cc5b6/osv/malicious/npm/@dransay/feature-flags/MAL-2026-17696.json
- https://www.npmjs.com/package/@dransay/feature-flags
- https://github.com/advisories/GHSA-rhg6-g966-4wxg

Page: https://cve.now/GHSA-RHG6-G966-4WXG

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