MAL-2026-7024
Dashboard / Malicious Package / MAL-2026-7024
MAL-2026-7024
Summary: Malicious code in none123s (npm)
Details: Source: amazon-inspector (c28e7ef260830adb9561488c487960b12e00bd6939daf8ed8e3a239ec9530699) package.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. Source: ghsa-malware (87b3283e298b85e9f69225b2364436289724e45eab50b2e8903a07b26cefbf51) 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. Source: ossf-package-analysis (48e2daf1cc54ff9575c264652d0dc5f8dfbc9a0f0dbf009dca193726dcfbea5a) The OpenSSF Package Analysis project identified 'none123s' @ 0.1.2 (npm) as malicious. It is considered malicious because: - The package executes one or more commands associated with malicious behavior.
References: https://github.com/advisories/GHSA-rqf4-7r8q-fxmq, https://www.npmjs.com/package/none123s/v/0.1.9, https://www.npmjs.com/package/none123s/v/1.1.4, https://www.npmjs.com/package/none123s/v/1.1.6, https://www.npmjs.com/package/none123s/v/1.1.2, https://www.npmjs.com/package/none123s/v/0.1.1, https://www.npmjs.com/package/none123s/v/0.1.0, https://www.npmjs.com/package/none123s/v/0.1.3, https://www.npmjs.com/package/none123s/v/0.1.7, https://www.npmjs.com/package/none123s/v/1.1.1, https://www.npmjs.com/package/none123s/v/0.1.4, https://www.npmjs.com/package/none123s/v/1.1.7, https://www.npmjs.com/package/none123s/v/0.1.6, https://www.npmjs.com/package/none123s/v/1.1.3, https://www.npmjs.com/package/none123s/v/0.1.5, https://www.npmjs.com/package/none123s/v/0.1.2, https://www.npmjs.com/package/none123s/v/0.1.8, https://www.npmjs.com/package/none123s/v/1.1.5
Affected packages
Package
Name: none123s
Purl: pkg:npm/none123s
Affected ranges
Type: SEMVER
Events:
