Glossary / Testing practice
Capture the flag (CTF)
Also called: CTF
A capture-the-flag competition is a security exercise in which participants exploit deliberately vulnerable systems to retrieve hidden strings called flags.
CTF challenges are a common benchmark for AI security agents because success is unambiguous. Real applications are messier — scope, authentication and business logic matter more — so CTF scores do not translate directly into pentest quality.