MAL-2026-18217

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@grabcad/user-license/MAL-2026-18217.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18217
Aliases
  • GHSA-6w2v-744r-g5j5
Published
2026-10-23T02:05:19Z
Modified
2026-10-23T20:30:05Z
Summary
Malicious code in @grabcad/user-license (npm)
Details

-= Per source details. Do not edit below this line.=-

Source: amazon-inspector (a248afa43b99998214621142f85910afc980f1a664c8f6a227b523984f88ea49)

The package ships a beacon.cjs module that is wired to run both automatically on install (via package.json postinstall: node beacon.cjs) and on every load of the package (index.js calls require('./beacon.cjs').fire() at module top level). The beacon POSTs a JSON payload containing the installer's hostname, install directory, current working directory, and Node.js version to the hardcoded bare-IP endpoint http://185.158.107.175:8787/_ah/dc over cleartext HTTP. The main entry point additionally exports a Proxy whose get trap returns a no-op function for any accessed property, so consumer bundlers importing any named or default member of this package name silently succeed, concealing the fact that no real API is present while the beacon runs. The package name uses the @grabcad scope, consistent with a dependency-confusion lure targeting an internal package of that name. Self-descriptive strings framing this as an 'authorized dependency-confusion test' or 'build-provenance beacon' do not change the behavior: install and import of this package exfiltrate installer host identifiers to a hardcoded non-first-party bare-IP destination with no caller opt-in.

Source: ghsa-malware (9ee7b26cd209a020227ba0c1f36114bf1b1e7a533339f9e546e058dcc4af9909)

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.

Database specific
{
    "malicious-packages-origins": [
        {
            "id": "GHSA-6w2v-744r-g5j5",
            "import_time": "2026-10-23T02:36:25.367624051Z",
            "modified_time": "2026-10-23T02:05:20Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "9ee7b26cd209a020227ba0c1f36114bf1b1e7a533339f9e546e058dcc4af9909",
            "source": "ghsa-malware"
        },
        {
            "id": "IN-MAL-2026-021628",
            "import_time": "2026-10-23T20:18:05.58030721Z",
            "modified_time": "2026-10-23T19:53:53Z",
            "sha256": "fb6687a6ba7936ccacaffebb87b4d725ea1ea4fd8f4fa094732f792ebfdbd385",
            "source": "amazon-inspector",
            "versions": [
                "1.1.0"
            ]
        },
        {
            "id": "IN-MAL-2026-021631",
            "import_time": "2026-10-23T20:18:05.756593509Z",
            "modified_time": "2026-10-23T19:54:18Z",
            "sha256": "028fec94ca864a72c77853b23c7b41507950f6ff3bceeb799f52313f060dcdf2",
            "source": "amazon-inspector",
            "versions": [
                "1.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-021633",
            "import_time": "2026-10-23T20:18:05.875075066Z",
            "modified_time": "2026-10-23T19:54:32Z",
            "sha256": "194db4db4eabad243cb5adb654187a50fd83ed9b5a93fd5a2bac42d22849ffcd",
            "source": "amazon-inspector",
            "versions": [
                "2.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-021640",
            "import_time": "2026-10-23T20:18:06.323860335Z",
            "modified_time": "2026-10-23T19:55:29Z",
            "sha256": "4ee1b75cbc044631a34520120f71fcae0810def30d4b34c849410b6a49f6200f",
            "source": "amazon-inspector",
            "versions": [
                "2.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-021630",
            "import_time": "2026-10-23T20:18:05.705525564Z",
            "modified_time": "2026-10-23T19:54:08Z",
            "sha256": "a248afa43b99998214621142f85910afc980f1a664c8f6a227b523984f88ea49",
            "source": "amazon-inspector",
            "versions": [
                "3.0.0"
            ]
        },
        {
            "id": "IN-MAL-2026-021632",
            "import_time": "2026-10-23T20:18:05.826929014Z",
            "modified_time": "2026-10-23T19:54:25Z",
            "sha256": "a787e41507e119511be699466617a6a3c37c353523556ef02f357f988ac1bf51",
            "source": "amazon-inspector",
            "versions": [
                "0.0.1"
            ]
        },
        {
            "id": "IN-MAL-2026-021629",
            "import_time": "2026-10-23T20:18:05.653131238Z",
            "modified_time": "2026-10-23T19:53:59Z",
            "sha256": "aabf17337df582908676bebc504ea079c5a8499eeac3a45d4a073b43056a2385",
            "source": "amazon-inspector",
            "versions": [
                "1.0.1"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @grabcad/user-license

Package

Name
@grabcad/user-license
View open source insights on deps.dev
Purl
pkg:npm/%40grabcad/user-license

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.0.1
1.*
1.0.0
1.0.1
1.1.0
2.*
2.0.0
2.0.1
3.*
3.0.0

Database specific

cwes
[
    {
        "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"
    },
    {
        "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"
    },
    {
        "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"
    },
    {
        "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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "beacon.cjs",
            "sha256": "a213268b56bad2151ca7d8beff288ff8c19b76eb5bf018ec55bac45d6d639f75",
            "tlsh": "e53161eba8e1a008aaa67098c54f0409b17af0069401ab50f95c82919f7153c33fa8dc"
        },
        {
            "path": "package.json",
            "sha256": "d4ed7f6f2260cad543764ded43c1fe2726827c441da433eccffc75c354a731f0",
            "tlsh": "62d05e20da205e6364c46ee60d6a6a0e55a60e6b01147c0833e7505c8aad77729fe66e"
        }
    ],
    "package_integrity": [
        {
            "filename": "user-license-1.1.0.tgz",
            "hashes": {
                "sha1": "80780a57b1e5f49a81e5d428d035d90c8c69f609",
                "sha512_sri": "sha512-gDF/hdNPev/j9x4KnWIahz4a6JCPlOMFA+PphcNZEvcvr83L0fo1H2znNH3grEOJ92RHBAH9oCOCpmcC2U4PKw=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@grabcad/user-license/MAL-2026-18217.json"