Skip to content

Instantly share code, notes, and snippets.

View GodsonLeigh's full-sized avatar

Leigh Godson GodsonLeigh

  • 21:47 (UTC +01:00)
View GitHub Profile
@GodsonLeigh
GodsonLeigh / scan-lockfiles-count.sh
Last active January 15, 2026 14:41 — forked from GraemeF/scan-lockfiles-rg.sh
Look for compromised packages
#!/bin/bash
# Set the URL for the latest list of compromised packages
COMPROMISED_LIST_URL="https://raw.githubusercontent.com/Cobenian/shai-hulud-detect/main/compromised-packages.txt"
# Inform the user that the list is being downloaded
echo "Downloading latest compromised packages list..."
# Download the compromised packages list to a local file
curl -s "$COMPROMISED_LIST_URL" -o compromised-packages.txt