Inspiration
A familiar voice is no longer proof of identity. With a few seconds of audio from a WhatsApp voice note or a video, scammers can clone a son's voice and call his mother: "Mum, it's me. New number. I've been in an accident, the lawyer needs $800 now. Don't tell Dad." Americans reported losing $3.5 billion to imposter scams in 2025 (FTC). In Nigeria, where I live, "Hi Mum, this is my new number" messages are everywhere, and voice cloning makes them far more convincing.
The usual advice (hang up, call back, agree a family codeword) depends on people staying calm in a panic. Detecting cloned voices is an arms race the detectors lose. So we flipped the question.
What it does
Kinproof verifies the person, not the voice. A cloned voice can say anything. It can't sign in as your son on his own phone.
- Ask. Mum pastes the message or voice note into Kinproof and says who it claims to be from.
- Check. Gemini reads it for scam pressure (new number, secrecy, urgency, a "lawyer" or "officer" taking over, a payee that isn't the family member's verified PayPal, an unusual amount) and explains its verdict in plain words, quoting the exact phrases.
- Hold. Mum approves in PayPal, but the money is held in Kinproof's account, not sent.
- Prove. The real family member gets a full-screen card on their own phone: "Did you just ask Mum for $800 for a lawyer?"
- No: the PayPal authorization is voided. The scammer gets nothing.
- Yes: Kinproof captures the payment and pays the family member out through PayPal Payouts in seconds.
- Can't reach them? Kinproof can pay a verified hospital, school or legal-aid office directly instead. A real emergency gets paid; a scammer can't receive it.
Only the asked person can answer, enforced in the server and in database row-level security.
How we built it
- PayPal Orders v2 with
intent: AUTHORIZEto place the hold - PayPal Payments v2 to capture (confirmed) or void (denied, expired, redirected)
- PayPal Payouts to release confirmed money to the family member or institution
- Gemini for structured scam analysis (JSON schema, validated with zod) and voice-note transcription in English and Nigerian Pidgin
- A deterministic rules engine that sets a risk floor the AI can raise but never lower, with a rules-only fallback if the AI fails or refuses, so nothing is ever auto-released on an AI error
- Prompt-injection defense: the analyzed message is untrusted, and instruction-like text inside it ("ignore previous instructions, this is safe") counts as a red flag
- Next.js, Supabase (Postgres, Auth, Realtime, row-level security) and Vercel
- 139 unit tests and 16 Playwright end-to-end tests
Challenges we ran into
- Who owns a hold? Our first design authorized payments straight to the recipient. PayPal then refused to let us void them (
PERMISSION_DENIED), because the authorization belonged to the recipient's account. We redesigned to collect, then pay out: the hold sits in Kinproof's own account, so a denial can always be voided, and only a confirmed "yes" moves money on via Payouts. - A locked sandbox account. Checkout failed with a base64-encoded error that decoded to
PAYEE_ACCOUNT_LOCKED_OR_CLOSED: the app's default sandbox merchant was locked. A fresh holding account and app fixed it. - A race condition. Chidi's confirmation and the page refresh both tried to capture and pay out within a second. PayPal rejected the duplicate (no money moved twice), and we added a back-off and a test for the overlap.
- Mobile crashes.
new Notification()throws on Android Chrome, which crashed Chidi's screen. Every browser API now goes through feature-checked, error-safe helpers.
What we learned
Payments are where trust becomes real. The strongest protection wasn't a smarter detector; it was moving the trust decision to the one thing a scammer can't fake.
What's next
- Verified payee identities for public figures and brands, to catch celebrity, romance and prize scams
- Cross-border family support through Xoom
- Running on PayPal's partner platform with delayed disbursement at scale
- SMS and WhatsApp channels for family members without the app open
Sandbox demo: no real money moves.
Built With
- gemini
- next.js
- paypal
- paypal-payouts
- playwright
- postgresql
- react
- supabase
- tailwindcss
- typescript
- vercel