Dr. Doome's Vault - 300 The end is scheduled. You're early.http://challenge.tcshackquest.com:29331/ Public API

  1. Get the shared token

  2. Read the public countdown feed Public API Use the shared token to read the public countdown feed.

  3. Get the shared token GET /api/public-token Get public token Copy token Bearer token eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsImtpZCI6ImNvdW50ZG93bi0xIn0.eyJpc3MiOiJ2YXVsdC1jb3VudGRvd24iLCJhdWQiOiJjb3VudGRvd24tZGF0YS1hcGkiLCJzdWIiOiJzaGFyZWRfcmVhZGVyIiwicm9sZSI6InB1YmxpYyIsImlhdCI6MTc2NzIyNTYwMCwiZXhwIjo0MTAyNDQ0ODAwLCJqdGkiOiJzaGFyZWQtcmVhZGVyIn0.FLp9a-IUkHE5HlgGLJlhyHXwq73Ff_c31vxpp3DaGe1nw_ytzaClYF-uyfZdps7g8iGM5sy0vHdIlbGNuSrLk5sL_svj4ohr6IunvzrnogLOZVWM1QZ62EJTi4IGZYJyXoITOEWhVyLwtTGIeEg6qOZTqHkSHYtAFd6i9gZyLs3GojPD_vt3wIYW_Sf6LELK2sSxG4asRMj38ale-NPb3bPrvNPUK6zff1NAejlLeN7H7njjiqSARP74Khbkg69w2EVhPtEBPxylSlb1agyDDxSQxuxnDGsF2wW4jteliC7mh-zpuoScFK0YSXvAQ06poRnWM_MN4tBgiIqbJb_Cpg Token ready. Copy it or try the public request below.

Verification key: /.well-known/jwks.json

  1. Read the public countdown feed GET /rest/v1/releases?select=filename,release_at apikey: sb_publishable_countdown_lab Authorization: Bearer Try public request Plain-text reference: public-api.txt · Back to countdown {"keys": [{"kty": "RSA", "n": "0C5bFhpJcUir5KzwiXbhA2L6My6_Du0j08644FHOe-te32RIEoF2MSi2Lk8qmDeDq_dtWm6i3az9xlFvAHm2_npLlXHRIx4t2ydbdiE5CwPQxdiFHPbRQFeBS2yn_1C0ubA4N7_QJvH74_rO6enWii90e8mmzAgJmJigFEUK2ZWOGjChtUxQcGvRu2jzKuABzr8Zl0P7DveMxb37SQprPsh_beBU7PnLNT5cwgUNnlspnLOGpv1fDB9np7Sk5NRCHLxsm_BUFyRJEnGEWS-mISfR6fI1D6KJYpZL46wO5RqiBrB33z2Kv-3bBBt9qJcpD1xjG4GvvRNEI0Xwhpg4nw", "e": "AQAB", "kid": "countdown-1", "use": "sig", "alg": "RS256"}]} Dr. Doome's Vault — Embassy API

The Vault clock is public. Mirrors may read the countdown feed with the shared guest token. No account or sign-in is needed. Responses are JSON; times are UTC.

Interactive reference: /api-docs.html

  1. Guest token

GET /api/public-token

200 OK {"token":"","token_type":"Bearer","expires_at":"","jwks_uri":"/.well-known/jwks.json"}

The token is RS256-signed with sub "shared_reader" and role "public".

  1. Countdown feed

GET /rest/v1/releases?select=filename,release_at apikey: sb_publishable_countdown_lab Authorization: Bearer

200 OK [{"filename":"Vault.txt","release_at":""}]

The publishable key and guest token grant public access only.

  1. Release

GET /api/Vault.txt

Before release: 423 Locked. After release: 200 OK, text/plain. No credentials required.

Dr.Binary
todo_write
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
read_file
read_file
read_file
drbinary_run_sandbox
todo_write
drbinary_run_sandbox

The server only supports GET/OPTIONS — a Python BaseHTTPServer. Let me probe the release-file endpoint and the REST layer's behavior.

drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox

The REST layer is a mock (filters ignored, token static). Let me fingerprint the JWT verification itself — error messages will tell me how it's implemented.

drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox

All JWT tampering is rejected cleanly. Let me probe the file-serving path of /api/<name> — maybe the lock check and the file lookup use different code paths.

drbinary_run_sandbox

Path traversal via /api/..%2f works. Let me explore the server root with --path-as-is.

drbinary_run_sandbox
drbinary_run_sandbox

No traversal — those 200s were curl normalizing the path client-side. Let me fuzz for hidden routes and tables, and check the RSA modulus for weakness.

drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox

The key is a solid 2048-bit RSA — no shortcut there. This mimics Supabase (sb_publishable_* / sb_secret_*). Let me try the secret-key variant.

drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
web_search
drbinary_run_sandbox

Let me port-scan the challenge host and fuzz more endpoint variants.

drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox

Let me examine the static assets — sometimes the clues hide there.

drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox

The REST mock is exhausted. The one untested classic is jku header injection with a real external JWKS — I'll host one on webhook.site and see if the server fetches it.

drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox

All standard bypasses are closed. New hypothesis: the feed may only show upcoming releases — already-released files would 200 at /api/<name> while staying hidden from the feed. Let me blind-enumerate release filenames.

drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
web_search
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
web_search
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox

