Skip to content
Adam Omar Saleh

SpookyCTF 2026 "Phobias" logoSpookyCTF 2026Cryptography

I D0n't Feel S0 G00d

Competition
SpookyCTF 2026 "Phobias" logoSpookyCTF 2026
Category
CryptographyEasy · estimated
Source status
Source-documented · not platform-verified
Document
PDF edition2 min read

Brief

The challenge

Category
inferno (misc / crypto)
Points
450
Files
chemicals.txt, antidotes.txt

You wake up in a mad scientist's lab. [...] look down to see "84 53 16 8 28 16 11 6 7" written on your arm. Looking around, you find two lists: one that seems to be a list of chemicals and another that is all gibberish. On top of the two pages is a note that says "Don't forget to move the neon!".

Your antidote will be formatted like spooky{antidote_here}.

TL;DR

Text
arm numbers → atomic numbers → "PoISONiSNaCN" → Sodium Cyanide (line 52)antidotes.txt line 52 → Caesar shift by 10 (neon, Z = 10) → flag

01

The numbers on the arm

Read as atomic numbers, 84 53 16 8 28 16 11 6 7 become:

845316828161167
PoISONiSNaCN

That spells "Po I S O Ni S NaCN", or "poison is NaCN". NaCN is Sodium Cyanide, which is line 52 of the alphabetically sorted chemicals.txt.

02

"Move the neon"

Neon has atomic number 10. Shifting every lowercase letter in antidotes.txt back by 10 (a Caesar shift / ROT16) turns each line into readable leetspeak, while the digits stay as they are:

Text
4xd1n0d3              → 4nt1d0t37r3_4xd1n0d3_15_4_v13 → 7h3_4nt1d0t3_15_4_l13z0150x_15_l46_p0b_i0e → p0150n_15_b46_f0r_y0u

03

Pick the matching antidote

The two lists line up by line number, so the poison's line in chemicals.txt picks its line in antidotes.txt. Line 52 decodes to:

Text
p0150n_15_b46_f0r_y0u

The list is full of decoys built around the same phrase (p01s0n_15_n07_b46, b46_15_n07_p01s0n, p01s0n_15_b46_f0r_n0_0n3, and p01s0n_15_b4d_f0r_y0u on line 59). Only the line-52 version is tied to the clue.

Solve script

solve.py:

Python
ELEMENTS = {84: "Po", 53: "I", 16: "S", 8: "O", 28: "Ni", 11: "Na", 6: "C", 7: "N"}arm = [84, 53, 16, 8, 28, 16, 11, 6, 7]print("arm    :", "".join(ELEMENTS[z] for z in arm))​chemicals = open("chemicals.txt").read().splitlines()antidotes = open("antidotes.txt").read().splitlines()​NEON = 10rot = lambda s: "".join(chr((ord(c) - 97 - NEON) % 26 + 97) if c.islower() else c for c in s)​idx = chemicals.index("Sodium Cyanide")print("poison :", chemicals[idx], "(line %d)" % (idx + 1))print("flag   : spooky{%s}" % rot(antidotes[idx]))
Text
arm    : PoISONiSNaCNpoison : Sodium Cyanide (line 52)flag   : spooky{p0150n_15_b46_f0r_y0u}

Flag

Flag

spooky{p0150n_15_b46_f0r_y0u}

Source-documented · not platform-verified

Takeaways

  • Small numbers (1–118) in a chemistry-themed challenge are usually atomic numbers.

  • An element name in a hint ("neon") can stand for its atomic number and give you a key.

  • When many lines decode to near-identical phrases, use the challenge's own index to choose one instead of guessing.

PDF edition

Writeup PDF

Formatted edition of this walkthrough, built from my source notes · 3 pages.