flag (CTF)
jargonKept in this browser · My desk
In a CTF, the secret string that proves a challenge was solved and earns its points, usually in a fixed format: a prefix such as the event's name, then the text between curly braces.
The iCTF describes a flag as just a string of characters presented to the organizers as proof of compromise, and ENISA explains that a standard format lets players know when they have solved a challenge and lets the scoring be automatic. Sharing flags between teams is forbidden in competitive events, and in classroom CTFs it is the main integrity problem that studies report. The first team to submit a flag may earn a first-blood bonus.
Also known as: flag, ctf flag, first blood
Sources
- iCTF, UC Santa Barbara (read 2026-11-15): a flag is just a string of characters, presented to the organizers as proof of compromise
- ENISA, CTF Events, May 2021 (read 2026-11-15): standardized flag formats such as [CTF Name]{[Flag Text]} for automatic checking; random strings versus guessable phrases; first-blood awards
- Benevolent Bureau of Birds, DEF CON CTF Quals 2026 Rules (read 2026-11-15): flag format bbb{...}; sharing flags with other teams disqualifies
- Vykopal, Švábenský and Chang, ACM SIGCSE 2020 (read 2026-11-15): flag sharing in a weeks-long course CTF; three students confessed to using shared flags