MAL-2026-4344

See a problem?
Import Source
https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/verify-mycommand/MAL-2026-4344.json
JSON Data
https://api.osv.dev/v1/vulns/MAL-2026-4344
Aliases
  • GHSA-cg2p-m899-xgpg
Published
2026-05-25T17:31:44Z
Modified
2026-05-27T13:46:43.019819868Z
Summary
Malicious code in verify-mycommand (npm)
Details

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

Source: amazon-inspector (2f94ffb54a2471d0cc94ce1ea88f741e034221a374f17bfadbd609cb22f14f24)

On npm install, postinstall.js executes whoami and id, collects host identity (hostname, platform, cwd) and CI metadata (CI, GITHUBREPOSITORY, NODEENV environment variables), and beacons the data via HTTPS GET to a hardcoded Burp Collaborator subdomain md3zp4gf8gwxh437mjijacjbe2ky8pwe.oastify.com. A DNS lookup of <whoami>.<host> is also performed for out-of-band exfiltration. The package's own metadata describes it as a 'Security research canary' with a 'Takeover By lobo' marker, consistent with a dependency-confusion proof-of-concept or namespace hijack — but the install-time behavior is real exfiltration of installer identity and CI context to an attacker-controlled OAST endpoint regardless of stated intent. Any machine running npm install for this package leaks host and CI identifiers to a third party.

Source: ghsa-malware (f26fdadf3b7e97f88e15aa331f3af159ef2a7d3e29e5df68fe2aba59cf4b8e20)

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.

Source: ossf-package-analysis (0314ac9dcfab8957567efe770124ce8f1fd490d7d461d0853630bbe5806a43e0)

The OpenSSF Package Analysis project identified 'verify-mycommand' @ 2.0.4 (npm) as malicious.

It is considered malicious because:

  • The package communicates with a domain associated with malicious activity.

  • The package executes one or more commands associated with malicious behavior.

Database specific
{
    "malicious-packages-origins": [
        {
            "versions": [
                "2.0.4"
            ],
            "sha256": "0314ac9dcfab8957567efe770124ce8f1fd490d7d461d0853630bbe5806a43e0",
            "source": "ossf-package-analysis",
            "modified_time": "2026-05-25T18:10:28Z",
            "import_time": "2026-05-25T19:03:02.721077508Z"
        },
        {
            "id": "IN-MAL-2026-004734",
            "import_time": "2026-05-26T05:53:10.923284308Z",
            "sha256": "2f94ffb54a2471d0cc94ce1ea88f741e034221a374f17bfadbd609cb22f14f24",
            "source": "amazon-inspector",
            "modified_time": "2026-05-25T17:31:44Z",
            "versions": [
                "2.0.4"
            ]
        },
        {
            "id": "IN-MAL-2026-004735",
            "import_time": "2026-05-26T05:53:11.015183993Z",
            "sha256": "e81e3137d93a6987561f6173d077a801d430bdffeb80ece22c91fee0801cde69",
            "source": "amazon-inspector",
            "modified_time": "2026-05-25T17:31:45Z",
            "versions": [
                "2.0.4"
            ]
        },
        {
            "ranges": [
                {
                    "type": "SEMVER",
                    "events": [
                        {
                            "introduced": "0"
                        }
                    ]
                }
            ],
            "id": "GHSA-cg2p-m899-xgpg",
            "import_time": "2026-05-27T13:34:11.950916613Z",
            "sha256": "f26fdadf3b7e97f88e15aa331f3af159ef2a7d3e29e5df68fe2aba59cf4b8e20",
            "source": "ghsa-malware",
            "modified_time": "2026-05-27T13:25:09Z"
        }
    ]
}
References
Credits

Affected packages

npm / verify-mycommand

Package

Affected ranges

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

Affected versions

2.*
2.0.4

Database specific

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"
    }
]
indicators
{
    "evidence_files": [
        {
            "path": "postinstall.js",
            "sha256": "86e83974547afa8391e3ba3cc3d91883fdb2e1983c44eb8e2559649a1dd83959",
            "tlsh": "5c0141f463f0e6b458e25ec0e1258c067137e0103345bde03cec8355ab8997445b5cec"
        },
        {
            "path": "package.json",
            "sha256": "1de6587bb32df89e3f2808df04cf94ba1f1028d39e86402630f442455d50cabb",
            "tlsh": "0ed05e1058614733bdc80bee1876a108dab2891b6144683957f724c8871b27a983b36a"
        }
    ],
    "package_integrity": [
        {
            "filename": "verify-mycommand-2.0.4.tgz",
            "hashes": {
                "sha512_sri": "sha512-VqPK4esZosp4/j2vwyn+njo8/uQ8byFafier4JVNE+Zfwo4pQJTyE/6HWvEAcBxHO8SUNY05bCDIoJ1jpXjcpg==",
                "sha1": "d8ad2acb39570adc078fe9e4d51245f9f63d8a8a"
            }
        }
    ],
    "domains": [
        "scan.md3zp4gf8gwxh437mjijacjbe2ky8pwe.oastify.com",
        "md3zp4gf8gwxh437mjijacjbe2ky8pwe.oastify.com"
    ]
}
source
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/verify-mycommand/MAL-2026-4344.json"