Hostxpeed
Login Get Started →
Security

How to Set Up Dark Web Monitoring

5 min read
25 views
Jun 11, 2026

Step 1: Install hibp-downloader

sudo apt install curl jq -y

Step 2: Create Check Script

nano check-pwned.sh

Add:

#!/bin/bash
EMAIL="admin@example.com"
curl -s "https://haveibeenpwned.com/api/v3/breachedaccount/$EMAIL" -H "hibp-api-key: YOUR_API_KEY" | jq '.[].Name'

Step 3: Schedule Weekly Check

crontab -e
0 9 * * 1 /home/user/check-pwned.sh | mail -s "Dark Web Exposure Report" your-email

Sign up for free API key at HaveIBeenPwned.

Was this article helpful?