padLeft(32, '0') should be padLeft(64, '0'). SHA-256 produces 32 bytes = 64 hex characters.
Severity is considered low for internal uses of this library but if there's any consumer using these methods directly then this is considered high.
Upgrade to Jervis 2.2.
Use an alternate SHA-256 hash function or upgrade.
{
"cwe_ids": [
"CWE-327"
],
"github_reviewed": true,
"github_reviewed_at": "2026-01-13T14:52:31Z",
"nvd_published_at": "2026-01-13T20:16:07Z",
"severity": "HIGH"
}