Skip to content

Instantly share code, notes, and snippets.

View Kidev's full-sized avatar
♾️

Alexandre Poumaroux Kidev

♾️
View GitHub Profile
@Kidev
Kidev / check_aur_infected.sh
Created June 12, 2026 18:18
Check if any infected package is installed using Arch authoritative list
#!/usr/bin/env bash
# Pulls the live package list from the official Arch Linux HedgeDoc note.
LIST_URL="https://md.archlinux.org/s/SxbqukK6IA"
echo "Fetching infected package list..."
raw=$(curl -fsSL "$LIST_URL") || { echo "ERROR: failed to fetch $LIST_URL"; exit 1; }
# Extract lines that look like package names only (lowercase, digits, dots, plus, underscore, hyphen)