Summary
Togoder Security scanned the npm package @metamask/superstruct@3.4.1 on Oct 4, 2026. An AI review of 18 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 |
|---|---|---|
| dist/error.cjs | safe | No malicious patterns detected in the provided error handling code. |
| dist/error.mjs | safe | Cleared by Jev triage; no further analysis needed |
| dist/index.cjs | safe | No malicious patterns detected; the code is a standard TypeScript/CommonJS re-export barrel with only local module imports. |
| dist/index.mjs | safe | The file only re-exports modules from local relative paths with no executable or suspicious code. |
| dist/struct.cjs | safe | No malicious patterns detected; the code is a standard validation library with no data exfiltration, credential harvesting, dynamic code execution, or other suspicious behavior. |
| dist/struct.mjs | safe | Cleared by Jev triage; no further analysis needed |
| dist/structs/coercions.cjs | safe | Cleared by Jev triage; no further analysis needed |
| dist/structs/coercions.mjs | safe | Cleared by Jev triage; no further analysis needed |
| dist/structs/refinements.cjs | safe | No malicious patterns detected; the code implements struct validation refinements without any network, filesystem, process execution, or obfuscation concerns. |
| dist/structs/refinements.mjs | safe | Cleared by Jev triage; no further analysis needed |
| dist/structs/sensitive.cjs | safe | Cleared by Jev triage; no further analysis needed |
| dist/structs/sensitive.mjs | safe | Cleared by Jev triage; no further analysis needed |
| dist/structs/types.cjs | safe | No malicious patterns detected; this is a legitimate type validation library (Superstruct) with no network, filesystem, process execution, or obfuscated code. |
| dist/structs/types.mjs | safe | Cleared by Jev triage; no further analysis needed |
| dist/structs/utilities.cjs | safe | No malicious patterns detected; the code contains only legitimate struct utility functions with no network, filesystem, process, or obfuscated behavior. |
| dist/structs/utilities.mjs | safe | Cleared by Jev triage; no further analysis needed |
| dist/utils.cjs | safe | No malicious patterns detected; the code is a straightforward validation utility library with no network, filesystem, process, or dynamic execution behavior. |
| dist/utils.mjs | safe | No malicious patterns detected; the code implements pure validation utility functions with no network, filesystem, process, or dynamic execution behavior. |
Affected version ranges
None of the 2 scanned versions of @metamask/superstruct are flagged high or critical. The latest scanned version, 3.4.1, is clean. Only versions we have scanned are listed; unscanned versions between them are not covered.
Full list, including published versions not scanned yet: version ranges API.
Scanned versions of @metamask/superstruct
Frequently asked questions
Is @metamask/superstruct safe to use?
Our AI source review of @metamask/superstruct@3.4.1 found no malicious code: no install-time payloads, credential theft, exfiltration, obfuscated loaders or backdoors.
Does @metamask/superstruct contain malware?
No malware was identified in @metamask/superstruct@3.4.1 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 @metamask/superstruct checked?
Togoder Security downloaded the published npm package and had an AI model read its 18 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 @metamask/superstruct 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 @metamask/superstruct@3.4.1, cost nothing.