[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"branding":3,"analytics":7,"article-github-stacks-four-security-checks-around-ai-written-code":10,"sections":35},{"siteName":4,"siteTagline":5,"publisherName":4,"contactEmail":6},"The Revision","Tech news, decoded.","editor@therevision.news",{"gaMeasurementId":8,"adsenseClientId":9},"G-ZW2MV82GYR","ca-pub-8533917693782264",{"article":11},{"id":12,"slug":13,"title":14,"dek":15,"body_md":16,"tags_json":17,"published_at":18,"created_at":19,"updated_at":20,"status":21,"review_note":22,"review_notes":23,"image_url":22,"persona_id":22,"persona_name":22,"section":24,"tags":25,"sources":30,"feedback":34,"feedback_at":22,"cost_usd":34,"total_tokens":34},13302,"github-stacks-four-security-checks-around-ai-written-code","GitHub Stacks Four Security Checks Around AI-Written Code","GitHub's pitch runs from a local \u002Fsecurity-review to a private-preview Deep Scan, built on the premise that passing tests prove little about safety.","GitHub laid out a four-layer security workflow for code written with AI agents, on the premise that a change can pass every test and still be exploitable.\n\nThe company said it detected over 200 million vulnerabilities from January to October 2026, a 100% increase year over year, based on internal data. The post does not say how it counts them, or how much of the rise comes from AI-written code.\n\nThe layers work like this. Before a pull request, a \u002Fsecurity-review command in the Copilot app, Copilot CLI, or Copilot Chat in VS Code checks active changes and returns prioritized findings. It does not audit the whole repository and does not edit code. GitHub's example is a PHP search endpoint that pastes user text into a SQL query, with a parameterized query as the suggested fix.\n\nOn the pull request, CodeQL builds a database representing the code and runs queries over it, tuned for high precision and few false positives. AI Scanning adds agents that explore the repository, including languages CodeQL does not cover, PHP among them.\n\nFor code nobody is touching, Standard AI Scan runs on a repository's default branch for anyone with write access. Its agent picks files and functions to examine within a time budget, and its findings land in the same backlog as CodeQL alerts, with duplicates suppressed. Deep Scan, powered by Microsoft's Codename MDASH and in private preview, targets release testing and audits.\n\nThe design is a quiet admission that no single scanner is enough. GitHub says as much: no single green check certifies the whole codebase. Fixed queries are predictable but only find what someone wrote a query for. Agents can reason about business logic and unfamiliar attack patterns, but a time budget means they sample rather than read everything. Combining the two trades some certainty for reach.\n\nThe open question is accuracy. The post gives no false-positive rates for either AI scan, and a shared backlog is only useful if reviewers trust what lands in it.","[\"github\",\"code-security\",\"ai-agents\",\"codeql\"]","2026-12-02T18:30:34.000Z","2026-12-05T00:00:41.082Z","2026-12-05T00:00:41.415Z","published",null,[],"dev-tools",[26,27,28,29],"github","code-security","ai-agents","codeql",[31],{"name":32,"url":33},"GitHub Blog","https:\u002F\u002Fblog.github.com\u002Fsecurity\u002Fapplication-security\u002Fhow-do-you-build-securely-when-ai-is-writing-more-of-the-code\u002F",0,{"sections":36},[37,42,47,52,57,62,67,72,77,82,85,90,95],{"name":38,"slug":39,"count":40,"latest_published_at":41},"AI","ai",7187,"2026-12-05T12:42:33.000Z",{"name":43,"slug":44,"count":45,"latest_published_at":46},"Security","security",1177,"2026-12-05T12:51:07.000Z",{"name":48,"slug":49,"count":50,"latest_published_at":51},"Policy","policy",653,"2026-12-05T00:05:51.000Z",{"name":53,"slug":54,"count":55,"latest_published_at":56},"Consumer Tech","consumer-tech",417,"2026-12-05T16:20:00.000Z",{"name":58,"slug":59,"count":60,"latest_published_at":61},"Hardware","hardware",362,"2026-12-04T16:10:04.000Z",{"name":63,"slug":64,"count":65,"latest_published_at":66},"Science","science",246,"2026-12-05T14:06:03.000Z",{"name":68,"slug":69,"count":70,"latest_published_at":71},"Software","software",194,"2026-12-04T12:53:18.000Z",{"name":73,"slug":74,"count":75,"latest_published_at":76},"Startups","startups",167,"2026-12-04T20:37:49.000Z",{"name":78,"slug":79,"count":80,"latest_published_at":81},"General","general",151,"2026-12-05T12:00:00.000Z",{"name":83,"slug":24,"count":84,"latest_published_at":18},"Dev Tools",129,{"name":86,"slug":87,"count":88,"latest_published_at":89},"Gaming","gaming",120,"2026-12-04T16:59:48.000Z",{"name":91,"slug":92,"count":93,"latest_published_at":94},"Reviews","reviews",39,"2026-11-12T14:00:00.000Z",{"name":96,"slug":97,"count":98,"latest_published_at":99},"How-To","how-to",10,"2026-11-14T23:45:00.000Z"]