Vulnerabilities/

ALTCHA Proof-of-Work Vulnerable to Challenge Splicing and Replay

Severity:
Medium

Description

A cryptographic semantic binding flaw in ALTCHA libraries allows challenge payload splicing, which may enable replay attacks. The HMAC signature does not unambiguously bind challenge parameters to the nonce, allowing an attacker to reinterpret a valid proof-of-work submission with a modified expiration value.

Recommendation

Update the altcha-lib package to the latest compatible version. Followings are version details:

References

Related Issues

Tags:
npm
altcha-lib
Anything's wrong? Let us know Last updated on December 20, 2025