Security practice
Every Security exercise, built from a topic you can open beside it.
26 exercises runs offline
All tracks Python 139 JavaScript 184 TypeScript 76 Go 106 Rust 75 Java 81 Kotlin 66 C++ 92 C# 88 Swift 68 PHP 69 Frontend 82 Backend 139 Architecture and system design 25 DevOps and cloud 15 Data and databases 5 Data science 31 AI and LLM engineering 75 Security 26 Game development 26 Coding in the AI era 101 CS foundations 164
level
sec Quiz new A request carries a correctly verified access token. What must the order endpoint still d… Protect API request boundaries by authenticating callers, constraining inputs and resource use, and authorizing every object, action, and response field. sec Quiz new Which design keeps one authenticated user's quota consistent across four API instances? Protect API request boundaries by authenticating callers, constraining inputs and resource use, and authorizing every object, action, and response field. sec Predict the output new What does this object-level authorization policy print? Protect API request boundaries by authenticating callers, constraining inputs and resource use, and authorizing every object, action, and response field. sec Review AI code new Review generated order updater Protect API request boundaries by authenticating callers, constraining inputs and resource use, and authorizing every object, action, and response field. sec Spot the bug new Spot the bug in the order reader Protect API request boundaries by authenticating callers, constraining inputs and resource use, and authorizing every object, action, and response field. sec Quiz new Which response contract lets an allowed frontend read a cross-origin response to fetch wi… How browsers use CORS to share cross-origin responses, including origins, preflights, credentials, caching, and security boundaries. sec Predict the output new What does this exact origin comparison print? How browsers use CORS to share cross-origin responses, including origins, preflights, credentials, caching, and security boundaries. sec Review AI code new Review generated CORS middleware How browsers use CORS to share cross-origin responses, including origins, preflights, credentials, caching, and security boundaries. sec Quiz new A cross-origin form-encoded POST is sent without a preflight, but its response has no Acc… How browsers use CORS to share cross-origin responses, including origins, preflights, credentials, caching, and security boundaries. sec Spot the bug new Spot the bug in the CORS helper How browsers use CORS to share cross-origin responses, including origins, preflights, credentials, caching, and security boundaries. sec Quiz new Which directive controls which parent pages may embed the current response? Security response headers turn browser behavior into reviewable policy across CSP, HSTS, MIME handling, embedding, permissions, and deployment. sec Quiz new What closes the first-visit HTTP window that an ordinary HSTS response cannot close by it… Security response headers turn browser behavior into reviewable policy across CSP, HSTS, MIME handling, embedding, permissions, and deployment. sec Predict the output new What does this response-header builder print? Security response headers turn browser behavior into reviewable policy across CSP, HSTS, MIME handling, embedding, permissions, and deployment. sec Review AI code new Review generated dashboard response Security response headers turn browser behavior into reviewable policy across CSP, HSTS, MIME handling, embedding, permissions, and deployment. sec Spot the bug new Spot the bug in the CSP nonce middleware Security response headers turn browser behavior into reviewable policy across CSP, HSTS, MIME handling, embedding, permissions, and deployment. sec Quiz new Code approves a DNS answer and then gives the original URL to an HTTP client that resolve… How untrusted destinations turn server-side fetches into SSRF, and how to bind validation, redirects, and egress to one policy. sec Quiz new An EC2 workload requires IMDSv2. Which statement about its SSRF posture is accurate? How untrusted destinations turn server-side fetches into SSRF, and how to bind validation, redirects, and egress to one policy. sec Predict the output new What authority fields does the URL parser print? How untrusted destinations turn server-side fetches into SSRF, and how to bind validation, redirects, and egress to one policy. sec Review AI code new Review generated webhook delivery How untrusted destinations turn server-side fetches into SSRF, and how to bind validation, redirects, and egress to one policy. sec Spot the bug new Spot the bug in the preview helper How untrusted destinations turn server-side fetches into SSRF, and how to bind validation, redirects, and egress to one policy. sec Quiz new A validated invoice ID is inserted into a SQL query. Which control protects the SQL inter… Understand browser-server trust boundaries and stop common web vulnerabilities with encoding, parameterization, authorization, and CSRF defenses. sec Quiz new What does a correctly configured CORS policy primarily control? Understand browser-server trust boundaries and stop common web vulnerabilities with encoding, parameterization, authorization, and CSRF defenses. sec Quiz new Which statement best describes Content Security Policy in an XSS defense? Understand browser-server trust boundaries and stop common web vulnerabilities with encoding, parameterization, authorization, and CSRF defenses. sec Predict the output new What does this program print on its second line? Understand browser-server trust boundaries and stop common web vulnerabilities with encoding, parameterization, authorization, and CSRF defenses. sec Review AI code new Review generated invoice updater Understand browser-server trust boundaries and stop common web vulnerabilities with encoding, parameterization, authorization, and CSRF defenses. sec Spot the bug new Spot the bug in the profile handler Understand browser-server trust boundaries and stop common web vulnerabilities with encoding, parameterization, authorization, and CSRF defenses.
No practice items match these filters.