---
id: "MAL-2026-18453"
kind: "package"
aliases: ["MAL-2026-18453"]
title: "Malicious code in calculator-preinstall-chain-demo (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "calculator-preinstall-chain-demo", "fixed": [], "affected": "= 1.1.2", "ecosystem": "npm"}, {"name": "calculator-preinstall-chain-demo", "fixed": [], "affected": "= 1.1.2; = 1.1.1", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-11-01T00:39:35+00:00"
first_seen_at: "2026-11-02T06:51:32+00:00"
updated_at: "2026-11-02T07:21:41+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-18453", "first_seen_at": "2026-11-02T06:51:32+00:00"}]
---

# Malicious code in calculator-preinstall-chain-demo (npm)

## Affected

- npm:calculator-preinstall-chain-demo affected = 1.1.2 fixed ?
- npm:calculator-preinstall-chain-demo affected = 1.1.2; = 1.1.1 fixed ?

## Timeline

- 2026-11-02T06:51:32+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-18453

## From the sources

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: 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.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
