MAL-2026-10898 Malicious code in solana-rpc-client (npm)
Malicious package
Published
MAL-2026-10898 is a malicious package: solana-rpc-client (npm). Every version was published to cause harm.
Task:
1. Search this repository's dependency manifests and lockfiles for the package, including transitive dependencies.
2. If it is present, remove it, regenerate the lockfile with the project's package manager, and replace whatever it was used for.
3. List any CI runners, developer machines or containers that installed it, so their secrets can be rotated.
4. If the package is not used anywhere, say so and change nothing.
Reference: https://insights.sbomify.com/MAL-2026-10898/ (Markdown: https://insights.sbomify.com/MAL-2026-10898/index.md)
- Package
- solana-rpc-client
- Registry
- npm
What is MAL-2026-10898?
MAL-2026-10898 is a malicious package in solana-rpc-client, published on 20 Jul 2026.
Official description
The package's bundled entry points (lib/index.cjs.js and lib/index.esm.js) co-locate require('child_process'), fetch/POST/GET calls, and references to curl/ping within minified output. The package name suggests a Solana RPC client, which would legitimately make HTTP/RPC calls; keyword co-occurrence in a minified bundle is consistent with both that legitimate shape and an exfiltration shape, and the available evidence does not show the destination URLs, whether any code path runs at install/import time, or whether process.env or credential paths feed any of the network calls. No package.json lifecycle hook content has been confirmed. Routing to human review so a reviewer can de-minify the relevant spans (around lines 5016/5046, 11212/11317) and confirm whether the network destinations are documented Solana RPC endpoints (allow) or attacker-controlled hosts (escalate to block).
What should I do about MAL-2026-10898?
Remove the package from your dependencies and lockfiles, then rotate any secrets on machines where it was installed.
Sources
Also known as GHSA-p7xx-6w55-gfrg.