Have I Been Pwned (HIBP)

Have I Been Pwned (HIBP)

Overview

Check if your personal data has been exposed with Have I Been Pwned (HIBP), your essential security companion. Two simple commands—check_email_address and check_password—instantly reveal if your accounts or passwords have appeared in known data breaches, helping you stay one step ahead of hackers.

Key features include:

check_email_address searches across all known breaches for your email
check_password tells you if a password has been compromised
✅ Returns comprehensive breach details including dates and affected data
✅ Case-insensitive email checking with automatic trimming
✅ Privacy-focused: passwords are checked securely without storing them

Example prompts to invoke Tool Have I Been Pwned (HIBP)

Has my email been in any data breaches?
I'm worried about my old Yahoo account - can you check example@yahoo.com for breaches?
I got a suspicious email - has my account been hacked? Check mike@example.com
Is the password 'Summer2024!' safe to use?
Is 'iloveyou' a compromised password?
Check both my email admin@startup.com and my password 'StartUp2024!' for breaches

Context

Tools
function check_password

Check if a password has been pwned

function check_email_address

Check if an email has been in a breach. Return a list of all breaches a particular account has been involved in. The API takes a single parameter which is the account to be searched for. The account is not case-sensitive and will be trimmed of leading or trailing white spaces.