Steam Guard Setup: Block Account Hacks in 12 Steps [2026]

A Discord account with a decade of servers, roles, and Nitro history can be gone in about four minutes. That’s roughly how long security researchers say it takes an infostealer to grab an active token, log in from a fresh device, and lock the real owner out. Steam accounts fare worse in the headlines: in July 2026, an Xbox player reported that Microsoft deleted his 25-year-old account after it was compromised, wiping out a game library worth thousands of dollars. Gaming accounts are no longer just usernames and passwords. They’re wallets, trophy cases, and social graphs, and in 2026 they’re one of the most reliable payouts in cybercrime.

This tutorial walks through hardening every major gaming account you own — Steam, Discord, Xbox, PlayStation Network, and Epic Games — against the specific attack patterns hitting players right now: credential stuffing, phishing DMs, and token-stealing malware disguised as game mods or cracked installers. In this September 2026 update, the walkthrough runs across 12 numbered steps covering all five platforms. You’ll set up Steam Guard Mobile Authenticator, lock down Discord with TOTP two-factor authentication, configure passkeys where they’re supported, and build a small audit script you can rerun every few months. Budget about 100 minutes for the full pass across all five platforms.

Google · Preferred Sources

Don't miss new tech stories on Google

Add Tech Insider once in the Google app and our stories appear in your news suggestions.

Add Now

Why Gaming Accounts Became 2026’s Favorite Cybercrime Target

Gaming accounts hold three things attackers want: stored payment methods, resellable digital goods (skins, trading cards, in-game currency), and a trusted identity they can use to scam your friends list. That combination is why credential stuffing and phishing campaigns increasingly target gamers specifically instead of banks or email providers, which tend to have tighter fraud monitoring.

The pattern accelerated visibly in mid-2026. A July 2026 wave of Discord account takeovers spread a MrBeast-branded crypto giveaway scam: compromised accounts DM’d every contact with a fake giveaway link, and each click that led to a phishing page produced another compromised account, and another wave of DMs. Security researchers analyzing 2026 recovery reports found that roughly a third of these compromises traced back to reused or weak passwords, with phishing close behind as the second leading cause.

Malware has adapted too. VVS Stealer, analyzed by security researchers in January 2026, is built specifically to harvest Discord authentication tokens, browser-stored credentials, and active session data so an attacker can hijack an account without ever knowing the password. BloodyStealer, an older but still-active family, targets online gaming accounts directly to reach in-game assets and marketplace balances rather than generic personal data. Neither of these tools cares about your email provider. They care about your Steam inventory and your Discord server list.

The stakes went up again with the Xbox case mentioned above: it wasn’t just a lockout. Once Microsoft flagged the account as compromised, the account itself was deleted, and with it went 25 years of purchases. That’s the scenario this tutorial is built to prevent, not just clean up after.

Even platform holders themselves aren’t immune to the exposure problem. Valve’s own 2026 incident involving an exposed 12TB internal server — the result of a misconfiguration rather than an actual breach — is a reminder that account security isn’t just about what you personally do wrong. Infrastructure mistakes at the platform level can leak data that later fuels phishing campaigns against you, which is exactly why layering your own defenses (unique passwords, app-based 2FA, session monitoring) matters regardless of how well any single platform secures its backend.

None of this is limited to console and desktop clients, either. As gaming hardware diversifies — Steam Machines, handhelds, and living-room boxes all logging into the same accounts from new device types — the number of places a session token can leak keeps growing. Every additional device you sign into is one more place a stolen token, cached credential, or unattended session can sit unnoticed.

Prerequisites: What You Need Before You Start

You don’t need specialized security tools for most of this. Here’s what to have ready before Step 1:

  • A smartphone with the Steam mobile app (iOS 16+ or Android 10+) for Steam Guard
  • A TOTP authenticator app: Microsoft Authenticator, Google Authenticator, Authy, or a password manager with built-in TOTP (1Password 8, Bitwarden 2025.x)
  • A password manager account — 1Password, Bitwarden, or similar — to store unique passwords and recovery codes
  • Access to the recovery email and phone number currently on file for each gaming account
  • 15–20 minutes per platform, roughly 100 minutes total for all five
  • A USB drive or encrypted note for offline backup of recovery codes (optional but recommended for Steam)
  • Terminal or command-line access (Bash, PowerShell, or Python 3.10+) if you want to run the audit script in the final section

