-= Per source details. Do not edit below this line.=-
@doaction/pay 9.9.9 declares "preinstall": "node scripts/postinstall.js" in package.json, which requires @doaction/shared/bin/postinstall.js and runs automatically on npm install with no user consent. The package's stated purpose is Datadog environment telemetry, and src/index.js wraps collectEnv and sendToDatadog from the shared dependency. At install time no caller-supplied API key or destination exists, so the preinstall execution path reads installer environment variables and ships them to a destination hardcoded inside the transitive dependency. Two additional concerns corroborate intent: (1) the lifecycle script invoked from preinstall is misleadingly named scripts/postinstall.js, while an unused scripts/preinstall.js of similar shape sits alongside it — a reviewer-confusion pattern; (2) the 9.9.9 version with an 'internal testing' description is consistent with a coordinated package set targeting installer environments rather than a normal release.
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.
{
"malicious-packages-origins": [
{
"id": "GHSA-55rv-c39c-944m",
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
}
]
}
],
"import_time": "2026-06-09T15:22:39.838880635Z",
"sha256": "ea0e4224fea42b723c5ddeed073192af51d5fec4e00b596f37df2f4e3585f4b5",
"source": "ghsa-malware",
"modified_time": "2026-06-09T14:17:42Z"
},
{
"id": "IN-MAL-2026-004988",
"import_time": "2026-06-09T17:45:46.864061932Z",
"sha256": "a0a6f5d2258f3a2b373b66990c85dbbe09e260c25ade58d6f44cfb53b9e09616",
"source": "amazon-inspector",
"modified_time": "2026-06-09T17:12:10Z",
"versions": [
"99.99.99"
]
},
{
"id": "IN-MAL-2026-004987",
"versions": [
"99.99.99"
],
"sha256": "a6212e535568abe842341e0c1ddc4548ac0146e1bbce874e0a45d282f4d196a1",
"source": "amazon-inspector",
"modified_time": "2026-06-09T17:12:09Z",
"import_time": "2026-06-09T17:45:46.800530238Z"
},
{
"id": "IN-MAL-2026-005188",
"import_time": "2026-06-09T18:50:23.674719467Z",
"sha256": "66be5e0fe7c87db433a786ebffe006e89378ddc687056638b962b421b8794f2a",
"source": "amazon-inspector",
"modified_time": "2026-06-09T18:17:59Z",
"versions": [
"9.9.9"
]
},
{
"id": "IN-MAL-2026-005187",
"import_time": "2026-06-09T18:50:23.539621116Z",
"sha256": "94ec95e460ba16497749775ca5e0bac92e4013e2297dd506bb2b99254acffaf3",
"source": "amazon-inspector",
"modified_time": "2026-06-09T18:17:58Z",
"versions": [
"9.9.9"
]
}
]
}{
"evidence_files": [
{
"path": "scripts/postinstall.js",
"sha256": "54d8ffcd6e45cb20ff1ad37613c1bf0416733e348554847d8cee7d51b39bb3b5",
"tlsh": "6ad0224d3a8db7bc3ce1453a1943234a727181240220f2f8789a035283241846a1f4e1"
},
{
"path": "src/index.js",
"sha256": "666e47d1b0a811594ce6ff387dafb7dc297e1e6648b4346e37aa4a16958e81d3",
"tlsh": "f711ab1330d4661665cb14e1a84ec1a2f920c1423bda34ed319f57d26f8c8e5a5a2d54"
},
{
"path": "package.json",
"sha256": "85e82c40324084e05d206d15f0da6fbba2f8a70eee77b2f79105caa108c4ae35",
"tlsh": "0bf027303b129a371dd1a6625c3a401773b14f2f514479092acb111a871c6bba5ff21d"
}
],
"domains": [
"e1gjv2ne5a.execute-api.ap-northeast-1.amazonaws.com"
]
}
[
{
"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."
},
{
"cweId": "CWE-506",
"name": "Embedded Malicious Code",
"description": "The product contains code that appears to be malicious in nature."
}
]
"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@doaction/pay/MAL-2026-5375.json"