solana-rpc-client
Affected
- Versions:
1.0.0
Fixed versions
None listed
Fix
No fixed version is listed.
Advisory
Also known as: GHSA-p7xx-6w55-gfrg
Malicious package Its source marks this package as malicious: it is not a vulnerability in a legitimate one.
Malicious code in solana-rpc-client (npm)
---
_-= Per source details. Do not edit below this line.=-_
Source: amazon-inspector (e57e3e79e60f9b8ec7f7c9b5199ecab2efaf72566eaed0f358a3b80adad5558d)
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).
Not rated by the source.
1.0.0None listed
No fixed version is listed.
Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: OpenSSF Malicious Packages · Apache-2.0