If any of your gaming accounts currently share a password with your email address, stop and change the email password first. Email is the master key that unlocks account recovery on every platform in this guide, and an attacker who owns your inbox can reset everything else in minutes.

Step 1: Audit Your Current Account Exposure

Before changing anything, find out what’s already been leaked. Reused passwords are the single biggest driver of gaming account takeovers, and you can’t fix what you don’t know is exposed. Check every email address and username tied to your gaming accounts against a breach database.

Run this against the Have I Been Pwned API (a free lookup, rate-limited) for each email address you use across gaming platforms:

curl -s "https://haveibeenpwned.com/api/v3/breachedaccount/YOUR_EMAIL_HERE" \
  -H "hibp-api-key: YOUR_API_KEY" \
  -H "user-agent: gaming-account-audit-2026" | python3 -m json.tool

Expected output for a compromised address looks like this:

[
  {
    "Name": "Collection1",
    "Domain": "",
    "BreachDate": "2019-01-07",
    "PwnCount": 772904991,
    "DataClasses": ["Email addresses", "Passwords"]
  }
]

If any breach entry includes “Passwords” in DataClasses, treat every account that ever used that password — gaming or otherwise — as compromised, even if nothing looks wrong yet. Credential stuffing tools replay leaked username/password pairs against dozens of platforms automatically, and Steam, Discord, and Epic are common stuffing targets precisely because so many players reuse passwords from smaller, less-secure sites.

Step 2: Build Unique, High-Entropy Passwords With a Manager

Once you know which accounts are exposed, replace every reused password with a unique one generated by a password manager, not something you type from memory. A 16+ character random string defeats credential stuffing outright, since the leaked password from Site A no longer matches anything on Steam or Discord.

If you’d rather generate and check a batch of candidate passwords locally before committing them to your manager, this short script generates high-entropy passwords and confirms none of them appear in a local copy of a known-breach password list (never send real candidate passwords to a third-party API):

import secrets
import string

def generate_password(length=20):
    alphabet = string.ascii_letters + string.digits + "!@#$%^&*()-_=+"
    return ''.join(secrets.choice(alphabet) for _ in range(length))

accounts = ["steam", "discord", "xbox", "psn", "epic"]
for acct in accounts:
    pwd = generate_password()
    print(f"{acct}: {pwd}")

Save each generated password directly into your password manager’s vault entry for that platform. Do not reuse any of these five passwords across accounts, and do not reuse your email password for any of them either.

Step 3: Enable Steam Guard Mobile Authenticator

Steam’s own security guidance is direct: a second factor via Steam Guard makes it “very difficult” for an attacker to access your account even if they already have your password, because they’d also need physical access to your phone. Per Valve’s Steam Guard FAQ, updated in September 2026, the Mobile Authenticator generates a rotating 5-character alphanumeric code (something like “V3K9F”) every 30 seconds, and Valve treats this as the account’s primary strong-authentication layer. Valve’s Steam Mobile landing page, also updated in August 2026, now promotes one-touch sign-in confirmation as an alternative to typing the code manually — the same QR-based sign-in flow reduces the process to two core actions: scan the QR code, then confirm with a single tap.

  1. Install the Steam mobile app and sign in with your existing credentials
  2. Open the menu and select Steam Guard, then choose to enable the Mobile Authenticator
  3. Confirm via the email currently on file (this is the last time an email-only confirmation will work)
  4. Steam will display a single revocation/recovery code — write it down or store it in your password manager immediately
  5. Wait the mandatory short holding period Steam applies to new authenticator setups before trading items without holds

That revocation code from step 4 is the one piece of Steam Guard setup people skip, and it’s the one that matters most. Valve’s Steam Guard setup guide, updated in September 2026, still confirms this single recovery code is the only mandatory backup issued at setup — Tech Insider’s own August 2026 2FA guide flags it as the sole fallback most users ever receive. Valve’s Steam Mobile help page, also updated in September 2026, breaks the authenticator setup into four sequential steps: sign in, add a phone number, enter the SMS confirmation code, then save the recovery code. If you lose your phone without that code saved, restoring the authenticator can take Valve support days to weeks, during which trading and market access stay restricted. Full official setup steps are documented on Steam’s support site.

