Field Notes

How to use GitHub's built‑in security checks to catch risky AI code

GitHub now bundles security checks and analysis you can use while you code to spot vulnerabilities introduced by AI agents; follow these practical steps this week.

Cover illustration for How to use GitHub's built‑in security checks to catch risky AI code

AI generated — machine-made illustration, not a photograph of the event.

Using GitHub's built‑in checks early can cut the time you spend fixing security problems later, and it reduces the risk of shipping vulnerable AI‑generated code.

What actually changed

GitHub says AI agents are writing more code and that this can introduce vulnerabilities, leaked secrets or bogus dependencies. Their blog notes that, from January to October 2026, GitHub detected "over 200 million vulnerabilities", a year‑on‑year rise. To help teams keep up, GitHub combines built‑in security checks with multiple kinds of analysis and gives ways to investigate findings and apply fixes while you are already coding. The practical change is that these checks are intended to run as part of normal development and review, not just as a separate final audit.

How the tool and key terms work

Built‑in security checks: automated tests and scanners that run in your repository to flag probable problems in code, dependencies or configuration. These are runs you can see as part of your development workflow.

Agent session and pull request: an agent is an automation that can edit or create code. An agent session is one such set of edits. A pull request is the standard way to propose and review changes on GitHub before merging into the main code. The guidance is to check the agent's changes in the pull request and to scan the wider repository for related risks.

Investigation and fixes: GitHub provides ways to inspect flagged lines and to apply corrections from the same place you work. That lets you fix a flagged issue and keep the fix in the branch tied to the pull request.

Who this affects

Small teams, freelancers and managers who use GitHub and who allow automated tools or AI agents to write or modify code will be directly affected. Any project that accepts external contributions or runs fast iterations is at higher risk because AI changes can scale quickly across many files. The guidance is relevant whether you already use pull requests and reviews or need to add those steps.

What it costs or what it replaces

The announcement does not state pricing. Practically, adopting these checks replaces part of your informal, late-stage security cleanup with automated checks during development. That typically shifts effort earlier: you may spend a little more time reviewing flagged items in pull requests, but you can avoid larger fixes after release. There may be a small time cost to set up and to teach the team to interpret findings, but that trade‑off reduces the risk of shipping vulnerable code.

What we don't know

  • The blog extract does not list which specific scanning tools or rule sets are included.
  • It does not state whether any features require a paid tier or have extra configuration steps.
  • It does not quantify how much setup time or extra review time teams should expect.

What to do next

  1. Turn on GitHub's built‑in security checks in a test repository this week and run them on a recent branch. Watch how findings appear in the pull request and note which issues are most common.
  2. Require at least one human review before merging agent‑generated changes, and use the repository's investigation tools to inspect any flagged lines and commit fixes in the same branch.
  3. Scan the wider project for related risks after you fix the pull request items, and document the two or three most frequent problem types so your team can spot them earlier.
Sources

Links above go to the original publisher. Signalcraft states the consequence; it does not reproduce their text.

What to do next

Read another published Field Note.

Read: Nvidia and SpaceX reveal compact AI server built for satellites

What would you like help with next? Ask in the comments

0 comments

No comments yet. If you have run any of this, that is the most useful thing you could add.

Add yours

Comments are read by a person before they appear. No sign-up, no account.