{"answers":{"affected":"1 open source package ship an affected version, including swap-sdk-87.","exploited":"There is no known exploitation of MAL-2026-5359 in the wild and no public exploit code.","fix":"Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.","what":"MAL-2026-5359 is a malicious package in swap-sdk-87, published on 9 Jun 2026."},"fix_prompt":"MAL-2026-5359 is a malicious package: swap-sdk-87 (npm). Every version was published to cause harm.\n\nTask:\n1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.\n2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.\n3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.\n4. If the package is not used anywhere, say so and change nothing.\n\nReference: https://insights.sbomify.com/MAL-2026-5359/ (Markdown: https://insights.sbomify.com/MAL-2026-5359/index.md)","id":"MAL-2026-5359","markdown":"https://insights.sbomify.com/MAL-2026-5359/index.md","name":"MAL-2026-5359","record":{"aliases":[],"analysis":null,"analysis_generated_by":null,"assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"Crypto/SSH/wallet stealer, blockchain-helper-0 campaign sibling (c960+). postinstall auto-execs, src/index.js harvests ~/.ssh keys + Sol/Eth/BTC/Tron/Sui/Aptos wallets + .env + seeds, self-labels \"CRYPTO STEALER\", exfils to SAME Telegram bot 8227918239 chat 6433587894 (not rotated). Inflated version.\n\nOn `npm install`, the package's postinstall hook loads src/index.js, which after a 4-second delay and a sandbox/CI-evasion gate enumerates installer-side secrets and uploads them to an attacker-controlled Telegram bot. Targeted paths include `~/.ssh/id_rsa`, `~/.ssh/id_ed25519`, Solana keypair (`~/.config/solana/id.json`), Ethereum/Bitcoin/Tron/Sui/Aptos wallet files, `.env` files, and mnemonic/seed/keystore/secrets files. Stolen contents are POSTed to `api.telegram.org/bot\u003credacted\u003e/sendDocument` with chat_id `6433587894`. The bot token `8227918239:AAGEMDrBZluDsBBYPxfSyMuv2l3FY8cZCcs` is hardcoded at src/index.js line 6. The code self-identifies with the literal HTML header `CRYPTO STEALER` (src/index.js line 107). An evasion routine `isTestEnvironment()` (src/index.js lines 10–22) suppresses payload execution when CI=true, GITHUB_ACTIONS=true, JENKINS_HOME is set, NODE_ENV is test/development, the hostname matches sandbox/test/ci or a 12-hex docker pattern, or the username contains runner/sandbox/docker — designed to fire only on real developer machines. The package advertises itself as 'Core utilities for blockchain development' with web3/solana/ethereum keywords and a placeholder author 'John Miller', a lure aimed precisely at the crypto-developer population whose machines hold the targeted secrets. The package ships no actual SDK functionality.","ecosystems":["npm"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":false,"headline":"Malicious code in swap-sdk-87 (npm)","id":"MAL-2026-5359","indexable":true,"kev":null,"kind":"malicious","links":{"ecosystem":"npm","product":null,"products":[],"type":null,"year":"2026"},"n_packages":1,"n_references":null,"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":[],"package":"swap-sdk-87","purl":"pkg:npm/swap-sdk-87","source":"MAL-2026-5359"}],"products":null,"published":"2026-06-09","related":[],"sources":[{"class":"attribution","licence":"Apache-2.0","name":"OpenSSF Malicious Packages","prefix":"MAL"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":null,"url":"https://insights.sbomify.com/MAL-2026-5359/"}