MAL-2026-18453

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/calculator-preinstall-chain-demo/MAL-2026-18453.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-18453
Aliases
  • GHSA-gmrr-hqfh-q4j3
Published
2026-11-01T00:39:35Z
Modified
2026-11-02T16:30:18Z
Summary
Malicious code in calculator-preinstall-chain-demo (npm)
Details

calculator-preinstall-chain-demo@1.1.2 has no install script of its own but depends on exactly calculator-preinstall-hook-demo@1.1.2, so npm install runs that package's preinstall script (node preinstall.js). The script POSTs the machine's hostname and the OS username to the Discord webhook https://discord.com/api/webhooks/1566215853794394162/xsqpEbSn-cc3DU2AKWdzqWnXX5hjTfV-gUePQZ4evrHGlZctMd40TKCrN42qnJd7moc1. Both packages were published by the npm account bigdevin55 on 2026-11-01.


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

Source: ghsa-malware (75fa7ce6d7d33ed240fa7d5b89a441dc860308dfc036b9bf83bec447126fb070)

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.

Source: ossf-package-analysis (88c07c18a13b451e734355c6d2bb4ca05dc4c76209fe483b97403c968c09c0ea)

The OpenSSF Package Analysis project identified 'calculator-preinstall-chain-demo' @ 1.1.1 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.
Database specific
{
    "iocs": {
        "files": [
            {
                "digests": {
                    "sha256": "bb605d4d0ff114fe127e7ecd8473d78ae49730d4b2b627d3cb0496c9fdd1f2e6"
                },
                "note": "depends on calculator-preinstall-hook-demo 1.1.2, whose preinstall POSTs hostname and username to a Discord webhook (calculator-preinstall-chain-demo@1.1.2).",
                "paths": [
                    "package.json"
                ],
                "source": "PACKAGE_ARCHIVE"
            }
        ],
        "urls": [
            "https://discord.com/api/webhooks/1566215853794394162/xsqpEbSn-cc3DU2AKWdzqWnXX5hjTfV-gUePQZ4evrHGlZctMd40TKCrN42qnJd7moc1"
        ]
    },
    "malicious-packages-origins": [
        {
            "import_time": "2026-11-02T06:26:01.369649878Z",
            "modified_time": "2026-11-01T01:08:06Z",
            "sha256": "88c07c18a13b451e734355c6d2bb4ca05dc4c76209fe483b97403c968c09c0ea",
            "source": "ossf-package-analysis",
            "versions": [
                "1.1.1"
            ]
        },
        {
            "id": "GHSA-gmrr-hqfh-q4j3",
            "import_time": "2026-11-02T16:19:46.139348042Z",
            "modified_time": "2026-11-02T16:14:50Z",
            "ranges": [
                {
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ],
                    "type": "SEMVER"
                }
            ],
            "sha256": "75fa7ce6d7d33ed240fa7d5b89a441dc860308dfc036b9bf83bec447126fb070",
            "source": "ghsa-malware"
        }
    ]
}
References
Credits

Affected packages

npm / calculator-preinstall-chain-demo

Package

Name
calculator-preinstall-chain-demo
View open source insights on deps.dev
Purl
pkg:npm/calculator-preinstall-chain-demo

Affected ranges

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

Affected versions

1.*
1.1.1
1.1.2

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"
    }
]
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/calculator-preinstall-chain-demo/MAL-2026-18453.json"