Skip to content

AUR Security Check Script

Location on disk: ~/.local/bin/aur-check.sh Autostart entry: ~/.config/hypr/modules/autostart.lua

#!/usr/bin/env bash

result=$(comm -12 <(pacman -Qqm | sort) <(curl -s https://paste.cachyos.org/73a714d | sort))

if [[ -n "$result" ]]; then
    notify-send "AUR Security Check" "Affected Packages Found:\n$result"
else
    notify-send "AUR Security Check" "None. No known compromised packages are installed."
fi