Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions prevention/block-shai-hulud.sh
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,12 @@ download_scanner() {
TEMP_DIR=$(mktemp -d)

# Download scanner files
if ! curl -sSL https://raw.githubusercontent.com/rapticore/OreNPMGuard/main/shai_hulud_scanner.py -o "$TEMP_DIR/shai_hulud_scanner.py"; then
if ! curl -sSL https://raw.githubusercontent.com/rapticore/otto-de/main/shai_hulud_scanner.py -o "$TEMP_DIR/shai_hulud_scanner.py"; then
log_error "Failed to download Python scanner"
return 1
fi

if ! curl -sSL https://raw.githubusercontent.com/rapticore/OreNPMGuard/main/affected_packages.yaml -o "$TEMP_DIR/affected_packages.yaml"; then
if ! curl -sSL https://raw.githubusercontent.com/rapticore/otto-de/main/affected_packages.yaml -o "$TEMP_DIR/affected_packages.yaml"; then
log_error "Failed to download package database"
return 1
fi
Expand Down
6 changes: 3 additions & 3 deletions prevention/github-actions/shai-hulud-blocking.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ jobs:
- name: 🚨 Download OreNPMGuard Scanner
run: |
echo "🔍 Downloading latest OreNPMGuard scanner..."
curl -sSL https://raw.githubusercontent.com/rapticore/OreNPMGuard/main/shai_hulud_scanner.py -o shai_hulud_scanner.py
curl -sSL https://raw.githubusercontent.com/rapticore/OreNPMGuard/main/shai_hulud_scanner.js -o shai_hulud_scanner.js
curl -sSL https://raw.githubusercontent.com/rapticore/OreNPMGuard/main/affected_packages.yaml -o affected_packages.yaml
curl -sSL https://raw.githubusercontent.com/otto-de/OreNPMGuard/main/shai_hulud_scanner.py -o shai_hulud_scanner.py
curl -sSL https://raw.githubusercontent.com/otto-de/OreNPMGuard/main/shai_hulud_scanner.js -o shai_hulud_scanner.js
curl -sSL https://raw.githubusercontent.com/otto-de/OreNPMGuard/main/affected_packages.yaml -o affected_packages.yaml
chmod +x shai_hulud_scanner.py shai_hulud_scanner.js

- name: 🔍 Scan package.json files
Expand Down
2 changes: 1 addition & 1 deletion shai_hulud_scanner.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const SHAI_HULUD_IOCS = {
dockerPrivilegeEscalationPattern: /docker\s+run\s+--rm\s+--privileged\s+-v\s+\/:\/host/
};

const GITHUB_YAML_URL = "https://raw.githubusercontent.com/rapticore/OreNPMGuard/main/affected_packages.yaml";
const GITHUB_YAML_URL = "https://raw.githubusercontent.com/otto-de/OreNPMGuard/main/affected_packages.yaml";

// Global cache for affected packages data
let _affectedPackagesCache = null;
Expand Down
2 changes: 1 addition & 1 deletion shai_hulud_scanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
'docker_privilege_escalation_pattern': r'docker\s+run\s+--rm\s+--privileged\s+-v\s+/:/host'
}

GITHUB_YAML_URL = "https://raw.githubusercontent.com/rapticore/OreNPMGuard/main/affected_packages.yaml"
GITHUB_YAML_URL = "https://raw.githubusercontent.com/otto-de/OreNPMGuard/main/affected_packages.yaml"

# Global cache for affected packages data
_affected_packages_cache = None
Expand Down
Loading