Inspiration

A scam doesn't always start with a suspicious message. Sometimes, it starts with a phone call from someone pretending to be a bank employee, government officer, customs agent, or even a family member. They create fear, make people feel rushed, and convince them to send money or share personal information before they have time to think.

I wanted to build something that could help people recognize these situations before they become victims. I was especially inspired by the challenges faced by elderly people and anyone who may not be familiar with today's increasingly convincing scams.

Most scam detection tools focus on messages after someone receives them. But what happens when a scammer is talking to someone directly on the phone? That is where I saw an opportunity.

I started building Scam Shield AI with one simple goal: help people recognize potential scams while they are happening, not after they have already lost their money.

What it does

Scam Shield AI is an AI-powered scam detection and protection application that analyzes suspicious messages and live conversations to identify potential scam indicators.

It has two main capabilities.

  1. Manual Scam Detection

Users can paste suspicious text messages, emails, payment requests, or other messages into the application. Scam Shield AI analyzes the content and identifies warning signs such as:

  • Fake bank, government, customs, or delivery service claims.
  • Requests for money or unusual payment methods.
  • Threats, pressure, and urgent deadlines.
  • Requests for passwords, personal information, or OTPs.
  • Attempts to create fear or prevent someone from verifying information.

The application explains why a message may be suspicious instead of simply labeling it as a scam.

  1. Live Conversation Protection

This is the main feature I wanted to bring to life.

Scam Shield AI uses speech recognition to convert a live conversation into text and continuously analyzes the transcript for suspicious patterns.

When high-risk indicators are detected, the application displays a large, full-screen red warning:

STOP! POSSIBLE SCAM DETECTED

The warning tells users not to send money or share personal information and provides simple steps to stay safe. It can also use spoken alerts to make the warning more noticeable.

The goal is to give people an opportunity to pause, think, and independently verify a request before taking action.

How we built it

I built Scam Shield AI as a web application using React and Vite for the frontend and Node.js with Express.js for the backend.

The application uses the browser's speech recognition capabilities to convert spoken conversations into text. The transcript is sent to the backend for analysis as the conversation progresses.

For AI-powered analysis, I integrated the Google Gemini API. I also included a rule-based analysis fallback so the application can identify common scam patterns when AI analysis is unavailable.

The detection logic looks for indicators such as urgency, impersonation, financial pressure, threats, requests for OTPs or passwords, secrecy, and unusual payment instructions.

The application evaluates these indicators and generates a risk score and risk level. The results help users understand what triggered the warning.

When the risk reaches the high-risk threshold, the frontend displays a prominent full-screen warning. Browser text-to-speech can also announce a warning to make sure users notice it.

I also built a manual analysis section so users can test suspicious messages without starting a live session.

Challenges we ran into

One of the biggest challenges was making scam detection useful during a conversation rather than only after receiving a message.

A conversation can contain many harmless words that may also appear in scams. For example, someone mentioning a bank, payment, or urgent situation does not automatically mean they are trying to commit fraud. I had to consider how to identify combinations of suspicious indicators instead of treating individual words as proof of a scam.

Another challenge was handling live speech recognition and continuously analyzing the transcript without making the application feel slow or interrupting the user experience.

Designing the warning experience was also important. A small notification could easily go unnoticed, especially by someone who needs immediate help. I wanted the high-risk warning to be large, clear, and difficult to miss.

Finally, I had to balance AI-based analysis with a fallback detection approach so that the application could still provide basic protection when the AI service was unavailable.

Accomplishments that we're proud of

I am proud that I was able to bring together message analysis, live speech recognition, AI-based scam detection, and an immediate warning experience into one application.

Some of the accomplishments I am most proud of are:

  • Built a working application that supports both manual message analysis and live conversation monitoring through a browser microphone.
  • Integrated Google Gemini for analyzing suspicious content.
  • Implemented a rule-based fallback to identify common scam patterns.
  • Created dynamic risk analysis to help users understand the seriousness of a conversation.
  • Designed a large, full-screen warning for high-risk situations instead of relying on small notifications.
  • Added spoken warnings so users can hear an alert when suspicious activity is detected.
  • Organized the project with a frontend, backend API, and technical documentation.

What makes me most proud is the purpose behind the project. This is not just about detecting suspicious words. It is about helping someone recognize manipulation, avoid making a rushed decision, and protect their hard-earned money.

What we learned

While building Scam Shield AI, I learned that detecting scams is more complicated than searching for suspicious words.

Scammers often use emotional pressure, authority, fear, and urgency to influence people's decisions. A good detection system needs to understand the context of a conversation and explain why something might be dangerous.

I also gained practical experience integrating speech recognition, AI APIs, backend services, and real-time frontend updates into one application.

Most importantly, I learned that AI applications should not only provide answers. They should help people make safer decisions. A warning is much more useful when it clearly explains the risk and tells the user what to do next.

What's next for Scam Shield AI

This is just the beginning. I want to turn Scam Shield AI into a more complete personal safety tool.

My next goals are:

  • Native Android and iOS support: Develop mobile applications that can provide protection within the technical and privacy limitations of each platform.
  • Better live call integration: Explore supported ways to analyze phone conversations with appropriate permissions and user consent.
  • Trusted Circle: Allow users to notify a trusted family member when a high-risk situation is detected, with explicit user permission.
  • Multilingual detection: Support more languages and regional scam patterns so that more people can use the application.
  • Improved accuracy: Test the system against more real-world scam and legitimate conversations to reduce false alarms.
  • More scam categories: Expand detection to cover investment fraud, romance scams, impersonation, technical support scams, and other emerging threats.

My long-term vision is to make Scam Shield AI a simple, accessible safety companion that helps people pause before they pay, recognize suspicious behavior, and feel more confident when dealing with unfamiliar calls and messages.

Because sometimes, one warning at the right moment can prevent someone from losing their life savings.

Built With

Share this project:

Updates

Submission history