AutoFix for Open Source Dependencies
Aikido Local Scan accounts DO NOT have access to AutoFix within the UI. If you want to use AutoFix locally, we suggest using our IDE plugins.
Aikido AutoFix creates pull requests that fix vulnerabilities in your open source dependencies by upgrading affected packages. Upgrades always target the minimum version needed to resolve the issue. Minor and patch bumps are preferred over major ones, keeping breaking changes to a minimum. AutoFix groups fixes per repo and lockfile, so each PR stays focused and mergeable. In some cases, a single upgrade removes an entire class of vulnerabilities rather than just one.
If a major version upgrade is proposed, no minor or patch version exists that resolves the vulnerability.

Autofix options
AutoFix can fix vulnerabilities in two ways:
Update Top-Level Dependencies identifies and upgrades the top-level dependencies responsible for introducing the vulnerability. The package manager resolves the correct version of the vulnerable sub-dependency automatically. This is the default and recommended strategy, supported for JavaScript, .NET, Java, Kotlin, and Python.
Add Overrides for Dependencies pins the vulnerable sub-dependency to a specific patched version. This is useful when the top-level dependency can't be upgraded yet, for example because a major version bump would be breaking.
There is actually a third option, by using hardened libraries. More info here.

When using Add Overrides for Dependencies to fix multiple vulnerabilities at once, the All available fixes dropdown lets you control which packages are included:
All available fixes — fixes everything, including major version bumps
Minor and patch versions only — skips any fix that requires a major version bump
Critical issues only — only fixes issues with a Critical Aikido priority

After you will be shown with a progress window (bottom right) on the state of the PR creation. You will receive an update once the PR is ready.

Example video of setting up AutoFix and creating your first PR
Last updated
Was this helpful?