用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/taracodlabs/aiden --skill haveibeenpwned命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
基于 SOC 职业分类
正在显示 SKILL.md
| name | haveibeenpwned |
| description | Check email/username against HIBP v3 breach database |
| category | security |
| version | 1.0.0 |
| license | Apache-2.0 |
| origin | aiden |
| tags | security, breach, pwned, email, password, leak, osint, hibp |
| env_required | ["HIBP_API_KEY"] |
Look up whether an email address has appeared in any publicly known data breaches. Uses the Have I Been Pwned v3 API.
Requires: HIBP_API_KEY in .env — $3.50/month subscription at haveibeenpwned.com/API/Key
$email = "user@example.com"
$key = $env:HIBP_API_KEY
$url = "https://haveibeenpwned.com/api/v3/breachedaccount/$([Uri]::EscapeDataString($email))?truncateResponse=false"
$result = Invoke-RestMethod -Uri $url -Headers @{ "hibp-api-key" = $key } -ErrorAction SilentlyContinue
if ($null -eq $result) {
Write-Host "✅ $email was NOT found in any known data breaches."
} else {
Write-Host "⚠️ $email found in $($result.Count) breach(es):"
$result | ForEach-Object {
Write-Host " • $($_.Name) ($($_.BreachDate)) — $($_.DataClasses -join ', ')"
}
}
$email = "user@example.com"
$key = $env:HIBP_API_KEY
$url = "https://haveibeenpwned.com/api/v3/pasteaccount/$([Uri]::EscapeDataString($email))"
$result = Invoke-RestMethod -Uri $url -Headers @{ "hibp-api-key" = $key } -ErrorAction SilentlyContinue
if ($null -eq $result) {
Write-Host "✅ No paste exposures found for $email"
} else {
Write-Host "Found in $($result.Count) paste(s):"
$result | Select-Object Source, Title, Date | Format-Table
}
$key = $env:HIBP_API_KEY
$emails = Get-Content "emails.txt"
foreach ($email in $emails) {
Start-Sleep -Milliseconds 1600 # respect 1 req/1.5s rate limit
$url = "https://haveibeenpwned.com/api/v3/breachedaccount/$([Uri]::EscapeDataString($email))"
$res = Invoke-RestMethod -Uri $url -Headers @{ "hibp-api-key" = $key } -ErrorAction SilentlyContinue
$status = if ($res) { "PWNED ($($res.Count) breaches)" } else { "Clean" }
Write-Host "$email — $status"
}
"Check if test@example.com has been in any breaches" → Run the single-email check above with that address.
"Was my email leaked in the Adobe breach?"
→ Run the single check; then filter: $result | Where-Object Name -eq 'Adobe'
"Check all emails in a file for breaches" → Use the bulk check snippet — it respects the 1.5s rate limit automatically.
Start-Sleep -Milliseconds 1600 in loopsInvoke-RestMethod -ErrorAction SilentlyContinue handles this silently/range/{hash5} endpoint — no API key requiredHIBP_API_KEY — subscribe at https://haveibeenpwned.com/API/Key ($3.50/month)