{"id":"MAL-2026-4344","summary":"Malicious code in verify-mycommand (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (2f94ffb54a2471d0cc94ce1ea88f741e034221a374f17bfadbd609cb22f14f24)\nOn `npm install`, postinstall.js executes `whoami` and `id`, collects host identity (hostname, platform, cwd) and CI metadata (CI, GITHUB_REPOSITORY, NODE_ENV environment variables), and beacons the data via HTTPS GET to a hardcoded Burp Collaborator subdomain `md3zp4gf8gwxh437mjijacjbe2ky8pwe.oastify.com`. A DNS lookup of `\u003cwhoami\u003e.\u003chost\u003e` 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.\n\n## Source: ghsa-malware (f26fdadf3b7e97f88e15aa331f3af159ef2a7d3e29e5df68fe2aba59cf4b8e20)\nAny 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.\n\n## Source: ossf-package-analysis (0314ac9dcfab8957567efe770124ce8f1fd490d7d461d0853630bbe5806a43e0)\nThe OpenSSF Package Analysis project identified 'verify-mycommand' @ 2.0.4 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n\n- The package executes one or more commands associated with malicious behavior.\n","aliases":["GHSA-cg2p-m899-xgpg"],"modified":"2026-05-27T13:46:43.019819868Z","published":"2026-05-25T17:31:44Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-05-25T18:10:28Z","source":"ossf-package-analysis","sha256":"0314ac9dcfab8957567efe770124ce8f1fd490d7d461d0853630bbe5806a43e0","import_time":"2026-05-25T19:03:02.721077508Z","versions":["2.0.4"]},{"modified_time":"2026-05-25T17:31:44Z","source":"amazon-inspector","versions":["2.0.4"],"import_time":"2026-05-26T05:53:10.923284308Z","sha256":"2f94ffb54a2471d0cc94ce1ea88f741e034221a374f17bfadbd609cb22f14f24","id":"IN-MAL-2026-004734"},{"modified_time":"2026-05-25T17:31:45Z","source":"amazon-inspector","versions":["2.0.4"],"import_time":"2026-05-26T05:53:11.015183993Z","sha256":"e81e3137d93a6987561f6173d077a801d430bdffeb80ece22c91fee0801cde69","id":"IN-MAL-2026-004735"},{"modified_time":"2026-05-27T13:25:09Z","source":"ghsa-malware","import_time":"2026-05-27T13:34:11.950916613Z","sha256":"f26fdadf3b7e97f88e15aa331f3af159ef2a7d3e29e5df68fe2aba59cf4b8e20","id":"GHSA-cg2p-m899-xgpg","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/verify-mycommand/v/2.0.4"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-cg2p-m899-xgpg"}],"affected":[{"package":{"name":"verify-mycommand","ecosystem":"npm","purl":"pkg:npm/verify-mycommand"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["2.0.4"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/verify-mycommand/MAL-2026-4344.json","cwes":[{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","name":"Embedded Malicious Code","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"domains":["scan.md3zp4gf8gwxh437mjijacjbe2ky8pwe.oastify.com","md3zp4gf8gwxh437mjijacjbe2ky8pwe.oastify.com"],"package_integrity":[{"hashes":{"sha512_sri":"sha512-VqPK4esZosp4/j2vwyn+njo8/uQ8byFafier4JVNE+Zfwo4pQJTyE/6HWvEAcBxHO8SUNY05bCDIoJ1jpXjcpg==","sha1":"d8ad2acb39570adc078fe9e4d51245f9f63d8a8a"},"filename":"verify-mycommand-2.0.4.tgz"}],"evidence_files":[{"path":"postinstall.js","tlsh":"5c0141f463f0e6b458e25ec0e1258c067137e0103345bde03cec8355ab8997445b5cec","sha256":"86e83974547afa8391e3ba3cc3d91883fdb2e1983c44eb8e2559649a1dd83959"},{"path":"package.json","tlsh":"0ed05e1058614733bdc80bee1876a108dab2891b6144683957f724c8871b27a983b36a","sha256":"1de6587bb32df89e3f2808df04cf94ba1f1028d39e86402630f442455d50cabb"}]}}}],"schema_version":"1.7.5","credits":[{"name":"Amazon Inspector","contact":["actran@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}