-= Per source details. Do not edit below this line.=-
gx-npm-feature-flags@99.99.99 is a dependency-confusion squat (max-semver 99.99.99 on a gx--prefixed name to outrank a private internal package) that runs an exfiltration beacon at install time. package.json declares postinstall: node beacon.js. beacon.js collects the installer's OS hostname (os.hostname()), OS user (os.userInfo() / process.env.USER), current working directory (process.cwd()), package name, Node version, and the first 80 environment-variable names (process.env), then exfiltrates via two channels to a hardcoded *.oast.me endpoint: (1) a DNS lookup encoding pkg/host/user as subdomain labels (dns.lookup('<pkg>.<host>.<user>.d8uectoqtvskhftsa940pm3kth3ahdxn4.oast.me')), and (2) an HTTPS GET to the same host with a base64-encoded JSON blob in the query string (path: '/'+pkg+'?d='+base64(JSON({pkg,host,user,cwd,env_names,node}))). The base64 wrapping obscures the payload from proxy logs; the dual DNS+HTTPS channels are designed to bypass egress filtering. The package README self-labels as 'authorized security research / Bugcrowd dependency-confusion PoC' — that framing does not consent any third party who installs the package; their CI/build identifiers leave to a third-party collector regardless of the author's stated intent.
Any computer that has this package installed or running should be considered fully compromised. All secrets and keys stored on that computer should be rotated immediately from a different computer. The package should be removed, but as full control of the computer may have been given to an outside entity, there is no guarantee that removing the package will remove all malicious software resulting from installing it.
The OpenSSF Package Analysis project identified 'gx-npm-feature-flags' @ 99.99.99 (npm) as malicious.
It is considered malicious because:
{
"malicious-packages-origins": [
{
"versions": [
"99.99.99"
],
"modified_time": "2026-06-25T17:06:05Z",
"sha256": "b1c95e5e4a2cb9afebf67c805d5a74c5aba0ebedd5ed011f65dc6406b6a693cd",
"source": "ossf-package-analysis",
"import_time": "2026-06-25T17:17:21.812853077Z"
},
{
"versions": [
"99.99.99"
],
"modified_time": "2026-06-25T22:28:24Z",
"sha256": "7fcad1b944d9ceb92389673398df9f471911a788fe608774a3298c69900bb1c7",
"id": "IN-MAL-2026-007553",
"source": "amazon-inspector",
"import_time": "2026-06-25T23:00:34.016628963Z"
},
{
"source": "ghsa-malware",
"modified_time": "2026-06-29T03:16:03Z",
"sha256": "6a432f2363d7c4011a54074c1ad6f773a2557b367099c3c8de3ecba380cbfc1f",
"id": "GHSA-hhw7-23r7-qwj7",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"import_time": "2026-06-29T03:26:14.377552128Z"
}
]
}[
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
},
{
"cweId": "CWE-506",
"description": "The product contains code that appears to be malicious in nature.",
"name": "Embedded Malicious Code"
}
]
{
"package_integrity": [
{
"filename": "gx-npm-feature-flags-99.99.99.tgz",
"hashes": {
"sha512_sri": "sha512-zjjMEMbzYMGOY6ocaTLNklTIIMC4OuDYj6xmilKnplQ+L8sKf3bnVxc0VH6n8Pso16e54vSWqBw154R6d7EzAQ==",
"sha1": "a15930db6b0fbca9489e30e4d414f9a2a2f0771c"
}
}
],
"evidence_files": [
{
"path": "beacon.js",
"tlsh": "2841879f99e8a12822f721f446af402526b3d2631358ddd0745ca3158f75db803d6cfe",
"sha256": "8642a1b9117942eed77327a315389d97f652317c03f2506a9ee28793621af7b5"
},
{
"path": "package.json",
"tlsh": "85f0055cb4145a770be359d31476644b37714c9e57049144439f4014610ebd303f71f9",
"sha256": "9d95128f7bebbc13b38be656ab5b288ea48b6f36b82278c8bb3b8ac8e33cb4a4"
}
]
}
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/gx-npm-feature-flags/MAL-2026-6466.json"