Skip to content

Instantly share code, notes, and snippets.

@LaurentFough
Forked from Strykar/arch-audit.hook
Created May 14, 2021 04:31
Show Gist options
  • Save LaurentFough/9d49609a7fe53b3a8fe7dd5105a95907 to your computer and use it in GitHub Desktop.
Save LaurentFough/9d49609a7fe53b3a8fe7dd5105a95907 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