Togoder security

npm package security report

@solana/assertions@3.0.3 security report

No malicious code found.

No issues Version 3.0.3 Files reviewed 5 Size 15.2 KB Scanned

Summary

Togoder Security scanned the npm package @solana/assertions@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.

0
critical
0
high
0
medium
2
low

Findings 2

low

Environment capability detection

NPS-5E00BF171C14

The code performs runtime capability checks on the WebCrypto API (crypto.getRandomValues, crypto.subtle.digest/generateKey/exportKey/sign/verify) and secure context status. This is standard defensive feature detection for a crypto library, not credential harvesting or environment enumeration.

dist/index.browser.cjs
low

Cached async state

NPS-6DE64ACD25F6

isEd25519CurveSupported caches a Promise and later reassigns it to a boolean. The mixed Promise/boolean type is slightly unusual but functionally sound and not a security concern.

dist/index.browser.cjs:17

Files reviewed

FileVerdictWhat the reviewer saw
dist/index.browser.cjs safe The module only performs benign WebCrypto capability assertions and exports helper guards, with no exfiltration, dynamic execution, process spawning, or file system access.
dist/index.browser.mjs safe No malicious patterns detected; the code only performs legitimate WebCrypto capability checks for a Solana SDK.
dist/index.native.mjs safe No malicious patterns detected; the code only provides capability assertions for the Web Crypto API without any exfiltration, obfuscation, or dynamic execution.
dist/index.node.cjs safe No malicious patterns detected; the file contains only legitimate capability checks for the Web Crypto API used by @solana/errors.
dist/index.node.mjs safe No malicious patterns detected; the code only performs capability checks for Web Crypto APIs used in Solana cryptography.

Affected version ranges

None of the 2 scanned versions of @solana/assertions 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.

2.0.0-rc.45.0.0
VersionsVerdictCountRangeTop findings
3.0.3 – 5.0.0 No issues 2 >=3.0.3 <=5.0.0
2.0.0-rc.4 – 2.1.1 Not scanned 2 >=2.0.0-rc.4 <=2.1.1

Full list, including published versions not scanned yet: version ranges API.

Scanned versions of @solana/assertions

VersionVerdictFilesScanned
5.0.0 No issues 5 Oct 4, 2026
3.0.3 No issues 5 Oct 4, 2026

Frequently asked questions

Is @solana/assertions safe to use?

Our AI source review of @solana/assertions@3.0.3 found no malicious code: no install-time payloads, credential theft, exfiltration, obfuscated loaders or backdoors.

Does @solana/assertions contain malware?

No malware was identified in @solana/assertions@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/assertions 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/assertions 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/assertions@3.0.3, cost nothing.

Related security reports