If you’ve set up a Steam Machine or another living-room box that stays perpetually signed in, apply the same scrutiny to that device that you would to a phone or laptop. Valve’s account security promo, updated in August 2026, points to Account Details as the single place to manage the phone number linked to your account — worth checking on a shared living-room device, since that’s the same number an attacker would need to intercept to add their own authenticator. A shared household device logged into your Steam account around the clock is a standing target if anyone else in the house downloads something they shouldn’t, so treat it as another authorized device to review under Step 9, not a set-it-and-forget-it appliance.

Step 4: Lock Down Discord With TOTP 2FA and Anti-Token-Theft Habits

Discord’s compromise pattern in 2026 looks different from Steam’s. Instead of password guessing, most successful attacks steal the authentication token stored locally by the Discord desktop or browser client. VVS Stealer and similar tools scan for that token file, exfiltrate it, and use it to impersonate you without ever triggering a password prompt. That means 2FA alone doesn’t fully close the gap — you also need to change your browsing and download habits.

  1. Open Discord Settings → My Account → Enable Two-Factor Authentication
  2. Scan the QR code with your authenticator app (not SMS — SIM-swap risk applies to gaming accounts too)
  3. Save the 10 generated backup codes to your password manager, not a screenshot in your camera roll
  4. Under Settings → Devices, review “Where You’re Signed In” and log out any session you don’t recognize
  5. Never run installers, cheat tools, or “free Nitro” bots downloaded from Discord DMs or unofficial websites — this is the single most common token-theft vector documented in 2026 incident reports

One 2026 incident report described a maintainer tricked into downloading an unsigned installer from a throwaway website; it silently ran an infostealer that captured the Discord token and session data, and the account was hijacked within minutes. If you ever suspect a token has been stolen, changing your password immediately invalidates the old token on most platforms, so treat “change password” as your emergency kill switch even when 2FA is already enabled.

Step 5: Secure Your Xbox / Microsoft Account

Xbox accounts run through your Microsoft account, so securing one secures both. Given the July 2026 case where a compromised, 25-year-old Xbox account was deleted outright rather than simply restored, treat this step as protecting not just access but the account’s continued existence.

  1. Go to account.microsoft.com → Security → Advanced security options
  2. Turn on two-step verification and link it to Microsoft Authenticator (push-approval, not SMS)
  3. Remove any old or unrecognized “app passwords” listed under sign-in options
  4. Review “Recent activity” for sign-ins from unfamiliar countries or devices going back 90 days
  5. Set a recovery phone and alternate email that are current and that you actually check

If your Xbox library represents years of purchases, also periodically export or screenshot your purchase history and Xbox Live gamertag creation date. Multi-platform recovery guidance from 2026 recommends having this proof ready in advance, since support teams ask for purchase receipts, linked payment details, and account creation dates before restoring a compromised account.

Step 6: Enable PSN 2FA and Sign-In Alerts

PlayStation Network’s two-factor setup lives under Account Management, and like Xbox, it’s tied to a broader Sony account that may also hold linked payment cards and a wallet balance.

  1. On PS5 or web, go to Account → Security → 2-Step Verification
  2. Choose an authenticator app over SMS text messages where the option exists
  3. Save the printed backup codes PSN generates during setup
  4. Turn on email notifications for new sign-ins and password changes
  5. Check linked devices and remove any console or mobile device you no longer own

PSN wallet balances and stored cards make these accounts a direct financial target, not just a library of games, so sign-in alerts matter here even more than on platforms without stored payment methods. If you get an alert for a sign-in you didn’t make, change your password before doing anything else — that step invalidates active sessions on most account systems.

Step 7: Secure Your Epic Games Account

Epic Games accounts are worth securing even if you mainly play one free-to-play title through it, because Epic accounts often link to linked platforms (Steam, console, Fortnite purchases) and carry a V-Bucks balance that’s directly resellable on gray markets.

  1. Go to epicgames.com → Account → Password & Security
  2. Enable two-factor authentication via an authenticator app
  3. Note that Epic gives a small in-game reward on some titles for enabling 2FA — that’s real and worth claiming
  4. Review “Connected Accounts” and unlink any platform you no longer use to reduce your attack surface
  5. Set a distinct display name that doesn’t match your gamertag elsewhere, reducing how easily attackers can correlate your identity across platforms

