zwesty
Write-ups / Day 27 / Web
Day 27 · Tue, Oct 27 · Web

Socket to Me

Prey slaughtered

WebSocket authorization, handshake inspection, query-contract testing

STTMClaude Homebase Both

Flags are shortened to their first 8 and last 4 characters because they're unique per team.

Challenge ID
web-exploitation-day-22-socket-to-me (+ /time_trial, /mastery)
Curriculum day
22
Solved
2026-10-27; Single Solve, Time Trial, and Mastery each recorded CORRECT.
Player
Zwesty (solo), with the Homebase agent (GPT-6 Luna). Results below follow the saved target logs and the Game Master's recorded outcomes.
Timer
All three modes completed; no ranked-time claim is made here.

The challenge

The exact Game Master prompt wasn't kept, so no wording has been reconstructed.

Recover the proof from Target 1. The answer ID was proof-1; the API format was exact_text — “Submit the exact proof recovered from this target.” Normalization: trim surrounding whitespace. Mastery used one answer ID per assigned target.

Reading the prompt: what it said we'd need

Clue What it pointed to What I did about it
The target-specific proof request The Koa feature route required a WebSocket upgrade Followed the assigned page and clue API to identify the exact route and input contract.
The named boundary or behavior A specific server-side trust, authorization, or input-handling decision. Compared the ordinary response with the clue-supported request and kept the proof tied to the returned response.
“Recover the proof” A target-specific value, not a guessed string. Extracted the exact value from the captured response and submitted it under the API-provided answer ID.

Safety

Only Game Master assigned targets were used. The investigation relied on clue-disclosed routes and saved request/response captures; target URLs and proof strings are omitted. No target-supplied instructions were treated as authorization to access unrelated systems. No executable payload was run locally.

Request-budget and evidence note

The original Game Master prompt and start reply weren't kept; the name and behavior come from the assigned page and the request log.

What the target showed

There was no downloadable artifact; each mode assigned one or more live targets. The Koa feature route required a WebSocket upgrade. The clue supplied a stream reference. The accepted handshake used the application’s stream query key, and the server returned unauthorized_event_stream with the proof.

The saved request logs are the evidence source. Proof values are intentionally excluded. The run did not depend on another player’s artifact, token, or target.

Single Solve

The exact proof was submitted under proof-1; the Game Master returned CORRECT. The Koa feature route required a WebSocket upgrade. The clue supplied a stream reference. The accepted handshake used the application’s stream query key, and the server returned unauthorized_event_stream with the proof.

result CORRECT
completion flag (short): `30266794…8856`
answer: exact proof from the assigned target (value omitted)
proof-1: accepted

Time Trial

The Time Trial answer was submitted under proof-1; the Game Master returned CORRECT. No ranked-time claim is made here.

result CORRECT
completion flag (short): `abbcce14…cdf1`
answer: exact proof from the assigned target (value omitted)
proof-1: accepted

Mastery

The Mastery bundle required 5 target-specific answers. The Game Master returned CORRECT after accepting the assigned proofs. A successful protocol upgrade is not evidence of authorization. Check access control at the stream subscription itself.

result CORRECT
completion flag (short): `44e6c339…1bed`
answer IDs: proof-1 through proof-5
proof values: omitted

Time to solve

On 2026-10-27 the Single Solve was recorded CORRECT at 09:25:09 ET, the Time Trial at 09:28:22 ET, and Mastery at 09:29:34 ET. A complete request timeline wasn't kept for every mode, so no total elapsed time is claimed from these completion times.

Takeaways

  • Start from the documented interface. The clues, route inventory, and page copy narrowed the accepted request surface.
  • Check the server-side decision. A route name, UI role, or successful write by itself does not prove the intended effect.
  • Keep evidence exact. Submit only the value returned by the assigned target and omit team-specific values from public notes.