Inspiration Scam messages have become increasingly convincing. From fake job offers and bank alerts to urgent messages asking people to share OTPs, click links, or transfer money, it is becoming harder to distinguish legitimate messages from fraudulent ones.
We wanted to build something simple that could help people pause and think before trusting a suspicious message. Our goal was to make scam awareness more accessible by creating a tool that not only flags potential risks but also explains why a message might be suspicious. What it does TrustLens is a web-based suspicious message analyzer that helps users identify potential scam messages.
Users can paste a message into the analyzer and receive a risk assessment based on common scam indicators. TrustLens highlights suspicious patterns, explains potential warning signs, and provides practical safety recommendations to help users make more informed decisions.
Key features include:
- Risk analysis: Identifies common scam-related patterns in messages.
- Explainable results: Highlights warning signs instead of simply displaying a score.
- Actionable safety tips: Helps users understand what to do next.
- Privacy-focused processing: Message analysis happens directly in the browser; messages are not uploaded to a server.
- Simple interface: Designed to make scam awareness understandable without requiring technical knowledge. How we built it We built TrustLens as a lightweight web application using HTML, CSS, and JavaScript.
HTML provides the structure, CSS handles the visual design and responsive layout, and JavaScript powers the message analysis engine, risk scoring, detection of suspicious patterns, and dynamically generated explanations.
We focused on creating a clean, accessible interface that works across screen sizes and keeps the experience straightforward. Rather than relying on a backend to process user messages, the analysis runs locally in the browser, which also helps protect user privacy. Challenges we ran into One of our biggest challenges was deciding how to communicate risk without creating a false sense of security. A message may contain suspicious language without necessarily being a scam, while a sophisticated scam may look completely normal.
We also had to balance simplicity with usefulness—making the results easy to understand without overwhelming users with technical details. Designing a meaningful risk assessment, providing clear explanations, and keeping the interface lightweight and responsive were important parts of the development process. Accomplishments that we're proud of We are proud to have turned an everyday cybersecurity problem into a working, publicly accessible web application.
Some of the things we are most proud of are:
- Building a functional message analyzer from the ground up.
- Creating an interface that is simple enough for anyone to use.
- Making risk assessments explainable through individual warning signs.
- Keeping message processing client-side, without uploading the user's text.
- Deploying TrustLens online so people can try it themselves. Most importantly, we built something focused on helping people become more cautious and informed when dealing with suspicious digital messages. What we learned Through building TrustLens, we learned that cybersecurity tools need more than detection logic—they need to communicate clearly, earn users' trust, and be honest about their limitations.
We gained practical experience with frontend development, JavaScript-based pattern analysis, responsive design, user experience, privacy-conscious development, testing, and deployment.
We also learned that a risk score should never be treated as absolute proof. Helping users understand why something may be suspicious can be just as important as identifying the risk itself. What's next for TrustLens — AI-Powered Scam Message Analyzer TrustLens is a starting point, and we have plenty of ideas to make it more capable.
Our future plans include:
- Integrating AI-powered contextual analysis to identify more sophisticated scams.
- Supporting multiple languages to help users from different backgrounds.
- Expanding detection for phishing, fake job offers, impersonation, financial fraud, and social engineering.
- Adding URL analysis to help users assess suspicious links without visiting them.
- Improving detection accuracy through more comprehensive testing and datasets.
- Exploring browser integration for quicker message checking. Our vision is to make TrustLens a practical digital safety companion that helps people think twice, recognize warning signs, and make safer decisions online.
Built With
- css3
- cybersecurity
- frontend-development
- html5
- javascript
- netlify
- web-development