{"id":"MAL-2026-6991","summary":"Malicious code in airkey-mfa-react (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (addd30fd6d90110d178ea017b2968c6014dab0e8304bdfeb55b13612a75f61da)\nPackage auto-executes a preinstall script (`node test.js`) on `npm install` that collects username, hostname, platform, Node version, and CI flag and POSTs them to `https://eeazmrabqcquvqjfubjp6jkk2qq9p3acn.oast.fun/dex`. `index.js` additionally runs `whoami` and `id` via child_process, gathers hostname/uid/gid/homedir/cwd/shell, and POSTs the results to `https://rsnchacyin4dnjv0oc8prrwn1e77vzjo.oastify.com/detox56`. The exfil payload carries a `package: \"company-internal-canary-2026\", version: \"99.0.0\"` label, indicating a dependency-confusion probe against an internal package namespace. Both destinations are out-of-band interaction service domains (interact.sh / Burp Collaborator) used to capture installer identifiers.\n\n## Source: ghsa-malware (b5debd01817fc3f9e23925a3a25e13ba31ad38f27a8c05752b0b8824ab1ccc21)\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 (aabfcc531d8f0174d9ba67b4ff82625500d953dfa0016b3e7bd95df973d5509f)\nThe OpenSSF Package Analysis project identified 'airkey-mfa-react' @ 36.1.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-85x8-7x9f-f978"],"modified":"2026-07-09T16:31:51.788011208Z","published":"2026-07-08T16:30:56Z","database_specific":{"malicious-packages-origins":[{"import_time":"2026-07-08T17:01:26.23242759Z","sha256":"aabfcc531d8f0174d9ba67b4ff82625500d953dfa0016b3e7bd95df973d5509f","versions":["36.1.1"],"source":"ossf-package-analysis","modified_time":"2026-07-08T16:30:56Z"},{"import_time":"2026-07-08T17:40:20.029892364Z","sha256":"03026bf6133183ffaba772b4b1f585bab0a42ab87823a0a2375a7f1cba08661e","id":"IN-MAL-2026-008173","versions":["20.0.1"],"source":"amazon-inspector","modified_time":"2026-07-08T17:31:16Z"},{"import_time":"2026-07-09T13:22:08.524023416Z","sha256":"b5debd01817fc3f9e23925a3a25e13ba31ad38f27a8c05752b0b8824ab1ccc21","id":"GHSA-85x8-7x9f-f978","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"modified_time":"2026-07-09T11:19:33Z","source":"ghsa-malware"},{"import_time":"2026-07-09T16:20:53.952155485Z","sha256":"27094d0ab615ea0175ab133f200fe790578db5f8dfb63397e1732f7f0033ba99","id":"IN-MAL-2026-009244","versions":["36.1.1"],"modified_time":"2026-07-09T15:49:13Z","source":"amazon-inspector"},{"import_time":"2026-07-09T16:20:54.025588421Z","sha256":"6655193cca791a16e6ffe45349efba6403a7c60c598dff4730598dcd74f5e64b","id":"IN-MAL-2026-009245","versions":["35.1.1"],"source":"amazon-inspector","modified_time":"2026-07-09T15:49:21Z"},{"import_time":"2026-07-09T16:20:41.079566218Z","sha256":"addd30fd6d90110d178ea017b2968c6014dab0e8304bdfeb55b13612a75f61da","id":"IN-MAL-2026-009104","versions":["29.1.1"],"source":"amazon-inspector","modified_time":"2026-07-09T15:28:55Z"}]},"references":[{"type":"PACKAGE","url":"https://www.npmjs.com/package/airkey-mfa-react/v/20.0.1"},{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-85x8-7x9f-f978"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/airkey-mfa-react/v/36.1.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/airkey-mfa-react/v/35.1.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/airkey-mfa-react/v/29.1.1"}],"affected":[{"package":{"name":"airkey-mfa-react","ecosystem":"npm","purl":"pkg:npm/airkey-mfa-react"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["36.1.1","20.0.1","35.1.1","29.1.1"],"database_specific":{"cwes":[{"name":"Embedded Malicious Code","cweId":"CWE-506","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."},{"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","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."}],"indicators":{"package_integrity":[{"hashes":{"sha1":"a6bd164a56a490e40ff30f779d0dfcacba617be8","sha512_sri":"sha512-No/49mPptnhlI2bn2Kl+I7nWVv0KgURwhpV4b9GWBhdz+3eDyqZm407yH0pMTU0bow40l5CBddwWZ6a5Ud1D0Q=="},"filename":"airkey-mfa-react-20.0.1.tgz"}],"evidence_files":[{"sha256":"97807c86a507cbabc4bbb48a63d172bf5119a7cbf9b6e17284daf3146ca1cb78","tlsh":"3b5141c515f65a251ba7b8494a4f9402b227e0033606de55bfcc8740af9537c9bf0bf6","path":"index.js"},{"sha256":"8a539c996ca4a843a3ce4e4cc86a5aabc9777eb28ecf49a54a9f334a11ad0fea","tlsh":"13d05e344d21652329c102a6082b948b72a18e2b14047c08a38b582c559e27798ff32d","path":"package.json"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/airkey-mfa-react/MAL-2026-6991.json"}}],"schema_version":"1.7.5","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"}]}