Summary
Togoder Security scanned the npm package @solana/errors@2.3.0 on Oct 4, 2026. An AI review of 7 source files produced no findings. No malicious behavior, install-time payloads, credential theft or exfiltration were identified.
Findings
No findings. The reviewer saw nothing malicious or risky in this version.
Files reviewed
| File | Verdict | What the reviewer saw |
|---|---|---|
| bin/cli.mjs | safe | This is a simple CLI entry point that imports and runs the main CLI module without any malicious patterns. |
| dist/cli.mjs | safe | No malicious patterns detected; the code is a legitimate CLI for decoding Solana error codes with no data exfiltration, code execution, or filesystem manipulation. |
| dist/index.browser.cjs | safe | No malicious patterns detected; the file contains only Solana error definitions and error-handling utilities. |
| dist/index.browser.mjs | safe | No malicious patterns detected; the file is a legitimate error-handling module from @solana/errors containing only constant definitions, message formatting, and error parsing logic. |
| dist/index.native.mjs | safe | The file is a legitimate Solana error-handling library with no malicious patterns, obfuscation, data exfiltration, or dynamic code execution. |
| dist/index.node.cjs | safe | No malicious patterns detected; the file contains only Solana error definitions and error-handling utilities without exfiltration, credential harvesting, obfuscation, or process execution. |
| dist/index.node.mjs | safe | The code is a legitimate Solana error-handling library with no malicious patterns such as data exfiltration, credential harvesting, obfuscation, or dynamic code execution. |
Affected version ranges
None of the 3 scanned versions of @solana/errors 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 |
|---|---|---|---|---|
| 2.3.0 – 5.0.0 | No issues | 3 | >=2.3.0 <=5.0.0 | |
| 2.0.0-rc.1 – 2.1.1 | Not scanned | 3 | >=2.0.0-rc.1 <=2.1.1 |
Full list, including published versions not scanned yet: version ranges API.
Scanned versions of @solana/errors
Frequently asked questions
Is @solana/errors safe to use?
Our AI source review of @solana/errors@2.3.0 found no malicious code: no install-time payloads, credential theft, exfiltration, obfuscated loaders or backdoors.
Does @solana/errors contain malware?
No malware was identified in @solana/errors@2.3.0 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/errors checked?
Togoder Security downloaded the published npm package and had an AI model read its 7 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/errors 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/errors@2.3.0, cost nothing.