NetSafe's tools are not running. JavaScript is turned off, or the browser blocked or could not find the scripts. On a hosted site (Netlify, GitHub Pages), check that the js, css and assets folders were uploaded next to index.html, with lower-case names. On your own computer, run python serve.py (see the README) or open index.html in a current Chrome, Edge or Firefox. If no details appear below, open the browser console (F12): a script blocked from cloudfront.net means Netlify's old asset optimization is on (the included netlify.toml turns it off).

Check it before you click, reply or connect.

NetSafe is a free, private safety assistant for everyday internet situations. Paste a message or a link, test a password, or describe a Wi-Fi network, and it tells you in plain English whether to be careful, why, and exactly what to do next.

Runs on your device. Nothing you type is stored or sent.

SMS from +92 300 0000000

HBL Alert: Your account will be blocked3 within 24 hours4. Verify your CNIC and OTP1 now at hbl-verify.example/login2

High scam warning level

Never share an OTP or PIN, even with someone who says they are your bank.

What NetSafe shows for a made-up bank SMS.

The purpose of this project

What is NetSafe for?

The problem

Every day people get fake bank SMS messages, suspicious links and unfamiliar Wi-Fi networks. Words like OTP, HTTPS or WPA2 are confusing, so many people simply guess, and guessing wrong can cost money or accounts.

Our objective

Help ordinary people make a safer decision in four everyday situations: understand the warning signs in plain English, and know exactly what to do next, even if they already clicked or replied.

Who it is for

Anyone who uses the internet: students, families, shop owners. No technical knowledge needed. Everything runs on your own device, and nothing you type is stored or sent.

After using NetSafe you can:

Pick a situation

What would you like to check?

Got a suspicious message?

A WhatsApp, SMS or email asking for an OTP, money or a password.

Check a message

Not sure about a link?

See whether a web address looks fake, without opening it.

Check a link

Is your password strong?

Test a made-up password and learn how to make it better.

Check a password

Using public Wi-Fi?

Find out how risky a network is and what is reasonable to do on it.

Assess a network

Also: see everything you have checked in your Overview, try real encryption in the Crypto Lab, or read the Learn glossary.

How NetSafe turns warning signs into advice.

How it works

Choose what to check

A link, a message, a password or a Wi-Fi network. Paste or describe it. Nothing leaves your device.

See why

Transparent rules (not AI) find warning signs. Each one is explained: what we noticed, why it matters and what could happen.

Know what to do

Get clear next steps, including what to do if you already clicked or replied. Your overview shows what you have and have not checked.

NetSafe is an educational, rule-based tool. It cannot guarantee that anything is safe, and it never opens links or scans networks.

Computer Networks ideas it puts into practice: Wi-Fi security protocols, encryption and hashing, HTTPS/TLS, authentication, phishing and man-in-the-middle attacks.

Everything you have checked, in one place.

Your security overview

This keeps a short summary of each check you run, in this tab only. It never keeps passwords, messages, full links or network names. There is no overall safety score, because the checks measure different things.

Got a message that feels off? Check it before you reply.

Is this message a scam?

Paste a WhatsApp message, SMS or email. NetSafe looks for wording scammers commonly use and highlights it. This is simple rule-based matching, not AI. Nothing you paste is stored or sent anywhere. Do not paste real OTPs or passwords.

Try an example:

No message checked yet. Results appear here.

Answer a few questions. Nothing is scanned or stored.

Wi-Fi risk assessment

Password protection
How do I find the security type?
  • iPhone: Settings, Wi-Fi, then the (i) next to the network.
  • Android: Settings, Wi-Fi, then the network or its gear icon.
  • Windows: Settings, Network & internet, Wi-Fi, then the network's properties.
  • Mac: hold Option and click the Wi-Fi icon in the menu bar.

Menus differ between devices and versions. If you cannot find it, choose "I don't know".

Know the terms behind the risk.

Security education

How NetSafe decides

Every result comes from the rules below. Nothing is hidden, and none of it is AI. The tables are generated from the same data the checks use.

Classic vs modern encryption

Classic ciphers (Caesar, Vigenere, Playfair) use small key spaces and keep letter patterns visible. They fall to brute force and frequency analysis, quickly with a computer.

Modern encryption (AES in WPA2/WPA3, TLS in HTTPS) uses public, heavily tested algorithms with large keys. Security comes from the key, not a secret method (Kerckhoffs's principle). WPA2 derives its key from your password with PBKDF2 hashing, and WPA3 uses SAE, a password-based key exchange. Either way, a weak or widely shared password weakens protection.

See real encryption and hashing run in your browser.

Cryptography Lab

1. A classic cipher: Caesar

Educational demo only. Classical ciphers must never be used to protect real data or Wi-Fi.


Only 25 possible keys exist, so an attacker simply tries them all. AES-256 has about 1.2 x 10^77 possible keys.

2. Real encryption: AES-GCM

This uses the same kind of encryption as HTTPS and WPA3 (AES with a key you choose through a passphrase). It runs in your browser with the Web Crypto API. Nothing is stored or sent. It is a learning demo, not a tool for protecting real secrets. Use made-up text.

What happens: your passphrase is turned into a 256-bit key (PBKDF2, 600,000 rounds). A random salt and random nonce are added, so encrypting the same message twice gives different output. AES-GCM then encrypts the message and adds an authentication tag. If the passphrase is wrong, or even one character changes, decryption fails instead of giving wrong output. That is integrity protection.

3. Hashing: SHA-256

A hash is a fixed-size fingerprint of data. It cannot be turned back into the original. The same input always gives the same hash.

SHA-256 of your text


SHA-256 of the same text plus one full stop


Notice how a tiny change gives a completely different hash. This is how hashes reveal that a file was changed. Plain SHA-256 is not suitable for storing passwords because it is very fast to guess against. Services use slow, salted methods such as bcrypt, scrypt, Argon2 or PBKDF2.

Strength is checked in your browser only.

Password strength checker

Runs only in your browser. Nothing is sent, stored or logged. Practise with a made-up password and never type one you really use.

Longer is stronger. Try a made-up phrase of four unrelated words.

Type a password to see an estimate.

Why every account needs its own password

When a website is breached, attackers try the leaked email and password on other sites. If you reused it, one breach opens many accounts.

Why multi-factor authentication matters

A second step (an authenticator app or security key) stops a stolen password from being enough. Never share these codes with anyone.

An easier way

Use a long passphrase for the few passwords you must remember, and a reputable password manager for the rest.