Skip to content

Instantly share code, notes, and snippets.

@Strykar
Created November 7, 2019 06:08
Show Gist options
  • Star 4 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Strykar/fc5289cf966e3b54d2ae9d3b01940afa to your computer and use it in GitHub Desktop.
Save Strykar/fc5289cf966e3b54d2ae9d3b01940afa to your computer and use it in GitHub Desktop.
Pacman post transaction hook to list vulnerable packages base on Arch CVE
[Trigger]
Operation = Install
Operation = Upgrade
Operation = Remove
Type = Package
Target = *
[Action]
Depends = curl
Depends = openssl
Depends = arch-audit
When = PostTransaction
Exec = /usr/bin/arch-audit
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment