Spotting Phishing
Phishing is a message that pretends to be someone you trust to make you act: click, pay, log in or share a code. It is the most common way accounts are broken into. Warning signs:
- urgency or threats ("act in 1 hour or your account closes");
- a sender or link that is almost right (
paypa1.com,bank-secure-login.net); - a request for a password, code or payment details;
- an unexpected attachment, or a link whose real address differs from the text.
When unsure, do not click: open the official site yourself, or call the organisation on a number you already know. The example checks a link for simple red flags. Real filters combine many more signals.
What is the safest response to an urgent email asking you to log in through a link?
Write suspicious(text) that returns True if the message contains any of the words urgent, verify or suspended (any capitalisation). Print results for the two messages, one per line.
Finish the quick check (and any code exercise) to complete this lesson, or mark it done yourself.
Tip: use the left and right arrow keys to move between lessons.