Writeup · Cyberweek Africa 2026 - National CTF (Finals)

Panel Detours

osinteasysolvedFlag: FLAG{REDACTED}

Overview

An archivist hid six evidence fragments in side quests from six manga worlds. Each dossier (case card) asks for one English-localised, single-word factual answer. That answer, normalized to uppercase ASCII letters and digits only, is combined with a per-case salt to derive an HMAC-SHA256 key that opens a sealed evidence fragment (HMAC tag plus HMAC-driven stream XOR). The six 12-byte fragments are concatenated in stage order, hashed to derive the release root key, and used to open release/production.json.

Two releases exist: a QA calibration packet (preview/calibration.json) that decrypts to a flag-shaped decoy (FLAG{REDACTED}, classified QA-CALIBRATION), and the live production capsule (release/production.json`, classified LIVE-PRODUCTION). Successful QA decoding is not an authorised release — only the LIVE-PRODUCTION capsule contains the CTFd-accepted flag.

Recon

The package supplies CASEBOOK.md (six dossiers stored out of order), individual case JSONs under cases/, manifest.json (stage order and case→stage mapping), answers_template.json, verify_release.py (offline participant validator), preview/calibration.json, and release/production.json. SOURCE_LEADS.md gives optional fandom/wiki starting points per series.

Manifest stage order (assembly order, not filename order):

Stage Case ID Series
1 PANEL-63 One Piece
2 PANEL-88 Naruto
3 PANEL-05 Dragon Ball
4 PANEL-14 Fullmetal Alchemist
5 PANEL-31 Spy x Family
6 PANEL-27 Chainsaw Man

Exploitation

PANEL-63 — One Piece — Stage 1 — Moon

The former ruler of Skypiea is Enel. His cover-story serial, “Enel’s Great Space Operations”, follows him past automata and space pirates to the celestial body he finally reaches: the Moon.

PANEL-88 — Naruto — Stage 2 — Tazuna

Team 7’s Land of Waves escort mission is hired to protect the bridge builder Tazuna.

PANEL-05 — Dragon Ball — Stage 3 — Senzu

The feline guardian of the tower (Korin/Karin) cultivates the restorative Senzu bean.

PANEL-14 — Fullmetal Alchemist — Stage 4 — Yoki

The corrupt lieutenant who controls the mine at Youswell in the mining-town detour is Lieutenant Yoki.

PANEL-31 — Spy x Family — Stage 5 — Stella

After helping rescue a child at the hospital pool, Anya receives her first prestigious school award: the Stella Star → the one-word name before “Star” is Stella.

PANEL-27 — Chainsaw Man — Stage 6 — Meowy

Power draws Denji into a dangerous rescue of the cat taken by the Bat Devil; the cat’s English-localised name (not the Japanese one) is Meowy.

Then copy answers_template.json to answers.json, fill in the six answers, and run the supplied validator:

python3 verify_release.py --answers answers.json

All six fragments authenticate (HMAC tag check, then stage/witness check), fragments join in stage order, the root hash opens release/production.json, and the capsule yields an authorised LIVE-PRODUCTION release.

Flag

Verifier output:

[OK] Stage 1: PANEL-63 | fragment authenticated
[OK] Stage 2: PANEL-88 | fragment authenticated
[OK] Stage 3: PANEL-05 | fragment authenticated
[OK] Stage 4: PANEL-14 | fragment authenticated
[OK] Stage 5: PANEL-31 | fragment authenticated
[OK] Stage 6: PANEL-27 | fragment authenticated

AUTHORISED LIVE RELEASE VERIFIED
Proof:  10481312933A739F37B0EDD4
FLAG:   FLAG{REDACTED}

Lessons / Takeaways

  • QA success ≠ production release. The calibration packet decrypts cleanly to a flag-shaped decoy; only the LIVE-PRODUCTION certificate capsule is accepted by verify_release.py.
  • Stage order governs assembly. Dossiers are stored out of narrative order; the stage value in the manifest, not the filename or series popularity, determines fragment concatenation order.
  • Normalisation is part of the key. Answers are uppercased and stripped of punctuation/spaces before key derivation, so wrong localisation spelling or extra whitespace silently fails authentication.

Techniques