← Home

scmp

safe, constant-time comparison of Buffers

8
Versions
BSD-3-Clause
License
No
Install Scripts
Missing
Provenance

Supply chain provenance

Status for the latest visible version.

No SLSA provenance npm registry signatures gitHead linked

Without SLSA provenance there is no cryptographic link between this tarball and the public source — the axios compromise (March 2026) relied on exactly this gap.

Maintainers

freewil

Keywords

safe-comparecomparetime-equivalent-comparisontime equivalentconstant-timeconstant time

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
semgrep semgrep:hex-decode AI (semgrep): Hex decoding in benchmark/benchmark.js is hardcoded test data for constant-time Buffer comparison benchmarks — not a payload hiding pattern. Stable false positive for this package. ai

Versions (showing 8 of 8)

Version Deps Published
2.1.0 0 / 4
2.0.0 0 / 3
1.0.2 0 / 2
1.0.1 0 / 2
1.0.0 0 / 2
0.0.3 0 / 2
0.0.2 0 / 1
0.0.1 0 / 1

v2.1.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v2.0.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.0.2

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.0.1

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.

v1.0.0

1 finding
LOW No provenance attestation provenance

Package was published without Sigstore provenance. Consider requesting the maintainer enable provenance via CI/CD.