Automated fix pull requests can clear routine dependency updates quickly, but they change your code, so ask how they are scoped, tested, reviewed and reversed before enabling them. Start with one low risk repository, keep a human approval on every merge, and widen only when the first results earn trust.
What the tool actually changes
Some tools bump a version in a manifest. Others edit source code to adapt to an API change. The second kind carries more risk. Ask which kinds of change are in scope, and whether you can restrict the tool to the safer kind.
Questions to ask
- Is it off by default, and what are the default settings? Prefer a tool that starts conservative and lets you opt in per category.
- Who approves? Can you require a human reviewer on every pull request, and can the tool merge on its own? If yes, can you disable that?
- How does it prove the fix works? It should trigger your existing tests, not replace them. Ask what happens when tests fail.
- What is the blast radius? Can you limit it by repository, severity, or ecosystem?
- How are major version jumps handled? These are where breakage lives.
- Does it explain the change? A good pull request says what advisory it addresses, what version moved, and what changed in the release notes.
- How do you roll back? A small, single purpose pull request makes this simple.
- What data does it need? Write access to repositories is a significant permission. Check scope and token handling.
A safe pilot
- Pick one repository with good test coverage.
- Enable fixes for one category, such as patch level updates for known exploited issues.
- Require review on every pull request.
- Track merge rate, test failure rate and reverts for a month.
- Expand only if reverts stay low.
When manual is better
For code without tests, safety critical components or heavily customised dependencies, automated fixes may cause more harm than the vulnerability. A written note in the repository that says "manual only" is a legitimate result.
Measuring benefit honestly
Count the hours your team used to spend on routine updates and compare them with review time on the generated pull requests. If review takes as long as the old manual work, the benefit is small.
Try it yourself
Open the fix available demo and look at the generated change. Check whether the description tells a reviewer what moved, why, and how to verify it.
Click through it at your own pace, or open it full screen.
Where Safeguard fits: autonomous remediation with fix pull requests is generally available, off by default, with every category set to Manual until you change it; the free scan is at https://gold.safeguard.sh/scan.
Quick check
Should automation merge its own pull requests?
Not at first. Keep human approval until the revert rate is low across a few weeks.
What if tests are weak?
Strengthen tests before automating, or keep fixes manual for that code.
Last reviewed: 19 October 2026.