Security analysis

One Bug is All It Takes

AI-assisted analysis can reduce the time and expertise needed to find defects. That makes containment and hardware enforcement more valuable, not conventional engineering less important.

Published
4 May 2026
Author
Adam Finney, CHERI Alliance
Article type
Analysis

Discovery is getting faster

Static analysis, fuzzing and sanitizers have helped teams discover defects for years. AI-assisted tools add another way to search large codebases and may identify patterns or exploitation paths that conventional tools miss. They also inherit familiar challenges: false positives, uncertain severity and the cost of investigating a large warning set.

The defensive problem is not only whether a bug can be found before release. Long-lived systems contain third-party code, evolving dependencies and defects that will be discovered after deployment.

CHERI’s role

CHERI places hardware-enforced bounds, permissions and validity on pointers and authority. When code performs an invalid memory operation, a CHERI-aware system can fault at the point of use instead of silently corrupting another object. Compartment boundaries can further limit what a compromised component can reach.

This changes the potential consequence of some defects. It does not prove that every defect is harmless, prevent logic errors or guarantee availability after a fault.

A balanced engineering response

  • Use memory-safe languages where they fit the system and dependency boundary.
  • Continue review, static analysis, fuzzing, sanitizers and adversarial testing.
  • Use CHERI to add runtime enforcement for unsafe-language code and compartment boundaries.
  • Design recovery so a contained fault does not unnecessarily stop the whole service.
  • Measure outcomes on the actual target, workload and threat model.

Read the full analysis

Open the official Alliance article

Compare complementary memory-safety approaches →