{"id":"MAL-2026-7024","summary":"Malicious code in none123s (npm)","details":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (c28e7ef260830adb9561488c487960b12e00bd6939daf8ed8e3a239ec9530699)\npackage.json declares a `prepare` lifecycle script (`node index.js || true`) that auto-executes on `npm install`. index.js reads canonical installer-secret paths — ~/.ssh/id_rsa, ~/.ssh/id_ed25519, ~/.aws/credentials, ~/.config/gcloud/application_default_credentials.json, ~/.npmrc, ~/.pypirc, ~/.docker/config.json, ~/.gitconfig, and.env files walking up parent directories — plus a curated set of cloud/CI environment variables, and POSTs the contents to a hardcoded attacker-controlled ngrok tunnel at https://crabbing-thong-overhung.ngrok-free.dev/exfil. A separate `sendInitialPing` beacon posts host identifiers (hostname, platform, user, homedir, cwd, node version, npm lifecycle env, git user.email) to the same host at /ping to identify the victim. The `|| true` suffix silences errors so the install appears successful. This is a direct credential-theft supply-chain attack against any developer or CI system that installs the package.\n\n## Source: ghsa-malware (87b3283e298b85e9f69225b2364436289724e45eab50b2e8903a07b26cefbf51)\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 (48e2daf1cc54ff9575c264652d0dc5f8dfbc9a0f0dbf009dca193726dcfbea5a)\nThe OpenSSF Package Analysis project identified 'none123s' @ 0.1.2 (npm) as malicious.\n\nIt is considered malicious because:\n\n- The package executes one or more commands associated with malicious behavior.\n","aliases":["GHSA-rqf4-7r8q-fxmq"],"modified":"2026-07-15T06:04:20.936692214Z","published":"2026-07-08T18:51:01Z","database_specific":{"malicious-packages-origins":[{"versions":["0.1.7"],"source":"ossf-package-analysis","sha256":"3a801f5544cdc371f8881fecdec89a94ddc07a32db29996aac125c9614300ce6","import_time":"2026-07-08T21:54:07.980995978Z","modified_time":"2026-07-08T21:41:49Z"},{"source":"ossf-package-analysis","sha256":"709d89b1f200df79f824ecd4bd5a4807228a1d970c2db50d4b99f8dbcb90d1cb","import_time":"2026-07-09T15:05:18.00202812Z","modified_time":"2026-07-09T14:11:05Z","versions":["1.1.6"]},{"modified_time":"2026-07-09T13:55:50Z","versions":["1.1.7"],"source":"ossf-package-analysis","sha256":"366135ccf3523ed48e6a50695da5da49cf63177e1b522f89052e73cf64d1080f","import_time":"2026-07-09T15:05:17.862958917Z"},{"modified_time":"2026-07-09T14:45:11Z","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"source":"ghsa-malware","sha256":"87b3283e298b85e9f69225b2364436289724e45eab50b2e8903a07b26cefbf51","import_time":"2026-07-09T15:22:53.785741673Z","id":"GHSA-rqf4-7r8q-fxmq"},{"versions":["0.1.9"],"source":"amazon-inspector","sha256":"07ef6f0f6115dbacccd5071e0f40e55f83d2cd001ae70e7a1e3980a1df5e7be4","import_time":"2026-07-09T16:20:40.211326504Z","id":"IN-MAL-2026-009096","modified_time":"2026-07-09T15:27:39Z"},{"sha256":"0e3ac81f909ab5948e62562fbdcc7ea6ce5d994ce9d5ee6d7b69a31788707533","import_time":"2026-07-09T16:20:39.407861408Z","id":"IN-MAL-2026-009087","modified_time":"2026-07-09T15:26:14Z","versions":["1.1.4"],"source":"amazon-inspector"},{"sha256":"1c40b1d15810e387ae19042091e76da34e025f36b292e26dca52936c27e9a443","import_time":"2026-07-09T16:20:40.152358262Z","id":"IN-MAL-2026-009095","modified_time":"2026-07-09T15:27:26Z","versions":["1.1.6"],"source":"amazon-inspector"},{"source":"amazon-inspector","sha256":"20ad9ca14cc2950845b94b4dc7f0478da6fe0de91e2992bab0b5d12fac3d9d16","import_time":"2026-07-09T16:20:39.300545941Z","id":"IN-MAL-2026-009085","modified_time":"2026-07-09T15:25:56Z","versions":["1.1.2"]},{"sha256":"764b80e8cbb9c0ad3b0c72d594c75ea261564f76a532ac816fa060ae91f2b702","import_time":"2026-07-09T16:20:39.355085952Z","id":"IN-MAL-2026-009086","modified_time":"2026-07-09T15:26:03Z","versions":["0.1.1"],"source":"amazon-inspector"},{"import_time":"2026-07-09T16:20:40.317668107Z","id":"IN-MAL-2026-009098","modified_time":"2026-07-09T15:27:59Z","versions":["0.1.0"],"source":"amazon-inspector","sha256":"ca4c81c823cfd4f6324c9745ccf93a7c5e6cc92ba48eb99f2c8311f9fa451d7b"},{"id":"IN-MAL-2026-009097","modified_time":"2026-07-09T15:27:48Z","versions":["0.1.3"],"source":"amazon-inspector","sha256":"f5f23dbcc6f01506c421f39fa2dea8cccac1e33517eb57500cbc7537c6c2fbd3","import_time":"2026-07-09T16:20:40.264869724Z"},{"source":"amazon-inspector","sha256":"3836e002bf6e317eebc31357cdd4a7affe32a7af4a4ecbbcea2feee0d2eae40a","import_time":"2026-07-09T16:20:39.778728673Z","id":"IN-MAL-2026-009091","modified_time":"2026-07-09T15:26:48Z","versions":["0.1.7"]},{"versions":["1.1.1"],"source":"amazon-inspector","sha256":"f02bca85a456180c1319dfc67aa5349201a87ea324ca396ba576a4cac0dff5a5","import_time":"2026-07-09T16:20:39.635079336Z","id":"IN-MAL-2026-009089","modified_time":"2026-07-09T15:26:30Z"},{"modified_time":"2026-07-09T15:27:19Z","versions":["0.1.4"],"source":"amazon-inspector","sha256":"a746d1a7e05f35b3e93b5ac0aadac187d9d45b9376cd8049ccb387a80c7618a9","import_time":"2026-07-09T16:20:40.045270869Z","id":"IN-MAL-2026-009094"},{"id":"IN-MAL-2026-009084","modified_time":"2026-07-09T15:25:48Z","versions":["1.1.7"],"source":"amazon-inspector","sha256":"c28e7ef260830adb9561488c487960b12e00bd6939daf8ed8e3a239ec9530699","import_time":"2026-07-09T16:20:39.212196329Z"},{"id":"IN-MAL-2026-009093","modified_time":"2026-07-09T15:27:08Z","versions":["0.1.6"],"source":"amazon-inspector","sha256":"2365ba7767f4aced6d66c13c30642d537c5d39781bd47d680689e4751b586fb0","import_time":"2026-07-09T16:20:39.957073125Z"},{"sha256":"8601342edc923bf91e5b4f106cd2e65be871ec51fb7e28158df2f30547cba8de","import_time":"2026-07-09T16:20:39.504425703Z","id":"IN-MAL-2026-009088","modified_time":"2026-07-09T15:26:23Z","versions":["1.1.3"],"source":"amazon-inspector"},{"import_time":"2026-07-09T16:20:39.735418099Z","id":"IN-MAL-2026-009090","modified_time":"2026-07-09T15:26:40Z","versions":["0.1.5"],"source":"amazon-inspector","sha256":"ad4d5f237b27f9bf8c9d8a1615287def89fd660dbe8b4e45657ad3660969e96b"},{"modified_time":"2026-07-09T15:26:55Z","versions":["0.1.2"],"source":"amazon-inspector","sha256":"e02b7b67b0238a8563e73c3f48f3826f8984afe29c968cf6f7b9e80f252c7c8d","import_time":"2026-07-09T16:20:39.839123195Z","id":"IN-MAL-2026-009092"},{"source":"amazon-inspector","sha256":"ff0cd370e37fced463342c5d06bb646c8abdc7d45778b4069072e44b13acd0a7","import_time":"2026-07-09T22:02:28.767982476Z","id":"IN-MAL-2026-009412","modified_time":"2026-07-09T21:52:07Z","versions":["0.1.8"]},{"versions":["1.1.5"],"source":"amazon-inspector","sha256":"fd998f0ad9e1171a74c2e8018a0cdae0c9263f248178934d2a8e663249261bc6","import_time":"2026-07-09T22:02:28.199126354Z","id":"IN-MAL-2026-009408","modified_time":"2026-07-09T21:51:34Z"},{"import_time":"2026-07-15T05:49:40.140951665Z","modified_time":"2026-07-08T18:51:01Z","versions":["0.1.2"],"source":"ossf-package-analysis","sha256":"48e2daf1cc54ff9575c264652d0dc5f8dfbc9a0f0dbf009dca193726dcfbea5a"},{"sha256":"f8883714f0d41be6ac12bd941642ebdf2af753f530b7e07de1f2d1b07d87d892","import_time":"2026-07-15T05:49:40.060974783Z","modified_time":"2026-07-08T19:06:00Z","versions":["0.1.3"],"source":"ossf-package-analysis"}]},"references":[{"type":"ADVISORY","url":"https://github.com/advisories/GHSA-rqf4-7r8q-fxmq"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/none123s/v/0.1.9"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/none123s/v/1.1.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/none123s/v/1.1.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/none123s/v/1.1.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/none123s/v/0.1.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/none123s/v/0.1.0"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/none123s/v/0.1.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/none123s/v/0.1.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/none123s/v/1.1.1"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/none123s/v/0.1.4"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/none123s/v/1.1.7"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/none123s/v/0.1.6"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/none123s/v/1.1.3"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/none123s/v/0.1.5"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/none123s/v/0.1.2"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/none123s/v/0.1.8"},{"type":"PACKAGE","url":"https://www.npmjs.com/package/none123s/v/1.1.5"}],"affected":[{"package":{"name":"none123s","ecosystem":"npm","purl":"pkg:npm/none123s"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}],"versions":["0.1.7","1.1.6","1.1.7","0.1.9","1.1.4","1.1.2","0.1.1","0.1.0","0.1.3","1.1.1","0.1.4","0.1.6","1.1.3","0.1.5","0.1.2","0.1.8","1.1.5"],"database_specific":{"cwes":[{"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"},{"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."},{"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"},{"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"},{"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."},{"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"},{"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."},{"name":"Embedded Malicious Code","cweId":"CWE-506","description":"The product contains code that appears to be malicious in nature."}],"indicators":{"evidence_files":[{"sha256":"42d95e3761e21243c2f849141466e0b25c2627ee30f474f8602021a71a345d69","tlsh":"d7d097610c07d50732cc07417a72aa0e62720d2f5200b009bb02240208892e34cfa318","path":"package.json"}]},"source":"https://github.com/ossf/malicious-packages/blob/main/osv/malicious/npm/none123s/MAL-2026-7024.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"}]}