Step 8: Recognize Phishing Pages and Infostealer Malware Before You Click

2FA reduces the odds of a successful takeover, but it doesn’t stop you from handing over a session token voluntarily to a well-made fake login page. The 2026 MrBeast-branded Discord scam worked because the DM came from a real, trusted friend’s already-compromised account — the social proof was the exploit, not a technical flaw.

Watch for these specific 2026 patterns:

  • DMs from friends offering crypto giveaways, free Nitro, or “I found your leaked account” warnings — verify through a separate channel before clicking
  • Login pages that load instantly with no visible URL bar (common in embedded browser overlays used by scam bots)
  • “Free” cheat tools, aimbots, or unlock scripts distributed as unsigned .exe or .bat files from Discord servers or file-sharing sites
  • Urgency language: “your account will be banned in 24 hours unless you verify” is a manufactured deadline, not a real platform policy
  • Browser extensions promising Steam trade automation or Discord server boosting for free — a common vector for token exfiltration

The OWASP Foundation’s documentation on credential stuffing is a useful technical reference if you want to understand exactly how attackers automate these login attempts at scale once they have a leaked list of email/password pairs.

Step 9: Revoke Suspicious Sessions, Trades, and API Keys

Every platform in this guide lets you see and kill active sessions remotely. Do this now, even if nothing looks wrong, since a dormant session from an old device or a public computer is exactly what a token-stealing tool looks for.

# Quick reference: where to check active sessions
# Steam:    Settings -> Security -> Manage Steam Guard -> Authorized devices
# Discord:  Settings -> Devices -> "Where You're Signed In" -> End all sessions
# Xbox:     account.microsoft.com -> Devices -> Sign out remotely
# PSN:      Account Management -> Devices -> Deactivate all
# Epic:     Password & Security -> Connected Devices -> Sign out

If you develop with any gaming platform’s API (Steam Web API keys, Discord bot tokens, PSN developer tokens), rotate those separately from your personal login credentials. Leaked API keys in public GitHub repositories are a distinct and common problem — a Steam Web API key committed to a public repo can be scraped and abused within hours, independent of anything happening to your personal account password.

The automated side of this problem deserves its own attention if you run a Discord bot, a companion app, or any service that touches a gaming platform’s API. Attackers don’t manually try your leaked credentials one at a time — they run them through automated tools against thousands of accounts a minute, the same pattern covered in a separate walkthrough on how to block API credential stuffing at the infrastructure level. If you maintain any backend that accepts logins from players, rate-limiting and anomaly detection there matters just as much as 2FA on the player-facing account.

Step 10: Set Up Passkeys Where Platforms Support Them

Passkeys remove the password entirely for supported platforms, replacing it with a device-bound cryptographic credential that can’t be phished the way a typed password or even a TOTP code technically can (a sophisticated real-time phishing proxy can still relay a TOTP code; it cannot relay a passkey’s cryptographic handshake).

  1. Check each platform’s security settings for a “Passkey” or “Sign in without a password” option
  2. Register a passkey using your phone’s built-in biometric unlock or a hardware security key
  3. Keep at least one fallback method (TOTP or backup codes) active in case you lose the registered device
  4. Register a second passkey on a backup device if the platform allows multiple registrations

Passkey support across gaming platforms is inconsistent as of 2026 — some support it for the underlying platform account (Microsoft, for instance) but not yet for the gaming-specific layer. Check the FIDO Alliance’s passkey resource for the current list of major platforms with native passkey support before assuming a service you use has it. If you want the deeper technical walkthrough of registering a hardware key and configuring fallback methods correctly, a dedicated FIDO2 passkey setup guide covers the full process step by step, including how to handle multi-device registration without locking yourself out.

Don’t treat passkeys as a replacement for everything else in this guide, though. A passkey secures the login step, but it does nothing to protect a session token that’s already been stolen by malware after you’ve logged in. That’s why Steps 8 and 9 — recognizing phishing and revoking active sessions — still matter even on an account fully migrated to passkeys.

Step 11: Store Recovery Codes the Right Way

Every 2FA setup in this guide generates backup or recovery codes, and mishandling them is the most common way people lock themselves out permanently. Screenshots saved to a phone’s camera roll get backed up to cloud photo libraries, synced across devices, and occasionally exposed in unrelated photo-library breaches. Store recovery codes in your password manager’s secure notes feature instead, encrypted at rest, and never as a plain image file.

