vulnix icon indicating copy to clipboard operation
vulnix copied to clipboard

Add `--upgradable` option to Vulnix to show only packages for which an update exists.

Open Riscky opened this issue 4 years ago • 0 comments

arch-audit has an option --upgradable where it doesn't report vulnerabilities where upgrading won't fix it. Something similar would be nice for Vulnix. This would allow users to quickly see actionable upgrades.

To make this work, a user should pass two derivations to Vulnix, one based on the current nixpkgs snapshot and one based on a newer snapshot (nixpkgs-unstable for example). Vulnix should then only report vulnerabilities that appear in the first report but not in the second.

For syntax I would imagine something like vulnix current.drv --upgradable=newer.drv.

Riscky avatar Oct 04 '21 13:10 Riscky