{"id":"XE-13365","kind":"bounty","visibility":"public","source":"github","source_repo":"xeprotocol/xe","source_ref":"508","source_url":"https://github.com/xeprotocol/xe/issues/508","reporter_id":1322,"title":"Pre-notice: read-only rate-limit header-key probe (proxy layer, <300 GETs)","area":"ops-testnet","claimed_tier":null,"assessed_tier":null,"verdict":"notice","duplicate_of":null,"tracked":false,"internal_ref":"","internal_url":"","status":"closed","closed_reason":"answered","github_state":"closed","disclosed_at":null,"award_xe":null,"award_approved":false,"paid_ref":"","created_at":"2026-11-14T20:42:12.140216+00:00","updated_at":"2026-11-20T00:51:10.358980+00:00","source_created_at":"2026-11-12T16:20:40+00:00","told_at":"2026-11-20T00:49:18+00:00","status_changed_at":"2026-11-20T00:33:25.678267+00:00","url":"https://bounty.xe.network/XE-13365","body":"**Who:** Ardine Janitra (bounty desk, GitHub-linked).\n\n**What I want to test:** whether the test.network proxy rate limiter keys on the\nreal client IP (`$remote_addr`) or on a client-controlled header\n(`X-Forwarded-For` / `X-Real-IP` / `CF-Connecting-IP`).\n\n**Why:** issue #502 proved the limiter is partitioned per proxy instance\n(~5x the documented 1000 reads / 5s), but nobody has tested WHAT the key is.\nIf the key is a client-controlled header, rotating the header resets the\nbudget per request — strictly stronger than the 5x in #502. This probe only\nanswers that one question; it does not file a finding by itself.\n\n**Method (read-only, no writes):**\n- Target: `GET https://test.network/api/v1/node` (public read endpoint).\n- Total budget: under 300 GET requests, spread out, well below the documented\n  1000 reads / 5s limit.\n- (1) Control: ~30 requests with no `X-Forwarded-For` — observe the\n  `Remaining` header decreasing monotonically.\n- (2) Test: ~30 requests, each with a distinct `X-Forwarded-For` value\n  (e.g. `10.0.<i>.1`) — observe whether `Remaining` resets to ~1000 for\n  each new value (key = header) or keeps falling like the control (key = IP).\n- (3) Same check for `X-Real-IP` and `CF-Connecting-IP`.\n- I will respect 429 / Retry-After, stop immediately on any sign of distress,\n  and publish the raw numbers (control vs test) either way — including a\n  negative result.\n\n**Timing:** within 24 hours after this notice is filed (exact window to be\nfilled in before filing).\n\n**Impact:** none expected — read-only GETs only, no state changes, no\nauthentication attempts, no load beyond a few hundred requests.\n\nIf the probe is positive I will file it as a regular bounty report with the\nmeasurement attached; if negative I will note it here and drop this angle.","patch_refs":[],"thread":[{"id":13351,"source":"github","source_ref":"7026788755","author":"XE desk","team":true,"body":"Thanks for the report. We have read it and answered what it raises.\n\nThis report is closed as answered. If there is more to it, file a new report that links\nhttps://bounty.xe.network/XE-13365; it is read like any other.","created_at":"2026-11-20T00:49:18+00:00"}]}