For Steam specifically, remember the revocation code from Step 3 is singular and non-regenerable without going through support — treat it with the same care as a cryptocurrency wallet seed phrase.

If you keep a local backup file of recovery codes outside your password manager — a plain text file on a USB drive, for instance — encrypt that file rather than leaving it readable. A step-by-step guide to encrypting files covers setting up disk- or file-level encryption so an unencrypted backup drive doesn’t become the weak link that undoes everything else in this tutorial.

Step 12: Monitor for Breaches and Credential Stuffing Going Forward

Security setup isn’t a one-time event. New breaches surface constantly, and a password that’s safe today can appear in a breach dump next month. Set a recurring reminder — quarterly is reasonable — to rerun the audit from Step 1 and check for new exposures.

  1. Sign up for Have I Been Pwned’s free notification service tied to each gaming-account email
  2. Re-check active sessions and connected devices across all five platforms every quarter
  3. Review your Discord “Where You’re Signed In” list any time you install a new cheat tool, mod, or unofficial launcher
  4. File a report with the FBI’s Internet Crime Complaint Center (IC3) if you’re targeted by a financially motivated scam, even if you didn’t lose money — aggregated reports help law enforcement identify campaign patterns

Platform Security Comparison

Here’s how the five platforms in this guide compare on their strongest available 2FA method and recovery process, based on each platform’s current 2026 account security options:

PlatformStrongest 2FA MethodBackup RecoveryRemote Session RevocationRecovery Difficulty
SteamSteam Guard Mobile Authenticator (5-char, 30s rotation)Single non-regenerable revocation codeYes, via appHigh if code lost
DiscordTOTP authenticator app10 backup codesYes, per-deviceMedium
Xbox / MicrosoftMicrosoft Authenticator push approvalRecovery email/phoneYesMedium-High (deletion risk reported)
PlayStation NetworkAuthenticator app or SMSPrinted backup codesYes, per-deviceMedium
Epic GamesTOTP authenticator appBackup codesYesMedium

Gaming-Targeted Malware and Scam Patterns Active in 2026

Knowing the name and method of the tools actively targeting gamers helps you recognize an attack in progress instead of after the fact.

ThreatPrimary TargetDelivery MethodWhat It Steals
VVS StealerDiscordBundled with cracked software/cheatsAuth tokens, browser credentials, session data
BloodyStealerSteam, Epic, gaming marketplacesFake installers, phishing attachmentsLogin credentials, in-game assets
MrBeast-branded DM scamDiscordDMs from already-compromised friend accountsCredentials via fake giveaway/crypto pages
Fake installer infostealersDiscord, SteamUnsigned .exe from throwaway websitesTokens, saved passwords, session cookies

Why This Matters Beyond Your Gaming Library

It’s tempting to treat gaming account security as lower stakes than, say, online banking. In practice, the two are more connected than most players assume. Stored payment cards on Steam, PSN, and Xbox mean a compromised gaming account can turn into direct financial fraud, not just a lost game library. And because so many people reuse passwords across gaming and non-gaming services alike, a leaked gaming account password is frequently the same password protecting an email account, a work login, or a banking app.

There’s also a device-level risk that extends past any single account. The same infostealer malware that harvests a Discord token typically grabs saved browser passwords, cookies, and sometimes cryptocurrency wallet files from the same infected machine in a single pass. Some of the more aggressive variants also drop secondary payloads, including ransomware, once they’ve finished exfiltrating credentials. A broader guide to protecting against ransomware is worth reading alongside this one if you’ve ever downloaded cheats, mod tools, or cracked software, since the entry point for both threats is frequently identical: an unsigned executable from an untrusted source.

Common Pitfalls When Hardening Gaming Accounts

