MAL-2026-17652

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ziedzzz/demo-canary/MAL-2026-17652.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-17652
Aliases
  • GHSA-p7gq-mvm4-4cw4
Published
2026-10-08T03:37:45Z
Modified
2026-10-20T22:30:05Z
Summary
Malicious code in @ziedzzz/demo-canary (npm)
Details

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

Database specific
{
    "malicious-packages-origins":  [
        {
            "id":  "IN-MAL-2026-021112",
            "import_time":  "2026-10-08T03:50:28.66592176Z",
            "modified_time":  "2026-10-08T03:37:45Z",
            "sha256":  "e6350184f3eabc17d37726cdd71ea97666cef28b2e1c125cffeb56e7c474b8dd",
            "source":  "amazon-inspector",
            "versions":  [
                "1.0.0"
            ]
        },
        {
            "id":  "GHSA-p7gq-mvm4-4cw4",
            "import_time":  "2026-10-20T22:24:14.701432363Z",
            "modified_time":  "2026-10-20T21:42:25Z",
            "sha256":  "d3e7b0e058e95345b4068c6e4f15e9c53f11d2e5c93cecb7d599af7f1b0710cf",
            "source":  "ghsa-malware",
            "versions":  [
                "1.0.0",
                "0.0.0-stage"
            ]
        }
    ]
}
References
Credits

Affected packages

npm / @ziedzzz/demo-canary

Package

Name
@ziedzzz/demo-canary
View open source insights on deps.dev
Purl
pkg:npm/%40ziedzzz/demo-canary

Affected ranges

Affected versions

0.*
0.0.0-stage
1.*
1.0.0

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"
    }
]
indicators
{
    "evidence_files":  [
        {
            "path":  "index.js",
            "sha256":  "1ad2ad5b251c088ccc219c5de1e11c0f5166e7a76e250ca13a50f15d326de018",
            "tlsh":  "2ed172b12da0543435b5d33d6b064123ea15bb133601e1a6bcbc72962fee864c169efe"
        }
    ],
    "package_integrity":  [
        {
            "filename":  "demo-canary-1.0.0.tgz",
            "hashes":  {
                "sha1":  "80c3675dbe6e2d7f45f86b6772d7dba1ae77bf35",
                "sha512_sri":  "sha512-d2nQDcRSLNTz2NRlhzARTOKNPtNa7kQZ+EsnM15fye6k7wBbmOHD/RQtVBp/VJvLBbH1Aw14BwF43SAMld90oA=="
            }
        }
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@ziedzzz/demo-canary/MAL-2026-17652.json"