mathewboswell.com — human-approval-ai-security-automation.md
guest@mathewboswell:~$ cat human-approval-ai-security-automation.md

The Role of Human Approval in AI-Driven Security Automation

2024-06-29 · # security # automation # llms # governance

Security automation discussions tend to drift toward one of two extremes.

One says every AI-generated change needs a human to review it. The other says the point of automation is removing humans from the loop. Both sound reasonable in a meeting. Both fail in practice.

Why blanket review fails

Requiring manual approval for every change sounds safe. In reality, it produces a review queue that grows faster than people can clear it.

Reviewers facing dozens of near-identical patch pull requests start skimming. Then approving without reading. The control still exists on paper, but it no longer catches anything. Meanwhile, genuinely risky changes wait in the same queue as trivial ones.

Blanket review also wastes the speed automation is supposed to provide. If a low-risk patch waits three days for a click, the vulnerability stays open for three days.

Why blind automation fails

The opposite approach fails differently. An automated system that merges and deploys whatever it produces will eventually ship something wrong: a bad version choice, a code change that passes tests but alters behavior, or a configuration change with side effects nobody anticipated.

AI-generated changes add their own risks. Models can misread advisories, make plausible but incorrect edits, or be influenced by malicious text in the content they process. Without a checkpoint, those errors go straight to production.

Risk-tiered approval

The workable middle ground is matching the level of review to the risk of the change. Define tiers based on observable properties, not on the model's own opinion of its work.

Tier 1 — automated, with checks

  • Patch-level dependency updates
  • No code changes beyond version files and lockfiles
  • All tests and security scans pass
  • Non-critical services

Tier 2 — single reviewer

  • Minor-version updates
  • Small AI-authored code changes to restore compatibility
  • Configuration changes within established patterns

Tier 3 — owner and security review

  • Major-version upgrades
  • Changes to authentication, authorization, cryptography, or secrets handling
  • Infrastructure or network policy changes
  • Anything touching critical services or regulated data

Tier 4 — not automated

  • Actions that delete data, change IAM, or disable controls

The specific criteria will differ by organization. The structure is what matters.

Calculating the tier

The tier should come from facts about the change: the size of the diff, which files it touches, the version jump, the service's criticality, and test results. Calculate it in the pipeline using policy as code.

Don't let the model choose its own tier. A model that labels its change "low risk" isn't providing a control.

Making approval meaningful

When a human does review, give them what they need to make a real decision:

  • A clear summary of what changed and why
  • The evidence behind the change: advisory, finding, affected assets
  • Test and scan results
  • Which parts of the diff were written by the model
  • The rollback plan

A reviewer who understands the change in two minutes will catch more than one facing a wall of unexplained diffs.

Also watch for approval fatigue. If one reviewer approves hundreds of changes a week, the tier boundaries probably need adjusting, either to automate more of the routine work or to spread review more evenly.

Accountability

Approval isn't just a gate. It is a record of who accepted a risk.

For automated tiers, accountability sits with whoever defined and approved the policy. For reviewed tiers, it sits with the approver. Either way, a person is responsible. That keeps the organization honest about what it is choosing to automate.

Adjusting over time

Tiers shouldn't be fixed forever. Review outcomes regularly:

  • How often did Tier 1 changes cause incidents or reverts?
  • How often did reviewers reject or modify Tier 2 changes?
  • Are Tier 3 reviews catching real problems?

If a tier performs well for months, consider widening it. If it produces surprises, narrow it. Let evidence move the boundaries.

The principle

Human approval is valuable when it is focused on decisions that need judgment. Risk-tiered approval does that: routine changes move fast, risky ones get real scrutiny, and the most dangerous actions stay out of automation's reach.

guest@mathewboswell:~$ cd /posts
guest@mathewboswell:/posts/human-approval-ai-security-automation2026 — System 1.0