<!-- XE-16984 · [Low] Marketplace validator accepts resource requests with invalid lease dimensions that every provider drops · testnet -->
*Markdown view of <https://bounty.xe.network/XE-16984>. The page is the record; this is the same page for reading.*

XE-16984 · Bounty

# \[Low\] Marketplace validator accepts resource requests with invalid lease dimensions that every provider drops

Triaging
[xe#695](https://github.com/xeprotocol/xe/issues/695)
filed 2026-11-17 08:12 UTC
by kecedanzz77-bit

Verdict
:   published when the fix ships

Tier
:   published when the fix ships

Claimed
:   —

Area
:   P2P / sync

Duplicate of
:   —

Tracked
:   —

Updated
:   2026-11-22 23:26 UTC

Told
:   2026-11-22 23:26 UTC

### Patches

None linked.

### History

- [770294](https://bounty.xe.network/log/770294) 2026-11-22 23:27 UTC reply.mirror\_failed
- [770222](https://bounty.xe.network/log/770222) 2026-11-22 23:26 UTC proposal.adopted
- [770221](https://bounty.xe.network/log/770221) 2026-11-22 23:26 UTC reply.sent
- [769501](https://bounty.xe.network/log/769501) 2026-11-22 23:26 UTC proposal.adopted
- [769500](https://bounty.xe.network/log/769500) 2026-11-22 23:26 UTC ticket.status new → triaging
- [769176](https://bounty.xe.network/log/769176) 2026-11-22 23:25 UTC proposal.adopted
- [769175](https://bounty.xe.network/log/769175) 2026-11-22 23:25 UTC ticket.award
- [768041](https://bounty.xe.network/log/768041) 2026-11-22 23:25 UTC proposal.adopted
- [768040](https://bounty.xe.network/log/768040) 2026-11-22 23:25 UTC ticket.facts area
- [768039](https://bounty.xe.network/log/768039) 2026-11-22 23:25 UTC proposal.adopted
- [768038](https://bounty.xe.network/log/768038) 2026-11-22 23:25 UTC ticket.facts
- [768037](https://bounty.xe.network/log/768037) 2026-11-22 23:25 UTC proposal.adopted

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

### Report

## Summary

The marketplace gossip validator accepts resource requests with invalid lease dimensions that every provider drops. The validator checks only the signature; the provider handler additionally validates dimensions — a stateless, cheap check that the validator skips, so invalid requests are gossiped network-wide and every provider pays parse \+ verify cost before dropping them.

## Root Cause

- **Validator side:** `marketplaceValidator` (`net/gossip_validate.go:183`, request case `:198-203`) calls only `VerifyRequest` (signature \+ non-empty consumer, `net/marketplace_sign.go:118-124`). No dimension check.
- **Consumer side:** the provider handler (`node/node.go:1366-1369`) additionally calls `core.ValidateLeaseDimensions` and drops invalid requests (0/0/0/0, below-minimum duration, above-maximum dims).
- The check is stateless and cheap, so the gap is a real inconsistency (contrast the vote-weight check, which legitimately needs ledger state).

## Verification

Executed PoC (in-package `net` test):

```
zero-dim request: VerifyRequest err=<nil> validator=0 (Accept)
                  ValidateLeaseDimensions err=lease must request at least one resource (vcpus, memory, or disk)
valid request:    VerifyRequest err=<nil> validator=0 (Accept)  ValidateLeaseDimensions err=<nil>
```

## Note on related reports

Same symptom class as #687 (validator Accepts, consumer drops), different mechanism. Searched "marketplace request dimensions ValidateLeaseDimensions", "marketplace validator dimensions", "resource request invalid dimensions gossip", plus a broad `marketplace` search (15 hits read): #270 (no dedup/rate-limit), #530/#18/#529 (no expiry), #184/#526 (offers), #592 (ad storage), #612 (block/statechain validators skip signature verification — its body explicitly notes marketplace DOES verify signatures) — none cover the dimension gap.

## Suggested fix

Call `ValidateLeaseDimensions` in the marketplace validator's request case, matching the provider handler.

### Thread

**Joseph Denne**team2026-11-22 23:26 UTCdesk

Thanks for the report. The marketplace request check you describe is being handled. The assessment and any award follow the fix.