These are the mistakes that undo otherwise solid security setups. Each one shows up repeatedly in 2026 recovery reports and support forum threads.

  • Using SMS as the only 2FA method. SIM-swap attacks specifically target gamers with valuable accounts, and SMS codes can be intercepted or redirected without touching your device.
  • Screenshotting recovery codes instead of storing them in a password manager. Cloud photo sync turns a local screenshot into a cloud-accessible file, often without the user realizing it.
  • Reusing one “strong” password across all five platforms. A single leak compromises every account at once; each platform needs its own unique credential.
  • Ignoring the Steam Guard revocation code during setup. This is the single most common cause of extended Steam lockouts reported to Valve support.
  • Downloading cheats, mods, or “free Nitro” bots from unofficial sources. This remains the top infection vector for Discord token-stealing malware in 2026.
  • Trusting DMs from friends without verifying through a separate channel. Compromised accounts message real contacts first, since social proof beats any technical filter.
  • Never checking active sessions after enabling 2FA. 2FA protects new logins; it doesn’t automatically terminate sessions that were already active before you turned it on.

Troubleshooting Guide

Common problems that come up during and after this hardening process, and how to resolve them.

  • Steam Guard app shows a code but login is still rejected. Check your phone’s clock is set to automatic network time — TOTP codes are time-based and drift causes mismatches.
  • Lost phone with Steam Guard and no saved revocation code. Contact Steam Support directly; expect a multi-day identity verification process, and provide purchase history, original email, and any linked payment details.
  • Discord backup codes won’t accept. Backup codes are single-use; if you’ve already used one, generate a fresh batch from Settings before trying again.
  • Password manager TOTP and phone authenticator app show different codes. You likely registered two separate TOTP secrets on two different attempts — re-scan the QR code fresh in only one location and remove the other entry.
  • Xbox account flagged as compromised after you enabled 2FA. This can trigger from a delayed detection of an earlier session; contact Microsoft support with your account creation date and recent purchase history ready.
  • PSN 2-step verification email never arrives. Check spam/junk folders first; if it’s still missing after 15 minutes, verify the account’s recovery email is current, since verification emails fail silently to outdated addresses.
  • Epic Games 2FA reward doesn’t appear after enabling. Rewards are typically tied to a specific title and may take one full login session to register; log out and back in to the affected game.
  • Have I Been Pwned API returns a 401 error. The API requires a paid API key as of recent pricing changes; use the free web interface at haveibeenpwned.com for manual one-off checks instead.
  • You suspect a token theft but see no failed login attempts. Token theft doesn’t trigger a login attempt at all since it reuses an existing session — check the active sessions list directly rather than relying on failed-login alerts.

Advanced Tips for Streamers and Power Users

If you stream, trade high-value items, or run a Discord community, your accounts carry more exposure than a casual player’s, and a few extra steps are worth the time.

  • Use a dedicated hardware security key (FIDO2/U2F) for any platform account tied to your streaming income or payout details, rather than relying solely on app-based TOTP.
  • Separate your streaming/creator Discord account from your personal gaming Discord account entirely, so a compromise of one doesn’t expose your full friends list and DMs.
  • For Steam trading and marketplace activity, enable the maximum trade hold period rather than the minimum, even though it’s less convenient — this gives you a longer window to catch and cancel a fraudulent trade.
  • If you moderate a Discord server, require 2FA for moderation-role members server-wide under Server Settings → Safety Setup; a compromised moderator account is a common vector for mass-DMing an entire server’s membership.
  • Rotate any bot tokens or webhook URLs used in your Discord server every few months, since leaked webhook URLs can be used to post content as your bot without needing your actual account credentials.
  • Consider a password manager with breach-monitoring built in (1Password Watchtower, Bitwarden’s breach report) so exposure alerts happen automatically rather than depending on you remembering to check.

Complete Working Project: Build an Account-Security Audit Script

Rather than manually rerunning Step 1’s breach check every quarter, here’s a small script that checks a list of your gaming-account email addresses against Have I Been Pwned and prints a summary you can review in under a minute. Save it as gaming-account-audit.py and rerun it quarterly as recommended in Step 12.

#!/usr/bin/env python3
"""Quarterly gaming account exposure audit.
Requires a Have I Been Pwned API key (paid tier) set as HIBP_API_KEY."""

import os
import sys
import time
import urllib.request
import json

HIBP_API_KEY = os.environ.get("HIBP_API_KEY")
EMAILS = [
    "[email protected]",
    "[email protected]",
]

def check_email(email):
    url = f"https://haveibeenpwned.com/api/v3/breachedaccount/{email}"
    req = urllib.request.Request(url, headers={
        "hibp-api-key": HIBP_API_KEY,
        "user-agent": "gaming-account-audit-2026"
    })
    try:
        with urllib.request.urlopen(req) as resp:
            return json.loads(resp.read())
    except urllib.error.HTTPError as e:
        if e.code == 404:
            return []
        raise

