Skip to content
Heist/ feed
Back to feed
Unrated

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

Type: advisorySources: OSV

--- _-= 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.

Products
@ziedzzz/demo-canary
Affected versions
0.0.0-stage, 1.0.0
Fixed versions
Not specified
CVEs
Not specified
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 13:26 UTC · Revision 1

Source evidence

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

core-osv · Original source

Published 8 Oct 2026, 03:37 UTC

--- _-= 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.

osv:MAL-2026-17652

@ziedzzz/demo-canary

Fixed versions: Not specified

Complete source record
{
  "id": "a6b98d63f3485592994206da1dae73290ee0a56aa07121b1435b56f58529c38f",
  "url": "https://osv.dev/vulnerability/MAL-2026-17652",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Malicious code in @ziedzzz/demo-canary (npm)",
    "summary": "--- _-= 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.",
    "evidence": "osv:MAL-2026-17652",
    "products": [
      {
        "name": {
          "value": "@ziedzzz/demo-canary",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.0.0",
            "evidence": "/affected/0/versions"
          },
          {
            "value": "0.0.0-stage",
            "evidence": "/affected/0/versions"
          }
        ]
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "MAL-2026-17652",
      "aliases": [
        "GHSA-p7gq-mvm4-4cw4",
        "MAL-2026-17652"
      ],
      "affected": [
        {
          "package": {
            "name": "@ziedzzz/demo-canary",
            "purl": "pkg:npm/%40ziedzzz/demo-canary",
            "ecosystem": "npm"
          },
          "versions": [
            "1.0.0",
            "0.0.0-stage"
          ],
          "database_specific": {
            "cwes": [
              {
                "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."
              }
            ],
            "source": "https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ziedzzz/demo-canary/MAL-2026-17652.json",
            "indicators": {
              "evidence_files": [
                {
                  "path": "index.js",
                  "tlsh": "2ed172b12da0543435b5d33d6b064123ea15bb133601e1a6bcbc72962fee864c169efe",
                  "sha256": "1ad2ad5b251c088ccc219c5de1e11c0f5166e7a76e250ca13a50f15d326de018"
                }
              ],
              "package_integrity": [
                {
                  "hashes": {
                    "sha1": "80c3675dbe6e2d7f45f86b6772d7dba1ae77bf35",
                    "sha512_sri": "sha512-d2nQDcRSLNTz2NRlhzARTOKNPtNa7kQZ+EsnM15fye6k7wBbmOHD/RQtVBp/VJvLBbH1Aw14BwF43SAMld90oA=="
                  },
                  "filename": "demo-canary-1.0.0.tgz"
                }
              ]
            }
          }
        }
      ],
      "modified": "2026-10-20T22:30:05.347513045Z",
      "provider": "osv",
      "references": [
        "https://www.npmjs.com/package/@ziedzzz/demo-canary/v/1.0.0",
        "https://github.com/advisories/GHSA-p7gq-mvm4-4cw4"
      ],
      "provider_metadata": {
        "malicious-packages-origins": [
          {
            "id": "IN-MAL-2026-021112",
            "sha256": "e6350184f3eabc17d37726cdd71ea97666cef28b2e1c125cffeb56e7c474b8dd",
            "source": "amazon-inspector",
            "versions": [
              "1.0.0"
            ],
            "import_time": "2026-10-08T03:50:28.66592176Z",
            "modified_time": "2026-10-08T03:37:45Z"
          },
          {
            "id": "GHSA-p7gq-mvm4-4cw4",
            "sha256": "d3e7b0e058e95345b4068c6e4f15e9c53f11d2e5c93cecb7d599af7f1b0710cf",
            "source": "ghsa-malware",
            "versions": [
              "1.0.0",
              "0.0.0-stage"
            ],
            "import_time": "2026-10-20T22:24:14.701432363Z",
            "modified_time": "2026-10-20T21:42:25Z"
          }
        ]
      }
    },
    "related_cves": [],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 390712,
  "published_at": "2026-10-08T03:37:45+00:00"
}