{"id":"MAL-2026-4254","summary":"Malicious code in reactive-cdk-app (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (84d7572f96294e867b18a0448ac0e70af3d08769749aa73388b38d88492559e4)\npackage.json declares `preinstall: node index.js`, so installation automatically executes index.js. The script reads /etc/passwd via fs.readFileSync, collects hostname, username, platform, cwd, and home directory from the os module, slices the first 30 entries of process.env (which on CI typically include AWS_*, GITHUB_TOKEN, NPM_TOKEN, and similar credentials), and HTTPS-POSTs the JSON payload to `3nrgzlqwix6erldow0s0kttsojuai36s.oastify.com` — a Burp Collaborator out-of-band exfiltration subdomain. The package name and description ('package of the reactive-cdk-app of the aws') impersonate AWS CDK naming, fitting a typosquat-with-payload pattern. Any developer or CI system running `npm install reactive-cdk-app` leaks host identity, the local user database, and a bulk slice of environment secrets to the attacker.\n\n## Source: ghsa-malware (171cafb2d7e5b500dd92fe5d46da3a09b37ac9ff62af885241b41e8401746144)\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 (d01657e9ca5ae8e8f34576437bbc86bb276c83d99dfd1563da57fe880a6ac6fd)\nThe OpenSSF Package Analysis project identified 'reactive-cdk-app' @ 1.0.1 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package communicates with a domain associated with malicious activity.\n","aliases":["GHSA-ppjp-2h29-66pv"],"modified":"2026-05-29T23:02:01.243319638Z","published":"2026-05-22T09:31:28Z","database_specific":{"malicious-packages-origins":[{"sha256":"d01657e9ca5ae8e8f34576437bbc86bb276c83d99dfd1563da57fe880a6ac6fd","import_time":"2026-05-22T10:33:49.884538297Z","modified_time":"2026-05-22T09:35:40Z","versions":["1.0.1"],"source":"ossf-package-analysis"},{"sha256":"ad185c182eb6262541352d633509ab6c3b35e66e0456b9a6871da0641a4ad1b1","import_time":"2026-05-26T05:52:06.871949241Z","id":"IN-MAL-2026-004191","modified_time":"2026-05-22T10:33:38Z","versions":["1.0.4"],"source":"amazon-inspector"},{"sha256":"ca92f78b93f86679498366c041a15bbfa55e8a2f9d14d0263c876aea75cefe27","import_time":"2026-05-26T05:52:06.162701737Z","id":"IN-MAL-2026-004185","modified_time":"2026-05-22T10:22:41Z","versions":["1.0.3"],"source":"amazon-inspector"},{"modified_time":"2026-05-22T09:31:28Z","versions":["1.0.1"],"source":"amazon-inspector","sha256":"d07f0097c4a9b1169ba7069a197de2fb3770ba5d3e5904af463c750e226a2c7c","import_time":"2026-05-26T05:52:05.337542152Z","id":"IN-MAL-2026-004178"},{"versions":["1.0.1"],"source":"amazon-inspector","sha256":"062b4ae8e07104f0c7a05845432701b2927c63f3a678b27108db6837eca35443","import_time":"2026-05-26T05:52:05.509854627Z","id":"IN-MAL-2026-004179","modified_time":"2026-05-22T09:31:29Z"},{"import_time":"2026-05-26T05:52:05.60845428Z","id":"IN-MAL-2026-004180","modified_time":"2026-05-22T09:53:10Z","versions":["1.0.2"],"source":"amazon-inspector","sha256":"2ee2278b633f78383f38f7b885af48b8346d4291b8eada608a94024b39080358"},{"sha256":"495d1f7b248c12ccb1f7d7dbc1f97f0462f21bb13d6a7c2639e280efc97bf2d9","import_time":"2026-05-26T05:52:06.28503018Z","id":"IN-MAL-2026-004186","modified_time":"2026-05-22T10:22:41Z","versions":["1.0.3"],"source":"amazon-inspector"},{"id":"IN-MAL-2026-004190","modified_time":"2026-05-22T10:33:38Z","versions":["1.0.4"],"source":"amazon-inspector","sha256":"84d7572f96294e867b18a0448ac0e70af3d08769749aa73388b38d88492559e4","import_time":"2026-05-26T05:52:06.737097329Z"},{"ranges":[{"events":[{"introduced":"0"}],"type":"SEMVER"}],"source":"ghsa-malware","sha256":"171cafb2d7e5b500dd92fe5d46da3a09b37ac9ff62af885241b41e8401746144","import_time":"2026-05-29T22:44:06.046663547Z","id":"GHSA-ppjp-2h29-66pv","modified_time":"2026-05-29T22:03:23Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/reactive-cdk-app/v/1.0.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/reactive-cdk-app/v/1.0.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/reactive-cdk-app/v/1.0.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/reactive-cdk-app/v/1.0.4"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-ppjp-2h29-66pv"}],"affected":[{"package":{"name":"reactive-cdk-app","ecosystem":"npm","purl":"pkg:npm/reactive-cdk-app"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["1.0.1","1.0.4","1.0.3","1.0.2"],"database_specific":{"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/reactive-cdk-app/MAL-2026-4254.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"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."},{"cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature.","name":"Embedded Malicious Code"},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"package_integrity":[{"filename":"reactive-cdk-app-1.0.3.tgz","hashes":{"sha1":"274b7990b5f4b1d9ad7b9e011cdcdb890d67a632","sha512_sri":"sha512-Qdx7vLWF7SPnAdg3yS7BHAefHXBfr2EX07l7IRS94zKRhHyPMuCXs49TOzTrE8UXHNwic7AmcLeSV++mgGg4kA=="}}],"domains":["3nrgzlqwix6erldow0s0kttsojuai36s.oastify.com"],"evidence_files":[{"sha256":"6de1cc23b8d40a830077c66296ca884fd463a1ff12d5669c33ca0efbea9078c9","tlsh":"db412e9424f9953476f35981b18354226b63fb02390bf5a0badc03894bc9be45172af9","path":"index.js"},{"sha256":"5a2248c14d8bb581a7dc436a7ddef188d0e0c435c279368708312b461e60a428","tlsh":"a5d0c2608b606bb718e40d748cba8885a172186a0065a85836839018828dae648fb28e","path":"package.json"}]}}}],"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"}]}