Inspiration

Every day, people get links by text, email, or social media that look like their bank, PayPal, or a delivery service, but lead somewhere else. On a phone, the tricks are easy to miss: a 1 instead of an l, an extra subdomain, an @ hiding the real destination. We wanted a simple tool anyone could use before clicking, that does not just say "risky" but explains why, in plain language.

What it does

You paste a URL and you get a score out of 100. 100 is good, 0 is bad. Green, orange, red. Below the score, it tells you what it found. No HTTPS. Fake brand. IP address instead of a domain name. Too many subdomains. 12 checks in total. You also see your history of the last 10 checks, and you can clear them. It works in French and English, no account needed.

How we built it

Python and Flask. I had a small prototype before today with 6 rules. Today we rebuilt it together from a clean starter and went to 12 rules. The page sends the URL to Flask, Flask checks it and sends back JSON with the score and the reasons. The brands, scam words and extensions are in separate files, so we can add one without touching the code. For fakes, we catch the number tricks like paypa1 and typos like desjardlns. We also check the domain age with RDAP. It runs on port 5001 because 5000 is used by AirPlay on Mac.

Challenges we ran into

Git in the morning. First push was only the README. Then the templates were empty, 0 bytes. Then a fresh clone would not run because chargement.py was missing. We lost time on that.

Then paypa1.com gave 100. That made no sense. The brand list was nested and the code wanted it flat, so it found nothing.

Later in the day, the page could not talk to Flask. Wrong port, CORS, cookies. The message just said server not responding, so we had to check the terminal to find what was really wrong.

Accomplishments that we're proud of

The main thing is it works. This morning we had almost nothing on GitHub. Tonight we have a demo that runs, in French and English, and explains itself.

We like that it does not just give a number. It says why, in normal words. And the brand check works, even with the 1 trick and the typos.

What we learned

We learned Flask by building with it. Routes, JSON, sessions. Not just tutorials.

We learned to check what was actually pushed to GitHub. And that sometimes the bug is not in the code, it's in the data file next to it.

We also learned why you never hardcode a secret key. Mine comes from an environment variable. And CORS and cookies, we understand now why everyone complains about that part.

What's next for Sentinelle Web

First, follow shortened links to see where they really go. Right now we just flag them.

Then put it online, so people can try it without running Python. And later maybe a browser extension, to check a link right where you see it.

Built With

Share this project:

Updates

Submission history