Safeguard
Security Guides•

Which vulnerability fixes should you automate first?

Automate patch bumps with strong tests first, then minor bumps, and leave majors and no-fix cases to people. A ladder for building trust step by step.

Safeguard Security Team
4 min read

Automate the fixes that are frequent, low risk and easy to verify: patch version bumps in services with strong tests. Move up to minor bumps once those run cleanly. Keep major upgrades, code changes and no-fix cases with people. Expand one class at a time, based on your own results.

Why a ladder instead of a switch

Remediation capacity grows when routine work stops consuming engineer hours. But automation that opens a bad change costs more than it saves, because it burns reviewer trust. A ladder lets you earn trust in steps, with evidence at each rung.

Google's SRE guidance describes toil as work that is manual, repetitive and automatable, and that scales with the service. Routine dependency bumps match that description closely, which is why they are the natural starting point.

The ladder

RungFix classAutomation stanceWhat proves it is safe
1Patch bump, tests strongOpen pull request automatically, human mergesSeveral weeks of green merges
2Patch bump, tests weakOpen pull request, add test work firstTest gaps closed
3Minor bumpOpen pull request with release notes summaryLow revert rate on rung 1
4Transitive overrideOpen pull request, human reviews closelyReviewers understand lock file diffs
5Auto merge on green for rung 1Optional, only after long clean recordRollback tested
6Major upgrade or code changePeople lead, tools assistNot a candidate for hands-off
7No fixed versionPeople decide: mitigate, replace, acceptDecision, not automation

Rung 5 is optional. Many teams stay at human merge permanently, and that is a sound choice.

What to check before each step up

  1. Look at the revert and rollback count for the rung below. If it is not near zero, stay put.
  2. Confirm CI covers the paths the dependency touches. A green build over thin tests proves little.
  3. Check that reviewers can see what changed. Lock file diffs need a readable summary.
  4. Confirm who owns a failure. A bot's pull request that breaks a build should page the owning team, not the security group.
  5. Keep a documented way to turn a class off.

Starting in report-only mode

Before opening real pull requests, some teams run in a report-only mode: the tool proposes what it would change, and people compare that with what they would have done. See shadow mode for automated remediation for the approach.

Measuring the capacity effect

Track hands-on hours per fixed finding for each rung. The saving shows up as fewer reviewer minutes per fix, not fewer reviewers. Release that time to the classes that need it, such as major upgrades.

Try it yourself

Click through it at your own pace, or open it full screen.

Look at which findings show a fixed version available. Those are the candidates for the lower rungs of the ladder.

Where Safeguard fits

Safeguard's autonomous remediation is off by default and every category starts on Manual. You choose which fix classes may open pull requests, and the changes go through your normal review. That matches the ladder: start small, widen on evidence.

Quick check

Should automated fixes merge without review?

Not at first. Begin with human merge. Consider auto merge only for a narrow class with a long clean record and a tested rollback.

What if our tests are thin?

Improve tests for the services that matter most before automating there. Automation over weak tests moves risk, not removes it.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.