MAL-2026-4807

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/shop-minis/MAL-2026-4807.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4807
Aliases
  • GHSA-ghv6-vv2r-5f8v
Published
2026-05-26T12:07:26Z
Modified
2026-05-27T13:46:42.842366182Z
Summary
Malicious code in shop-minis (npm)
Details

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

Source: amazon-inspector (6e9e3e4e8e9e12bac20967fa551c549a93915b33007d7e54f8bfe0eed26a216e)

On npm install, the package's postinstall script (postinstall.js, run via scripts.postinstall = 'node postinstall.js') collects host identity — whoami, id, os.hostname(), os.platform(), current working directory, and the env vars CI, GITHUB_REPOSITORY, NODE_ENV — and sends them to the hardcoded attacker-controlled host svr57aylqme3zald4p0psi1hw827q1eq.oastify.com (a Burp Collaborator / OAST canary domain) via both https.get and DNS lookup. The package name shop-minis and self-described 'Security research canary — shopify' impersonate Shopify's Shop Minis platform, so any developer expecting that namespace would unwittingly leak host recon to the canary operator's collaborator instance. The package ships no real functionality matching its name; the only effect of installation is the exfiltration beacon.

Source: ghsa-malware (15ec57895cae37229f449175b247b9d216d8b9e6f7d521341cfa6ffee413b07e)

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": [
        {
            "versions": [
                "2.0.5"
            ],
            "sha256": "6e9e3e4e8e9e12bac20967fa551c549a93915b33007d7e54f8bfe0eed26a216e",
            "modified_time": "2026-05-26T12:07:26Z",
            "source": "amazon-inspector",
            "import_time": "2026-05-26T13:32:46.607776866Z",
            "id": "IN-MAL-2026-004905"
        },
        {
            "versions": [
                "2.0.5"
            ],
            "sha256": "7366059c37dc67acd2988ef814e67556fc226b983668520a41518ca39c14902e",
            "modified_time": "2026-05-26T12:07:27Z",
            "source": "amazon-inspector",
            "id": "IN-MAL-2026-004906",
            "import_time": "2026-05-26T13:32:46.72409743Z"
        },
        {
            "sha256": "15ec57895cae37229f449175b247b9d216d8b9e6f7d521341cfa6ffee413b07e",
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "source": "ghsa-malware",
            "modified_time": "2026-05-27T13:25:15Z",
            "import_time": "2026-05-27T13:34:11.952502482Z",
            "id": "GHSA-ghv6-vv2r-5f8v"
        }
    ]
}
References
Credits

Affected packages

npm / shop-minis

Package

Affected ranges

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

Affected versions

2.*
2.0.5

Database specific

indicators
{
    "package_integrity": [
        {
            "filename": "shop-minis-2.0.5.tgz",
            "hashes": {
                "sha512_sri": "sha512-N3ej+GGqFOLiOSNFvxkdwTXwY4M1b1cKQMhqN0BClUlWWfqvjUHGsbpUSue9yrAsnZTxDZbMDw1f7hkcaBsB+g==",
                "sha1": "f556b4533e1bcc01f0a1bc5f7af50eba85ad4303"
            }
        }
    ],
    "evidence_files": [
        {
            "sha256": "7fc4ea8b86c27e4111b2dc03ad327de9dc80ee686f0443edc0171645f46f6bbb",
            "path": "postinstall.js",
            "tlsh": "050141a463f4e6b444f31dc0e2158c17b067e0103301bae07cec8354ab85ab445b5ced"
        },
        {
            "sha256": "43c55e42e821f4f501fa424379a65296edc45f351bdeda3d0d9e99d5f979996b",
            "path": "package.json",
            "tlsh": "35d05e2058625773b8d90aae0c369148daa24d1b5244ec3817e721c4871a27a957b36a"
        }
    ],
    "domains": [
        "svr57aylqme3zald4p0psi1hw827q1eq.oastify.com",
        "scan.svr57aylqme3zald4p0psi1hw827q1eq.oastify.com"
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/shop-minis/MAL-2026-4807.json"
cwes
[
    {
        "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",
        "cweId": "CWE-506"
    }
]