← Home

sshpk

A library for finding and using SSH public keys

2
Versions
MIT
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

bahamattodd.whitemankusormichael.hicksdapjclulowarekinathmelloc

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
semgrep semgrep:hex-decode AI (semgrep): Hex decoding in sshpk is used exclusively for embedding well-known NIST elliptic curve parameters as constants in lib/algs.js. This is standard cryptographic library practice, not obfuscation. ai
semgrep semgrep:base64-decode AI (semgrep): Base64 decoding in sshpk is used for handling SSH signatures and keys, which is core functionality of this cryptographic library. No malicious payload risk. ai
phantom-deps phantom-dep:getpass AI (phantom-deps): getpass is used by CLI binaries in ./bin, not the library code. Phantom-dep detection doesn't account for bin-only usage. ai
phantom-deps phantom-dep:dashdash AI (phantom-deps): dashdash is used by CLI binaries in ./bin for argument parsing. Phantom-dep detection doesn't account for bin-only usage. ai

Versions (showing 2 of 2)

Version Deps Published
1.18.0 9 / 4
1.16.1 9 / 4

v1.16.1

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.