New hypothesis: /api/Vault.txt may use the JWT's iat claim as "now" without verifying the signature — "The Vault clock is public." Let me test forged claims directly.

drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox

One clean test I never ran: attacker-signed token with byte-identical header and payload. If the signature check is a claim-only whitewash, this passes.

drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
web_search
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox

TRACE got an nginx-style 405 — there's an nginx layer. Classic nginx alias traversal (location /assets { alias …; } without trailing slash) is worth testing immediately.

drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox

Let me fetch a real wordlist and brute-force /api/<name>.txt thoroughly — a released file may be hidden from the countdown feed.

drbinary_run_sandbox
drbinary_run_sandbox

Rate limiting kicked in (429 with an HTML page). Let me see that page — it may reveal more about the stack.

drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox

The 429 flood obscured part of my enumeration. Let me redo the remaining range slowly (throttled to stay under the rate limiter).

drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox

I've been hammering the server — let me back off, let it recover, and check state gently.

drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox

challenge.tcshackquest.com resolves to TWO different IPs — I've only been talking to one! The other could be the "mirror" instance.

drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox

The instance is down (ALB target unhealthy — likely from my heavy fuzzing). Let me poll patiently for recovery while I consolidate findings.

drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
write_file
drbinary_run_sandbox

While waiting for the server, let me refine my final test plan around the strongest theory: the feed's visibility may depend on the token's iat clock ("The Vault clock is public").

write_file
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox
drbinary_run_sandbox

My connections are now timing out entirely — that pattern suggests my IP may have been rate-blocked rather than the instance being down. Let me try fetching from a different network path.

web_fetch
[object Object]
web_fetch
[object Object]
drbinary_run_sandbox
drbinary_run_sandbox

The challenge instance is gone — the CTF ended at 16:00 IST (10:30 UTC) and the platform has decommissioned the listener (connection now times out from two different networks). Let me give you an honest, complete picture of where things stand.

Summary

Flag: NOT captured. The instance (challenge.tcshackquest.com:29331) went unhealthy at ~10:22 UTC, right as the CTF ended, and the ALB listener was removed by ~11:10 UTC. I cannot reach it from the sandbox or an external fetcher anymore.

What the challenge was

A Supabase-mock "Embassy API" on a Python BaseHTTP server behind an AWS ALB:

EndpointBehavior
GET /api/public-tokenByte-identical static RS256 JWT every call (sub shared_reader, role public, iat=2026‑01‑01, exp=2100‑01‑01, jti shared-reader)
/.well-known/jwks.jsonOne RSA‑2048 key, kid countdown-1, e=65537
GET /rest/v1/releasesapikey sb_publishable_countdown_lab + strict JWT verify → single row {id:1, filename:"Vault.txt", release_at:"2026-12-17T00:00:00.000Z", content:null}
GET /api/Vault.txt423 Locked until 2026‑12‑17 (flag is behind this gate)
GET /api/status{"status":"online","target_at":...} (+ transmission after release)

Release date was after the CTF ended — hence "The end is scheduled. You're early."

What I ruled out (all verified live)

  • JWT forgery: alg none/HS256/ES, kid injection/traversal/index, jku/jwk/x5u/x5c, n/e header injection, e=1/e=0 injection, b64:false/crit, duplicate-key confusion, segment/padding tricks (the sig decoder tolerates extra = — just a binascii.a2b_base64 quirk), ~500 HMAC secrets (apikey/iss/aud/kid/combinations) — all 401.
  • Key weakness: Wiener, Pollard p‑1 (B=5e6), Fermat, ROCA fingerprint, seeded-RNG keygen (~60 seeds × 2 variants), factordb → status C (unfactored). Signature genuinely verifies against the JWKS key.
  • Injection/params: every filter (eq/neq/gt/lt/or/in/is.null) is ignored; select is whitelisted to exactly 4 columns; apikey/token are header-only and exact; no URL-decoding on paths (raw exact matching everywhere); no traversal (ALB blocks multi-../, app doesn't decode %2e); no param/header/UA/cookie/clock manipulation affects the 423 (~150 combos tested); no WebDAV/LOCK, no body-on-GET effects, no pipelining (app forces Connection: close).
  • Hidden surface: ~5,500 path names fuzzed (routes, /api/.txt files, /.well-known/, assets) — only the known endpoints exist. No hidden released file found (the feed may filter past releases, but a google-10000-word enumeration of /api/<name>.txt was ~50% done when rate limiting hit).

The strongest remaining lead (prepared, unexecuted)

The static token's iat is exactly 2026‑01‑01T00:00Z (year-start) — which smells like the app mints iat = start-of-current-year, and "The Vault clock is public" hints the release check or feed visibility may be keyed to the token's clock. I wrote final_tests.py (in the workspace) to: probe ~30 clock-shift params (year, iat, asof, …) with real timestamps on /api/public-token and the feed, then use any shifted token against /api/Vault.txt and the feed to reveal hidden rows. It never got to run — the instance died first.

What you can do

  • If the platform lets you restart/redeploy the instance (or it returns for Round 2), ping me and I'll run final_tests.py immediately — it's a single command and rate-limit-safe.
  • Everything I saved is in the workspace: token.json, jwks.json, pub.pem, final_tests.py, plus the probe scripts.

One honest caveat: my heavy enumeration (tens of thousands of requests) tripped the platform's 429 limiter and likely contributed to the instance going unhealthy before the teardown — the last enumeration batch and the outage coincide.