Voyage to Ithaca Writeup
The Shade of Tiresias
Step 1: Read the Handout Unzip the_shade_of_tiresias.zip and read SCROLL_I.md. It gives the exact rules: each line of shades.txt is one candidate, a line that "drank the blood" is a training member of tiresias.pt (bit 1), anything else is bit 0. Bits are packed in file order, 8 per byte, MSB first, giving a 63-byte "voice" (504 lines). The voice is the Argon2id password for the_underworld.enc (time_cost 3, memory 1 GiB, parallelism 4, 32-byte key, file = 12-byte nonce || AES-256-GCM ciphertext+tag). The salt is the answer to two RVCE campus riddles. model.py defines the char-level GPT and a load() helper; each line is scored as BOS + characters + "\n".
Tool: unzip, text editor
Output: The task: membership inference on 504 lines, then Argon2 + AES-GCM.
Step 2: Membership Inference with a Reference Model Score every line by its mean per-character negative log-likelihood under both models. Raw loss from tiresias.pt alone is a trap: easy lines look "remembered" and hard lines don't, and the best possible threshold still gets about 32 bits wrong, which silently produces the wrong key. Calibrate with the pre-fine-tune model instead (the LiRA / reference-model idea): score = NLL(shade_before_the_blood.pt) - NLL(tiresias.pt) Members gained a lot from fine-tuning, non-members barely moved. Sorting the scores shows one clear gap (members are all above about 0.136, non-members all below about 0.061). Everything above the gap is 1. This gives 237 members.
from model import load, encode, BOS import torch, torch.nn.functional as F def nll(m, l): s = [BOS] + encode(l) + [encode("\n")[0]] x, y = torch.tensor([s[:-1]]), torch.tensor(s[1:]) return F.cross_entropy(m(x)[0], y).item() A, B = load("tiresias.pt"), load("shade_before_the_blood.pt") score = [nll(B, l) - nll(A, l) for l in open("shades.txt").read().splitlines()]
split at the largest gap in sorted(score); bit = score > threshold
Tool: Python, PyTorch (CPU or Colab)
Output: 504 bits -> 63-byte voice
Step 3: Solve the Campus Riddles (Salt) Riddle I: two boat structures sit on dry land outside the Civil Engineering department ("the hall where roads and bridges are first drawn"), and WIRIN, the self-driving car built by RVCE with IISc ("born of RV and the Institute of Science"), is parked there too. Answer: civil. Riddle II: Kriyakalpa, the demolished making-space/museum that stood next to the EEE department ("the hall of lightning") and was the first thing you saw on entering campus. Answer: kriyakalpa. Joined lowercase with no spaces: civilkriyakalpa. Neither answer can be tested alone; only the full voice + salt opens the file.
Tool: Knowledge of the RVCE campus (ask a senior)
Output: Salt = civilkriyakalpa
Step 4: Move the Cyclops' Boulder Derive the key with Argon2id and open the_underworld.enc. Each attempt costs about 3 seconds and 1 GiB of RAM, so guessing is expensive.
