MAL-2026-4624

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nw-demo/MAL-2026-4624.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4624
Aliases
  • GHSA-hmxw-6c9h-v2h2
Published
2026-05-20T09:42:19Z
Modified
2026-06-10T15:31:29.718649734Z
Summary
Malicious code in nw-demo (npm)
Details

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

Source: amazon-inspector (5e3ff057a42800ad78024ac1c48e0d6fbf9c828eb828a41e6737c32b6174ce8c)

Package is published publicly on npm at version 100.20.33 — a version-number shape used in dependency-confusion attacks to outrank private internal packages of the same name. The package.json claims authorship by 'Atlassian Ecosystem Engineering' and describes itself as an 'Atlassian internal demonstration and utility framework', but the package is published to the public registry under no Atlassian-owned scope. The main entry index.js contains only try { require('nw-demo-utils'); } catch (e) { } — its sole behavior on import is to silently load and execute a separately-published transitive dependency (nw-demo-utils ^1.0.16), with errors swallowed to hide failures. The README instructs consumers to require('nw-demo'), which transitively executes nw-demo-utils' module-load code in the installer's process. The wrapper itself ships no payload; it functions as a loader that laundries arbitrary code from nw-demo-utils into any pipeline that mistakenly resolves the public package over a private internal one.

Source: ghsa-malware (a8b0000bbe860e0be3251c1f9d4909f0f7c7f752e64fd9f49c9f728efac5c633)

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-003512",
            "import_time": "2026-05-26T05:50:46.185036493Z",
            "sha256": "03e57536309b6677744ada28c811992c031dceaae52bd012f338594e0d15fef5",
            "source": "amazon-inspector",
            "modified_time": "2026-05-20T09:42:19Z",
            "versions": [
                "100.20.33"
            ]
        },
        {
            "id": "IN-MAL-2026-003511",
            "versions": [
                "100.20.33"
            ],
            "sha256": "5e3ff057a42800ad78024ac1c48e0d6fbf9c828eb828a41e6737c32b6174ce8c",
            "source": "amazon-inspector",
            "modified_time": "2026-05-20T09:42:19Z",
            "import_time": "2026-05-26T05:50:46.088943533Z"
        },
        {
            "id": "GHSA-hmxw-6c9h-v2h2",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "import_time": "2026-06-10T15:25:13.636654913Z",
            "sha256": "a8b0000bbe860e0be3251c1f9d4909f0f7c7f752e64fd9f49c9f728efac5c633",
            "source": "ghsa-malware",
            "modified_time": "2026-06-10T14:30:24Z"
        }
    ]
}
References
Credits

Affected packages

npm / nw-demo

Package

Affected ranges

Type
SEMVER
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

100.*
100.20.33

Database specific

cwes
[
    {
        "cweId": "CWE-506",
        "name": "Embedded Malicious Code",
        "description": "The product contains code that appears to be malicious in nature."
    },
    {
        "description": "The product contains code that appears to be malicious in nature.",
        "name": "Embedded Malicious Code",
        "cweId": "CWE-506"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "index.js",
            "sha256": "ced19099c49d16a86eeb10af83c5c93ff324474f192d31cf89bd490025d14428",
            "tlsh": "9bd023c60885a0fb4331cbc25334470077c2caf50143e494742b827613e0c950646f7c"
        }
    ],
    "package_integrity": [
        {
            "filename": "nw-demo-100.20.33.tgz",
            "hashes": {
                "sha512_sri": "sha512-wvINB+8HdU2CNjzp5sDd6Oi4oo5OSdA44ZWYGI/rUmGF/08ettqCLPmbzdggfinEHK1R+SKhCv+IxpjWAsRFgQ==",
                "sha1": "c82a346e9ee9ba1496c427efe3e0a1d24adf8e4b"
            }
        }
    ],
    "domains": [
        "corp.local",
        "active-directory.local",
        "internal.jira.local",
        "compute.internal",
        "gitlab.local",
        "kubernetes.default",
        "gitlab.internal",
        "jenkins.local",
        "jenkins.internal",
        "istio-ingressgateway.istio-system.svc.cluster.local",
        "redis.internal",
        "db.local",
        "intranet.local",
        "azure.internal",
        "vault.internal",
        "mongodb.internal",
        "lan",
        "home",
        "ec2.internal",
        "consul.service.consul",
        "kubernetes.default.svc",
        "redis.local",
        "postgres.local",
        "internal",
        "pop-vivo.lapxa354.workers.dev",
        "kubernetes.default.svc.cluster.local",
        "rancher.internal",
        "google.internal"
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/nw-demo/MAL-2026-4624.json"