---
id: "GHSA-p7gq-mvm4-4cw4"
kind: "package"
aliases: ["GHSA-p7gq-mvm4-4cw4", "MAL-2026-17652"]
title: "Malicious code in @ziedzzz/demo-canary (npm)"
severity: "critical"
cvss: null
epss: null
exploited: false
status: "open"
category: "package"
products: [{"name": "@ziedzzz/demo-canary", "fixed": [], "affected": "= 1.0.0; = 0.0.0-stage", "ecosystem": "npm"}]
ecosystems: ["npm"]
tags: ["malicious", "package"]
not_affected_if: []
published_at: "2026-10-08T03:37:45+00:00"
first_seen_at: "2026-10-26T20:51:48+00:00"
updated_at: "2026-10-26T21:08:21+00:00"
sources: [{"source": "osv-malicious", "url": "https://osv.dev/vulnerability/MAL-2026-17652", "first_seen_at": "2026-10-26T20:51:48+00:00"}]
---

# Malicious code in @ziedzzz/demo-canary (npm)

## Affected

- npm:@ziedzzz/demo-canary affected = 1.0.0; = 0.0.0-stage fixed ?

## Timeline

- 2026-10-26T20:51:48+00:00 osv-malicious https://osv.dev/vulnerability/MAL-2026-17652

## From the sources

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

## Source: amazon-inspector (e6350184f3eabc17d37726cdd71ea97666cef28b2e1c125cffeb56e7c474b8dd)
On `npm install`, the package's declared postinstall script executes index.js, which collects a host fingerprint (hostname, username, home directory, cwd, platform/arch/OS release, CPU model, memory, network interfaces including MAC/OUI, process info) and enumerates process.env for variable names matching TOKEN|SECRET|KEY|PASS|AWS_|GCP_|AZURE_|SSH|GIT|NPM|DOCKER. The collected data is transmitted via HTTPS GET to the hardcoded third-party endpoint telegrambot-aebk.onrender.com/ping. The behavior fires automatically on install without opt-in and discloses the installer's host identity and credential-variable inventory to an author-controlled destination.

## Source: ghsa-malware (d3e7b0e058e95345b4068c6e4f15e9c53f11d2e5c93cecb7d599af7f1b0710cf)
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.

---

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