Skip to content

Reject malformed CoinPay webhook signatures#41

Merged
ralyodio merged 2 commits into
profullstack:masterfrom
Autowebassat-blip:fix-coinpay-webhook-hex-signature
Jun 14, 2026
Merged

Reject malformed CoinPay webhook signatures#41
ralyodio merged 2 commits into
profullstack:masterfrom
Autowebassat-blip:fix-coinpay-webhook-hex-signature

Conversation

@Autowebassat-blip

Copy link
Copy Markdown
Contributor

Fixes a CoinPay webhook validation edge case where malformed hex signatures with an extra nibble could be decoded to the same bytes by Buffer.from.

Adds a contract test that rejects a signed webhook when the signature has an extra hex character.

@ralyodio ralyodio merged commit e89c10c into profullstack:master Jun 14, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants