DEV Community

Anubhav
Anubhav

Posted on

Sentinel – Auditory Trust Layer

I want to start with a scenario that kept bugging us while we were building this.

Imagine your grandmother gets a call. The voice on the other end sounds exactly like her grandson, panicking, asking for money right now. Voice cloning tools can fake that with a few seconds of audio, so it isn't far-fetched. [Optional: add one real story or news item you read here.]

Now imagine the opposite. The voice is completely real. It's actually the customer calling their bank, but a scammer on another line is telling them what to say. Every voice check passes, because it really is them. The money leaves anyway.

Most voice security is built to answer one question: is this the right voice? We kept thinking it also needs to answer a second one: is this request safe? That's how Sentinel started.

So what is Sentinel?

Sentinel is an auditory trust layer. It sits between a voice-enabled app and its backend, and every request passes through it before anything important happens. To show how it works, we built a mock banking app with a voice assistant, but the idea is that you could put it in front of a call centre, an enterprise tool or a smart assistant just as easily.

It works in two steps. The first checks the voice itself: is it a deepfake or a replay, and does it match the person who enrolled? [We used Detectif.ai's Aletheia for the deepfake part and Eidos for speaker matching, so we didn't have to build detection models from scratch.]

The second step is the one I'm most proud of. Even when the voice checks out, Sentinel looks at what's being asked. Is this a normal balance check, or a big transfer to a payee that's never been used? Does it fit how this person usually behaves? Does the conversation sound rushed or scripted? Based on that, it lets the request through, asks for something extra like a PIN or challenge phrase, or stops it.

Low-risk things stay smooth. We didn't want a security tool that makes people hate using their own bank.

The part that mattered most to us

Partway through the project we started thinking about who relies on voice the most, and the answer was people who are blind or have low vision. For them, talking to a banking assistant isn't a gimmick. It can be the difference between handling their own money and needing someone else to do it.

It also makes them a bigger target. If you can't see the screen, it's much harder to notice a swapped QR code, a wrong amount or a suspicious caller.

So we designed Sentinel to work with smart glasses like Meta's. The glasses become the interface. You speak to your assistant, Sentinel protects the request, and before any payment the assistant reads back who's being paid, how much and why. The camera can read out a QR code, a bill or an ATM screen before you commit. If a conversation starts to sound like a scam, you hear a warning in your ear. For big transfers, a trusted family member can be asked to approve.

[Be upfront about the limits. For example: "To be honest, the glasses part is simulated with a phone in our demo, because third-party access to the camera and audio is limited. The logic behind it is real, though."]

What was hard

Speed was the big one. Nobody will use a security check that takes five seconds, so we run the checks in parallel and try to keep the whole thing around a second or two.

Finding the right strictness was harder than I expected. Too tight and genuine users get annoyed. Too loose and it's pointless. [Add one specific moment where you had to tune this.]

We also had to think about privacy. A voiceprint is biometric data, so it needs real consent and as little storage as possible. And detection models age quickly, so we treat their scores as evidence, not a final verdict.

Where we'd take it next

Per-user behaviour profiles that adapt over time, learning from real fraud and false alarms, proper wearable integration once platforms allow it, and an SDK so any voice app can add Sentinel without rebuilding it.

Voice is becoming the way many of us talk to our apps. I'd like it to be trustworthy for everyone who uses it, especially the people who depend on it most.

Repo: https://github.com/Nightingale676/sentinel

If you've worked on voice security or accessibility, I'd really like to hear what we missed. Drop a comment.

Top comments (0)