{"id":"MAL-2026-16299","summary":"Malicious code in @pwaplatform/module-sso-integration (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (4f674867f67f5a8495dbc953913b6cc7c0d8b9d094161c660ca4dfd5449506ba)\n@pwaplatform/module-sso-integration@99.0.1 declares both preinstall and postinstall lifecycle scripts that execute payload.js on npm install. payload.js collects hostname, whoami, id, uname -a, the contents of /etc/passwd (up to 4096 bytes), cwd, INIT_CWD, the installing project's git remote and branch, its package.json metadata and top-level dependencies, npm config, CI environment variables, and node/platform information, base64/base64url-encodes the payload, and transmits it over plain HTTP to three hardcoded destinations: http://sobaka-kusaka.ru:8000/oob/\u003ctoken\u003e, http://sobaka-kusaka.ru:8898/c/\u003ctoken\u003e, and a Burp Collaborator subdomain at http://ii473egh1b4kbaw03rf7pkzik9q0er8fx.oastify.com/\u003ctoken\u003e. The @pwaplatform scope name, the implausibly high 99.0.1 version, and the out-of-band collaborator channel are consistent with a dependency-confusion attack against an internal scope; the README's 'authorized bug bounty canary' framing is author-controlled and does not reflect installer consent.\n\n## Source: ossf-package-analysis (774cfab0bd1150e7f7e40819176562e4e19983d87b347f5a55a0b60dfbbca7d3)\nThe OpenSSF Package Analysis project identified '@pwaplatform/module-sso-integration' @ 99.0.0 (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","modified":"2026-09-20T17:45:06.194269936Z","published":"2026-09-20T11:05:51Z","database_specific":{"malicious-packages-origins":[{"modified_time":"2026-09-20T11:05:51Z","sha256":"774cfab0bd1150e7f7e40819176562e4e19983d87b347f5a55a0b60dfbbca7d3","source":"ossf-package-analysis","versions":["99.0.0"],"import_time":"2026-09-20T11:14:41.929762019Z"},{"sha256":"ff12119f596cd74faf7cbe869e13bc3cb451db8adf2504112ced9aed9bafa731","source":"ossf-package-analysis","versions":["99.0.1"],"import_time":"2026-09-20T11:14:42.256484553Z","modified_time":"2026-09-20T11:10:39Z"},{"sha256":"3cecca23c77c98d7c158179a7785339df9780feab0719e02eb46c55102023ccf","source":"amazon-inspector","versions":["99.0.0"],"id":"IN-MAL-2026-020194","import_time":"2026-09-20T17:37:29.625778733Z","modified_time":"2026-09-20T17:25:54Z"},{"id":"IN-MAL-2026-020193","import_time":"2026-09-20T17:37:29.585901082Z","modified_time":"2026-09-20T17:25:43Z","sha256":"4f674867f67f5a8495dbc953913b6cc7c0d8b9d094161c660ca4dfd5449506ba","source":"amazon-inspector","versions":["99.0.1"]}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/@pwaplatform/module-sso-integration/v/99.0.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/@pwaplatform/module-sso-integration/v/99.0.1"}],"affected":[{"package":{"name":"@pwaplatform/module-sso-integration","ecosystem":"npm","purl":"pkg:npm/%40pwaplatform/module-sso-integration"},"versions":["99.0.0","99.0.1"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/@pwaplatform/module-sso-integration/MAL-2026-16299.json","cwes":[{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code","cweId":"CWE-506"}],"indicators":{"package_integrity":[{"hashes":{"sha512_sri":"sha512-wvMeDnFr2PJamjCllnQaIImNXMVIYMHiFtw3m+pQfMYRzoELJWSWuDM+VWKRKVprtwusVBjm3O0Mnw3ldW0uww==","sha1":"f24dee4d0c47e2c4dd6807e8ad573edea89f6a87"},"filename":"module-sso-integration-99.0.0.tgz"}],"evidence_files":[{"path":"payload.js","sha256":"f7cc205c2a1792c59db9234bee3dffaa71f2947dd2c7e506ecf85e91764821de","tlsh":"a461b5a985ed392213b93a21d39f115167f9e0321308b5a0b56ec1c19fad2b803329ef"}]}}}],"schema_version":"1.9.0","credits":[{"name":"Amazon Inspector","contact":["inspector-research@amazon.com"],"type":"FINDER"},{"name":"OpenSSF: Package Analysis","contact":["https://github.com/ossf/package-analysis","https://openssf.slack.com/channels/package_analysis"],"type":"FINDER"}]}