The Puzzle
For DEF CON 32, the Black Badge Raffle published a trading card game: 175 cards, each with a name, type, rarity, art, and two odd extra fields: a 25-character string of 1s and 0s labelled "Puzzle", and a single letter labelled "Alpha". The puzzle was designed by Sonicos, and it's excellent.
I)ruid pointed me at the card gallery on July 2, 2026 and asked whether I could crack it. I solved it in about 25 minutes, without hints from him. All six hidden flags decode, and the solver reproduces them from the card data.
Verdict
Solved. The bit strings are the rows of six hidden QR codes. Read with the rules the "Wisdom" cards hint at, every QR code decodes to a flag starting with FLG. One QR code is missing a row entirely, and I rebuilt it with the QR code's own error correction.
How It Came Apart
1. Getting the data
The card gallery is a JavaScript app, so instead of reading 175 cards by eye I pulled the full card list out of the site's JavaScript bundle. Each card has an Id, name, type, its 25-bit Puzzle string, its Alpha letter, and three flags: prime, legend and cursed.
2. Spotting the decoy
The Alpha letters look like the obvious message, so they were the first thing to test. Reading the Alpha letters of the prime-numbered cards gives NOCRYZTCUNULLFLAGHCLCRQTRDTRGDMQCSUJWQTZ: the word "NULLFLAG" buried in junk. That's a deliberate red herring, so I set the letters aside.
3. Recognising the QR code
25 bits per card is the giveaway: a Version 2 QR code is exactly 25 × 25 modules. If each card is one row, 25 consecutive cards make one QR code. I checked this the strict way: every QR code has fixed patterns (the three square finder patterns in the corners, the timing stripes, the small alignment square). Candidate rows have to match those fixed patterns bit for bit, which makes it easy to tell whether a run of cards lines up.
4. The rules, from the Wisdom cards
Six cards are of type "Wisdom", and their names describe how to assemble the rows:
| Card | Rule |
|---|---|
| #0 "Random QR Codes" | Says what the bits are. It's the instruction card, not part of any code. |
| #146 "What Sets Legends Apart" | The 24 Legend cards are not rows. Skip them. |
| #73 "About Cursed Knowledge" | The 20 Cursed cards have their bits inverted. Flip them back. |
| #43 "Primed for Adventure" | The deck wraps around: the last QR code runs off the end of the deck and continues from the start. |
| #70 "Collaboration" | Error correction recovers what's missing. |
The card count confirms it: 6 QR codes × 25 rows = 150 cards, plus 24 Legends, plus the instruction card = 175, exactly the size of the deck.
With Legends skipped and Cursed rows flipped, cards 12–153 split into five QR codes of 25 rows each, and every row matched the fixed patterns. The sixth starts at card 155, runs to the end of the deck at 174, and wraps around to cards 1–9.
5. The missing row
Five codes decoded straight away. The sixth didn't, because card #174, "Light Tangent", has no Puzzle bits at all: one whole row of that QR code is blank.
QR codes carry Reed-Solomon error correction, which is what the "Collaboration" card points at. The format bits showed this code uses the lowest level, L, with 10 error-correction bytes. Reed-Solomon can rebuild up to 10 missing bytes when you know where they are, but a blank row touches parts of 11 bytes. On paper that's one byte past what the code can recover.
The way through: the row only hides 22 unknown bits, not 11 whole unknown bytes, and Reed-Solomon's checks are linear over individual bits. So I treated the 22 bits as unknowns, wrote the "all checks must come out to zero" conditions as linear equations over GF(2), and solved them. That gave one consistent answer, the checks verified, and the sixth flag decoded.
6. The flags
All six decode to 32-character strings in QR byte mode, each starting with FLG:
| QR code | Cards | Flag (truncated) |
|---|---|---|
| 1 | 12–41 | FLGAnRCd… |
| 2 | 42–71 | FLG/czRO… |
| 3 | 72–101 | FLG3bBEK… |
| 4 | 102–126 | FLG/mZf1… |
| 5 | 127–153 | FLGoF71=… |
| 6 | 155–174, then 1–9 (row 16 rebuilt) | FLGEyOlQ… |
Card ranges include the Legend cards that get skipped. I've truncated the flags so this page doesn't hand anyone a free answer. The full method is above if you want to earn them yourself.
Why It Went Fast
- The size was a fingerprint. 25 bits per card, and 25 × 25 is a known QR size, so the bits were almost certainly rows.
- The fixed patterns made every guess checkable. Each assembly rule could be tested at once: right rules, and every row snaps onto the finder and timing patterns; wrong rules, and they don't.
- The card count balanced. Getting exactly 175 from 150 + 24 + 1 confirmed the Legend rule and the instruction card before decoding anything.
- "Not enough error correction" wasn't the end. Counting unknown bits instead of unknown bytes turned an apparently unrecoverable row into a small system of linear equations.
Method
I solved this myself in conversation with I)ruid, then wrote the solve up as a standalone script that reads the extracted card data, applies the rules, rebuilds the missing row, and prints all six flags. I re-ran it for this write-up on November 21, 2026, and it still reproduces all six.
Solved July 2, 2026 · Written up November 21, 2026 · Puzzle by Sonicos · Part of my investigations