mcl-wasm
mcl ; A portable and fast pairing-based cryptography library for Node.js by WebAssembly
3
Versions
BSD-3-Clause
License
No
Install Scripts
Verified
Provenance
Supply chain provenance
Status for the latest visible version.
SLSA provenance attestation
npm registry signatures
gitHead linked
Maintainers
herumi
Keywords
elliptic curveWebAssemblypairing
Accepted risks
Findings the reviewer chose to accept rather than block on.
| Source | Rule | Reason | Accepted by | When |
|---|---|---|---|---|
| source-diff | encoded-string-file:dist/mcl_c.js | AI (source-diff): Base64-encoded wasm binary embedded in JS; standard pattern for this package. | ai | |
| source-diff | encoded-string-file:browser/mcl.js | AI (source-diff): Same wasm binary embedding pattern in browser bundle; stable for this package. | ai | |
| publish-pattern | dormant-publish | AI (publish-pattern): SLSA provenance attestation confirms legitimate CI/CD publish despite dormancy gap. | ai | |
| semgrep | semgrep:base64-decode | AI (semgrep): Fires on webpack-bundled WASM browser output; standard pattern for mcl-wasm across all versions. | ai | |
| phantom-deps | phantom-dep:@types/node | AI (phantom-deps): @types/node is a type-only dep listed in dependencies by convention; not a real phantom dep concern. | ai |
v2.0.4
3 findings
HIGH
Long encoded string in modified file: dist/mcl_c.js
source-diff
Modified file contains 1 long encoded string(s) (200+ chars). These are commonly used to hide malicious payloads.
HIGH
Long encoded string in modified file: browser/mcl.js
source-diff
Modified file contains 1 long encoded string(s) (200+ chars). These are commonly used to hide malicious payloads.
INFO
Has SLSA provenance attestation
provenance
Published via CI/CD with Sigstore attestation (predicate: https://slsa.dev/provenance/v1). This is the strongest supply chain integrity signal.
v2.0.0
1 finding
LOW
No provenance attestation
provenance
Package was published without Sigstore provenance. Only ~12% of npm packages have provenance, so this is common but not ideal.