16You are reviewing code that implements its own encryption. What do you look for?▼mediumNewGoogleMicrosoftAmazon◆ premiumMost cryptographic failures are misuse of good primitives, not broken algorithms. The scored answer has a checklist that catches the common ones and a strong default to replace them.Open full answer →
26SAML single sign-on keeps producing critical vulnerabilities. What goes wrong in service providers, and how do you review an integration?▼hardNewMicrosoftGoogleSalesforce◆ premiumThe signature verifies, and the application reads a different element than the one that was signed. Most SAML bugs are some version of that sentence.Open full answer →
04How do you conduct a security code review, and what do you look at first?▼medium★ EssentialNewAmazonMetaGoogleunlockedReading files top to bottom finds style issues. A security review starts from sources, sinks and the checks between them, and AI code adds a new source.Open full answer →
05Code review: this tool handler passes model output into a shell command and a SQL query. Find and fix the bugs.▼mediumNewAnthropicOpenAIAmazonunlockedThe model is not the attacker, but whoever wrote the document it just read might be. Every argument in a tool call is untrusted input.Open full answer →
14Explain XXE and server-side template injection, and how you fix each.▼mediumNewGoogleMicrosoftAmazon◆ premiumTwo injection classes where a parser or template engine does far more than the developer intended. The scored answer explains the dangerous feature in each and turns it off.Open full answer →
18Review an endpoint that lets an assistant fetch documents by ID, find the authorisation bug, and fix it with tests.▼mediumNewMicrosoftSalesforceGoogle◆ premiumThe commonest serious bug in AI tools is the oldest: fetching an object by ID without checking who is asking. The scored answer finds it, fixes it at the data access, and tests across users and tenants.Open full answer →
21What security risks does AI-generated code introduce, and what controls help?▼mediumNewMicrosoftGoogleAmazon◆ premiumGenerated code ships faster, which is the point and the risk. The scored answer names the specific failure modes and keeps the normal controls working at the new speed.Open full answer →
22What are the value and the limits of using an LLM to review every pull request for security?▼mediumNewGoogleMicrosoftAmazon◆ premiumAn LLM reviewer reads every change, which no human team can, and is confidently wrong some of the time. The scored answer places it as a triage layer, measures it, and protects it from the code it reads.Open full answer →
29The endpoint shows no SQL errors, but the code builds ORDER BY from a query parameter. Is it exploitable, and how do you fix it?▼mediumNewAmazonMicrosoftSalesforce◆ premiumNo error messages does not mean no injection. And the sort column is the one place where 'just use parameters' does not work, so you need a different fix.Open full answer →
30We use an ORM everywhere. Explain how SQL injection still happens, including second-order injection, and how you would review for it.▼hardNewAmazonMicrosoftSalesforce◆ premiumAn ORM parameterises the queries it builds. It cannot protect the queries you build around it, or the data you trusted because it came from your own database.Open full answer →
31How does injection work against document databases such as MongoDB, and why are type checks the core of the fix?▼mediumNewAmazonMetaMicrosoft◆ premiumNo SQL does not mean no injection. When a query is a JSON object, the attack is sending an object where the code expected a string.Open full answer →
32You are reviewing an API's CORS configuration that allows credentials. What mistakes do you look for, and what is the safe pattern?▼mediumNewGoogleMicrosoftMeta◆ premiumCORS never blocks a request from being sent. It decides whether another site's script may read the answer, and with credentials allowed, that answer contains the logged-in user's data.Open full answer →
35A gift card can be redeemed twice if two requests arrive at the same moment. Explain the bug class and fix it properly.▼hardNewAmazonMicrosoftSalesforce◆ premiumEvery check passed and every write succeeded. The money still left twice, because the check and the write were two steps and another request got between them.Open full answer →
01How must model output be handled before it reaches a browser, SQL engine, shell or other interpreter?▼medium★ EssentialNewMicrosoftGoogleAmazonunlockedProduct security's favourite AI question, because the answer is mostly classic AppSec. The scored part is matching each sink to its control and preferring structured data over generated code.Open full answer →
26Write a sanitiser that keeps links and images in streamed model Markdown inert until they are validated.▼hardNewMicrosoftGoogleOpenAI◆ premiumRendering is an outbound channel. The scored answer removes images, rewrites unapproved links, strips raw HTML, and only releases streamed text once it can no longer turn into something dangerous.Open full answer →
16Design and test an agent’s file-write boundary, including symlinks and concurrent changes.▼hardNew◆ premiumSeparate task authorization, path resolution and safe publication. A resolved path is only a snapshot; test concurrent changes, protected targets and aggregate limits without treating a few passing cases as proof.Open full answer →