Skip to game
GamingForLearning.com
K-12 Cyber Career Game

Secure Code Detective

Read short Python, JavaScript, or PHP snippets, spot the unsafe line, and learn a safer way to write it.

No login, no names, no analytics, and no browser storage.

Choose your coding language

Inspect 10 short code snippets. Each snippet is 5–8 lines long, so finding the unsafe line requires reading the context rather than guessing between two lines.