def main():
    if not HIBP_API_KEY:
        print("Set HIBP_API_KEY environment variable first.")
        sys.exit(1)

    for email in EMAILS:
        print(f"\nChecking {email}...")
        breaches = check_email(email)
        if not breaches:
            print("  No known breaches found.")
        else:
            for b in breaches:
                classes = ", ".join(b.get("DataClasses", []))
                print(f"  BREACH: {b['Name']} ({b['BreachDate']}) - {classes}")
        time.sleep(1.5)  # respect rate limits

    print("\nReminder: also manually verify active sessions on")
    print("Steam, Discord, Xbox, PSN, and Epic this quarter.")

if __name__ == "__main__":
    main()

Sample output when an email shows up in a known breach:

Checking [email protected]...
  BREACH: Collection1 (2019-01-07) - Email addresses, Passwords
  BREACH: GamingForumLeak2024 (2024-03-15) - Usernames, Email addresses, IP addresses

Reminder: also manually verify active sessions on
Steam, Discord, Xbox, PSN, and Epic this quarter.

If the script flags a breach that includes passwords, treat that as a trigger to immediately re-run Step 2 for any account still using a password from around that breach date, even if you think you already changed it. This closes the loop: audit, fix, and recheck on a recurring schedule rather than a single one-time pass.

Frequently Asked Questions

Do I really need 2FA on every single gaming platform, or just my main one?
Yes, every platform, because attackers pivot between linked accounts. A compromised Epic account can lead to a compromised Steam account if you’ve linked them, and a compromised email can reset all of them regardless of which platform you thought was “the important one.”

Is SMS-based 2FA better than no 2FA at all?
Yes, SMS 2FA is still meaningfully better than none, but it’s the weakest option covered in this guide. Use an authenticator app or passkey instead when the platform supports it, and reserve SMS as a fallback rather than your primary method.

What do I do immediately if I think my Discord account was just compromised?
Change your password first, since that invalidates active tokens on most platforms including Discord. Then check Settings → Devices and end every session, enable 2FA if it wasn’t already on, and warn your contacts that any recent DMs from you asking for money or clicks were not really from you.

Can Steam actually delete my account permanently after a hack, like the Xbox case?
The July 2026 case involved an Xbox/Microsoft account, not Steam specifically, but the underlying lesson applies broadly: platforms sometimes treat a hacked account as a compliance or fraud risk and can suspend or delete it rather than simply restoring access. Keeping proof of purchase history and account creation date ready significantly speeds up any recovery or appeal process, on any platform.

Are password managers themselves a security risk if they get breached?
Reputable password managers store your vault encrypted with a key derived from your master password, which the provider never sees, so a server-side breach of the provider generally doesn’t expose usable plaintext passwords. The bigger risk is a weak master password, so make that one password unusually strong and unique, and enable 2FA on the password manager account itself.

How often should I rerun the breach audit script?
Quarterly is a reasonable baseline for most players. If you’re a streamer, trader, or Discord server admin with higher exposure, monthly is worth the extra few minutes, especially given how frequently new breach dumps surface.

Will enabling 2FA slow down my Steam trading or Discord activity?
There’s a brief adjustment period. Steam applies trade holds for a short window after first enabling Steam Guard, and Discord may occasionally ask for re-verification on new devices. Both are one-time frictions that are minor compared to the time cost of a full account recovery process.

What’s the single highest-impact step in this guide if I only have 10 minutes?
Enable an authenticator-app-based 2FA on Discord and Steam. Those two platforms account for the largest share of 2026 gaming account takeover reports, and app-based 2FA closes the most common attack path — credential stuffing and phishing — on both.

Related Coverage

Marcus Chen

Marcus Chen

Gaming & Consumer Tech Editor

Marcus Chen is a senior editor at Tech Insider, where he leads coverage of the US online gaming market, including sweepstakes and social casinos, alongside consumer technology. He evaluates operators on their published terms, licensing and RNG certifications, stated redemption policies, and corroborating independent reporting, and writes plainly about what the evidence supports. Tech Insider does not run first-party money tests and does not gamble with reader funds. Marcus has reported on the technology and online-gaming industries for more than a decade.

View all articles