Skip to main content
MalwarePublished Updated

calculator-preinstall-chain-demo (npm) · Malicious Code

Affects calculator-preinstall-chain-demoSource GCVE Database

0

Malicious package : remove calculator-preinstall-chain-demo and rotate any secrets on hosts that installed it.

Data as of 2 Nov 2026, 07:46 UTC

Classification

Malicious package

Published to npm · OSV MAL-2026-18453

What to do

Remove calculator-preinstall-chain-demo from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.

Affected software

ProductAffectedFixed in
npmcalculator-preinstall-chain-demoAffected
  • =1.1.2
  • =1.1.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

The npm package calculator-preinstall-chain-demo versions 1.1.1 and 1.1.2 is identified as malicious. It does not have its own install script but depends on calculator-preinstall-hook-demo@1.1.2, which runs a preinstall script that sends the machine's hostname and OS username to a Discord webhook. This behavior is considered malicious due to unauthorized data exfiltration.

References

Community reviews

Loading reviews…