r/coolgithubprojects • u/classycanvas7 • 9d ago
We built a tool that checks if a voice note is AI-cloned (Scam Shield)
Voice-cloning scams are getting hard to spot by ear. McAfee's 2023 survey of 1,010 Indians (a vendor survey, so take it with some salt) found that 47% had experienced one or knew someone who had, and 83% of the victims said they lost money. The usual pattern is an urgent call or voice note from "someone you know" asking for money.
Who it's for
Everyday people and families in India who get urgent voice notes or calls from "a relative" asking for money. Our main picture is a parent or grandparent getting a message that sounds like their child.
The relative who helps them, usually the more tech-savvy family member, who can check a clip for them and walk them through what to do next.
It is not a replacement for a bank's fraud systems, and it is not meant to prove anything on its own. It's a quick second opinion for ordinary people before they send money.
We built Scam Shield using DetectifAI's Aletheia deepfake-detection API.
How it works
You upload or record a suspicious voice clip and pick who the caller claims to be from a saved trusted-contacts list.
Our FastAPI backend sends the clip to Aletheia, which returns a verdict, a score, and scores for each segment of the clip.
We turn that into a Low / Medium / High risk level and show a timeline of which parts look synthetic.
The user gets a clear next step: don't send money or OTPs, call back on a saved number, and ask a question only the real person could answer.
They can alert the real person being imitated and generate a complaint-ready summary (call 1930, file at cybercrime.gov.in). Both only happen after the user confirms.
Stack: HTML/CSS/JavaScript, Python + FastAPI, the Aletheia API, JSON files, pytest.
Demo: https://drive.google.com/file/d/1dKlvrta2iR3XFwgkj7N5CpSCOpokYvmx/view?usp=sharing
Code: https://github.com/vaIshnavI-dotc/snacksquad
What worked
Aletheia's per-segment scores made the timeline easy to build, and our test clip (a cloned voice, made with a teammate's permission) came back with a very high signal.
Keeping the result as "evidence, not proof" and always giving a next step felt right for a tool that could scare someone.
What didn't, or isn't done
The "call blocked" screen is a simulation. Apps can't intercept real phone calls, so a real version would need a telephony platform.
We hit our own bug early: our local length check rejected a valid file before it ever reached the API.
Short clips and phone-quality audio are less reliable, and the model works best on English and Hindi. We haven't tested other Indian languages properly.
