Get the newsletter
Nvidia · Security · Filed Nov 4, 2025 · USPTO published Jul 2, 2026 · Jul 2 release

Nvidia Patents AI Method to Detect Code Vulnerabilities Before Hackers Can Strike

Nvidia is patenting an AI-powered code scanner that doesn't just flag suspicious code, it also runs a simulated attack to confirm the flaw is real, then uses what it learned to get sharper at spotting the next one.

Nvidia Patent: AI That Finds Fault-Injection Vulnerabilities in Code, figure from US 2026/0186754 A1
Figure from the official USPTO publication.
Publication number
US 2026/0186754 A1(US20260186754A1)
Applicant
NVIDIA Corporation
Filed · Published
Nov 4, 2025 · Jul 2, 2026
Inventors
Alexander MATROSOV, Christopher SCHNEIDER
Status when we published
Waiting for an examiner
Document
21 claims
US classification
726/25
Parent application
Continuation of 16/177,311 (filed Oct 31, 2018)(16177311)

What Nvidia's fault-injection scanner actually does

Imagine a security guard who not only notices an unlocked door but also tests whether it can actually be opened before reporting it, and then remembers exactly what that door looked like so they can spot similar ones faster. That's essentially what this Nvidia system does for software.

The tool scans computer code looking for spots where an attacker could cause a hardware glitch (a "fault injection") to trick the software into skipping a security check, like a login or a cryptographic verification. Fault injection attacks are a real threat in chips, embedded systems, and firmware, but they're notoriously hard to find by reading code alone.

What makes this approach different is the feedback loop. When the AI finds a confirmed flaw, it turns that discovery into a training example and feeds it back into the model. The system teaches itself as it works, becoming more accurate over time without engineers having to manually update it.

How the AI spots and confirms exploitable code patterns

The system has three main components working together:

  • A machine learning model trained on "training vectors," which are structured descriptions of code patterns known to be vulnerable to fault injection attacks.
  • A topological code analyzer that converts source code into a graph-like representation (a map of how the code flows and which parts depend on which), then runs the ML model over that map to flag suspicious spots.
  • An emulation layer that simulates a fault injection attack on the flagged code section to verify whether the vulnerability is actually exploitable, not just theoretically suspicious.

When the emulator confirms a real flaw, the system automatically generates a new training vector from that code pattern and uses it to retrain the model. This is a self-improving loop: each confirmed vulnerability makes the detector more accurate for future scans.

Fault injection attacks work by briefly disrupting a chip's power supply, clock signal, or electromagnetic environment to cause a processor to skip an instruction or misread a value. Attackers use this to bypass authentication or cryptographic checks in hardware like secure boot systems or payment chips. The patent targets the code patterns that make software susceptible to these physical-layer tricks.

What this means for hardware and firmware security

Fault injection is a particularly nasty class of attack because it operates at the intersection of hardware and software, and most standard code analysis tools don't account for it. Nvidia designs chips used in everything from data center accelerators to automotive systems and embedded controllers, all environments where firmware integrity is critical. A tool that automates this kind of analysis at scale would matter a lot internally.

The self-improving loop is the genuinely interesting part here. Most static analysis tools require manual rule updates when new vulnerability patterns emerge. A system that generates its own training data from confirmed exploits could, in principle, keep pace with new attack techniques without constant human curation. Whether that works as well in practice as it sounds in a patent is a different question.

Source: US 2026/0186754 A1 at the USPTO (PDF). Full patent text and figures are in the official publication.

Get our take in your Top Stories

Liked this breakdown? Add Patentlyze as a preferred source on Google, and our plain-English take shows up more often in your Top Stories the next time Nvidia patent news breaks.

There are more where this came from

We read the new patents from Big Tech, carmakers and more and send you the ones worth knowing. Plain English, free, every week.

Watchlists this filing belongs to

All watchlists →