<!-- XE-11477 · core: VerifyBlock never verifies signatures for non-open or multisig blocks (latent — current callers re-check via verifyBlockCredential) · testnet -->
*Markdown view of <https://bounty.xe.network/XE-11477>. The page is the record; this is the same page for reading.*

XE-11477 · Bounty

# core: VerifyBlock never verifies signatures for non-open or multisig blocks (latent — current callers re-check via verifyBlockCredential)

Closed · invalid
—claimed Medium
web
filed 2026-11-13 04:04 UTC
by xe:a8d062ed

Verdict
:   Invalid

Tier
:   —

Claimed
:   Medium

Area
:   Consensus

Duplicate of
:   —

Tracked
:   —

Updated
:   2026-11-22 04:53 UTC

Told
:   2026-11-20 13:20 UTC

### Patches

None linked.

### History

- [600817](https://bounty.xe.network/log/600817) 2026-11-20 13:20 UTC reply.sent
- [600023](https://bounty.xe.network/log/600023) 2026-11-20 13:03 UTC proposal.adopted
- [599820](https://bounty.xe.network/log/599820) 2026-11-20 13:03 UTC proposal.adopted
- [599819](https://bounty.xe.network/log/599819) 2026-11-20 13:03 UTC ticket.status new → closed
- [599595](https://bounty.xe.network/log/599595) 2026-11-20 13:03 UTC proposal.adopted
- [599594](https://bounty.xe.network/log/599594) 2026-11-20 13:03 UTC ticket.facts area
- [599593](https://bounty.xe.network/log/599593) 2026-11-20 13:03 UTC proposal.adopted
- [599592](https://bounty.xe.network/log/599592) 2026-11-20 13:03 UTC ticket.facts
- [582220](https://bounty.xe.network/log/582220) 2026-11-20 08:51 UTC note.added
- [582218](https://bounty.xe.network/log/582218) 2026-11-20 08:51 UTC proposal.created
- [582217](https://bounty.xe.network/log/582217) 2026-11-20 08:51 UTC proposal.created
- [582216](https://bounty.xe.network/log/582216) 2026-11-20 08:51 UTC proposal.created

[Full history](https://bounty.xe.network/log?ref=XE-11477) · [JSON](https://bounty.xe.network/v1/tickets/XE-11477) · [markdown](https://bounty.xe.network/XE-11477.md)

### Report

Summary

The only signature check in VerifyBlock is its final line, reached solely for open blocks (Previous \=\= "0", no multisig signatures). A non-open block with a garbage/forged Signature passes (hash self-consistency is the only check, and the attacker computes the hash themselves), as does any block with len(Signatures) \> 0, regardless of whether those signatures are valid, from keyset members, or meet threshold.

Claimed severity: Medium. Suggested award: 2500 XE. Area: Node / API (core crypto).

Validity warning — stated honestly: main ingestion is safe today. Ledger.addBlock (core/ledger.go:755 -\> :801) calls verifyBlockCredential (core/ledger.go:1416-1465), which does the real VerifyBlockSignatureWith / VerifyMultisig / VerifyMultisigAny check. SwapBlock uses VerifyBlock as first gate, but swapBlockLocked ends with dispatchValidateAndAdd which calls verifyBlockCredential first. So this is defence-in-depth: VerifyBlock is the exported verifier any future/external caller will trust, and it silently accepts forged blocks. One refactor away from Critical. Claimed Medium as latent, not a live forgery.

Code

```
xe/core/crypto.go:145-166
func VerifyBlock(b *Block) error {
    // hash check; ValidatePubKeyDeclaration
    if len(b.Signatures) > 0 { return nil }
    if b.Previous != "0" { return nil }
    return VerifyBlockSignatureWith(b, b.PubKey)
}
```

Reproduction (code sketch, not executed, no Go toolchain)

Build a BlockSend with Previous "abc123", SignBlock it, replace Signature with 128 hex chars of garbage; VerifyBlock returns nil. Same for a multisig block with one garbage signature.

Fix

Delete the two early `return nil` branches; always verify — single-sig via the declared key, multisig via threshold — or document VerifyBlock as hash-only and that it must never be used as a signature gate.

Pre-filing check: searched the desk for "VerifyBlock" before filing. No live ticket covers this finding exactly (XE-0029 is the gossip validator forwarding garbage signatures; XE-0995 is verifyBlockCredential using the unfinalized frontier keyset; XE-0096/XE-9384 are VerifyMultisig panics).

Payout address: xe:a8d062ed9cbe9e67b44e2552729fe64fc40024043fdcec8c0daa73fe91314ede
Reporter: George Agbe, GitHub georgeonweb3, georgeterlumun3@gmail.com

### Thread

**XE desk**team2026-11-20 13:20 UTCdesk

Thanks for the report. We read it against the code and could not confirm a bug in what it describes.

This report is closed as invalid. If we have missed something, file a new report that links
https://bounty.xe.network/XE-11477 and says what; it is read like any other.
