← Home

jssha

jsSHA implements the complete Secure Hash Standard (SHA) family (SHA-1, SHA-224/256/384/512, SHA3-224/256/384/512, SHAKE128/256, cSHAKE128/256, and KMAC128/256) with HMAC

17
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

caligatio

Keywords

SHA-1SHA-224SHA3-224SHA-256SHA3-256SHA-384SHA3-384SHA-512SHA3-512SHAKE-128SHAKE-256SHAKE128SHAKE256cSHAKE128cSHAKE256KMAC128KMAC256SHA1SHA224SHA256SHA384SHA512SHA-2SHA2SHA-3SHA3SHAKEcSHAKEcSHAKE-128cSHAKE-256HMACKMACKMAC-128KMAC-256hashcryptography

Accepted risks

Findings the reviewer chose to accept rather than block on.

SourceRuleReasonAccepted byWhen
source-diff obfuscated-file:dist/sha1.mjs AI (source-diff): Minified ESM build artifact produced by rollup+terser; contains BSD copyright header and SHA hash logic. Standard dist output for this crypto library. ai
source-diff obfuscated-file:dist/sha256.mjs AI (source-diff): Minified ESM build artifact produced by rollup+terser; contains BSD copyright header and SHA hash logic. Standard dist output for this crypto library. ai
source-diff obfuscated-file:dist/sha3.mjs AI (source-diff): Minified ESM build artifact produced by rollup+terser; contains BSD copyright header and SHA hash logic. Standard dist output for this crypto library. ai
source-diff obfuscated-file:dist/sha512.mjs AI (source-diff): Minified ESM build artifact produced by rollup+terser; contains BSD copyright header and SHA hash logic. Standard dist output for this crypto library. ai
source-diff obfuscated-file:dist/sha512.js AI (source-diff): dist/sha512.js is a standard rollup+terser minified build artifact for the jsSHA library. Minified dist files are expected and intentional for this package. ai
source-diff obfuscated-file:dist/sha.js AI (source-diff): dist/sha.js is a standard rollup+terser minified build artifact for the jsSHA library. Minified dist files are expected and intentional for this package. ai
source-diff obfuscated-file:dist/sha.mjs AI (source-diff): dist/sha.mjs is a standard rollup+terser minified ESM build artifact for the jsSHA library. Minified dist files are expected and intentional for this package. ai
source-diff obfuscated-file:dist/sha1.js AI (source-diff): dist/sha1.js is a standard rollup+terser minified build artifact for the jsSHA library. Minified dist files are expected and intentional for this package. ai
source-diff obfuscated-file:dist/sha256.js AI (source-diff): dist/sha256.js is a standard rollup+terser minified build artifact for the jsSHA library. Minified dist files are expected and intentional for this package. ai
source-diff obfuscated-file:dist/sha3.js AI (source-diff): dist/sha3.js is a standard rollup+terser minified build artifact for the jsSHA library. Minified dist files are expected and intentional for this package. ai

Versions (showing 17 of 17)

Version Deps Published
3.3.1 0 / 28
3.3.0 0 / 28
3.2.0 0 / 28
3.1.2 0 / 28
3.1.1 0 / 28
3.1.0 0 / 28
3.0.0 0 / 28
2.4.2 0 / 2
2.4.1 0 / 2
2.4.0 0 / 2
2.3.1 0 / 2
2.3.0 0 / 2
2.2.0 0 / 2
2.1.0 0 / 0
2.0.2 0 / 0
2.0.1 0 / 0
2.0.0 0 / 0

v3.3.1

1 finding
LOW No provenance attestation provenance

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

v3.3.0

1 finding
LOW No provenance attestation provenance

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

v3.2.0

5 findings
HIGH New obfuscated file: dist/sha1.mjs source-diff

Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.

HIGH New obfuscated file: dist/sha256.mjs source-diff

Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.

HIGH New obfuscated file: dist/sha3.mjs source-diff

Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.

HIGH New obfuscated file: dist/sha512.mjs source-diff

Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.

LOW No provenance attestation provenance

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

v3.1.2

1 finding
LOW No provenance attestation provenance

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

v3.1.1

1 finding
LOW No provenance attestation provenance

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

v3.1.0

1 finding
LOW No provenance attestation provenance

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

v3.0.0

7 findings
HIGH New obfuscated file: dist/sha.js source-diff

Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.

HIGH New obfuscated file: dist/sha1.js source-diff

Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.

HIGH New obfuscated file: dist/sha256.js source-diff

Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.

HIGH New obfuscated file: dist/sha3.js source-diff

Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.

HIGH New obfuscated file: dist/sha512.js source-diff

Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.

HIGH New obfuscated file: dist/sha.mjs source-diff

Newly added source file contains lines over 3000 chars, suggesting minified or obfuscated code. New obfuscated files are a strong attack indicator.

LOW No provenance attestation provenance

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

v2.4.2

1 finding
LOW No provenance attestation provenance

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

v2.4.1

1 finding
LOW No provenance attestation provenance

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

v2.4.0

1 finding
LOW No provenance attestation provenance

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

v2.3.1

1 finding
LOW No provenance attestation provenance

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

v2.3.0

1 finding
LOW No provenance attestation provenance

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

v2.2.0

1 finding
LOW No provenance attestation provenance

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

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.2

1 finding
LOW No provenance attestation provenance

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

v2.0.1

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. Only ~12% of npm packages have provenance, so this is common but not ideal.