Summary
Togoder Security scanned the npm package @solana/rpc-transport-http@3.0.3 on Oct 4, 2026. An AI review of 5 source files produced 2 low severity findings. No malicious behavior, install-time payloads, credential theft or exfiltration were identified.
Findings 2
Header validation logic
NPS-6476DB69962B
The code implements strict validation of HTTP request headers using DISALLOWED_HEADERS and FORBIDDEN_HEADERS. It blocks sensitive headers like cookie, host, authorization, and sec-* prefixes. This is a security hardening measure, not a vulnerability.
Non-production warning
NPS-5110E4A9F67D
In non-production environments, a console.warn is triggered if a 'dispatcher_NODE_ONLY' config is supplied. This is a benign developer warning with no security implications.
Files reviewed
| File | Verdict | What the reviewer saw |
|---|---|---|
| dist/index.browser.cjs | safe | No malicious patterns detected; the code is a standard HTTP transport implementation for Solana RPC with header filtering and no data exfiltration, obfuscation, or dynamic code execution. |
| dist/index.browser.mjs | safe | No malicious patterns detected; the code is a legitimate Solana JSON-RPC HTTP transport implementation with no data exfiltration, credential harvesting, obfuscation, or suspicious behavior. |
| dist/index.native.mjs | safe | This is a legitimate Solana RPC HTTP transport implementation with proper header validation and no malicious patterns detected. |
| dist/index.node.cjs | safe | No malicious patterns detected; the code is a legitimate Solana RPC HTTP transport client with proper header validation and no suspicious behavior. |
| dist/index.node.mjs | safe | No malicious patterns detected; this is a standard Solana RPC HTTP transport implementation with proper header validation and no suspicious behavior. |
Affected version ranges
None of the 2 scanned versions of @solana/rpc-transport-http are flagged high or critical. The latest scanned version, 5.0.0, is clean. Only versions we have scanned are listed; unscanned versions between them are not covered.
| Versions | Verdict | Count | Range | Top findings |
|---|---|---|---|---|
| 3.0.3 โ 5.0.0 | No issues | 2 | >=3.0.3 <=5.0.0 | |
| 2.1.1 | Not scanned | 1 | 2.1.1 |
Full list, including published versions not scanned yet: version ranges API.
Scanned versions of @solana/rpc-transport-http
Frequently asked questions
Is @solana/rpc-transport-http safe to use?
Our AI source review of @solana/rpc-transport-http@3.0.3 found no malicious code: no install-time payloads, credential theft, exfiltration, obfuscated loaders or backdoors.
Does @solana/rpc-transport-http contain malware?
No malware was identified in @solana/rpc-transport-http@3.0.3 when Togoder Security scanned it on Oct 4, 2026. A new version can still introduce malicious code, so scan the exact versions in your lockfile.
How was @solana/rpc-transport-http checked?
Togoder Security downloaded the published npm package and had an AI model read its 5 source files, looking for install scripts, credential access, network exfiltration, obfuscation, backdoors and crypto-wallet theft. The results are cached by file hash and shown here.
How do I scan @solana/rpc-transport-http together with the rest of my dependencies?
Upload your lockfile at https://security.togoder.click/scan or call the API documented at https://security.togoder.click/api-docs. Files that have already been scanned, like the ones in @solana/rpc-transport-http@3.0.3, cost nothing.