Dailer:為家庭提供 AI 聲音複製電話詐騙防護
Family voice shield(dailerAI)
Dailer 是一款開源 Android 電話應用程式,會在來電期間驗證聲音,並在通話畫面顯示即時信任提示。它以 Aletheia 偵測合成語音,並以 Eidos 核對聲音是否符合已登記的親屬聲紋;聲紋以 Fernet 加密,臨時通話錄音會按可設定的保留時限自動清除。
Introducing Dailer: Protecting Families from AI Voice-Cloning Phone Scams @detectif.ai
AI voice cloning has made phone scams terrifyingly convincing. With just a few seconds of audio scraped from social media or a voicemail greeting, scammers can impersonate a son, daughter, or grandchild in real time—often targeting elderly parents with urgent "emergency" requests.
I built Dailer to add a real-time verification layer right inside the phone call experience.
What is Dailer?
Dailer is an open-source Android phone app (ROLE_DIALER) paired with a private Python/Flask verification backend. Instead of relying on caller ID—which is easily spoofed—Dailer verifies the voice itself during incoming calls and surfaces an immediate trust banner on the call screen.
How It Works
- Enroll Trusted Family Voices From the Android app, you generate an Invite QR code or shareable dailer://enroll link for a family member. Your relative records a short calibration voice sample (20–30 seconds). The backend extracts their speaker voiceprint, encrypts it at rest with Fernet symmetric encryption, and stores it in your private backend (supporting local storage or S3-compatible object storage). Relatives can revoke and delete their voiceprint at any time.
- Automatic Call Screening & Buffering Because Dailer acts as the device's default phone app (InCallService + CallScreeningService), it can buffer the opening audio of an incoming call locally and send it to your verification server in the background via WorkManager.
- Parallel Dual-Check Verification
When call audio reaches the backend (/api/verify), it runs speaker isolation and executes two checks in parallel:
Aletheia (Synthetic Speech Detection): "Is this natural human speech or AI-generated/cloned audio?"
Eidos (Speaker Verification): "Does this voice match the enrolled relative's voiceprint?"
- Clear In-Call Verdict
The Android app displays an instant, easy-to-read banner and alert notification:
Verified Family Voice: Natural human speech + matched enrolled voiceprint.
Warning — Possible AI Voice Scam: Synthetic speech risk or voice mismatch detected, with a prompt to hang up and call back directly.
Unenrolled Caller: Caller does not have an enrolled voiceprint yet.
Privacy & Architecture
Self-Hostable Backend: Run the Flask API locally, in Docker (docker compose up --build), or on your own server. External model API keys stay strictly on your backend—never in the mobile app.
Encrypted Embeddings & Auto-Purge: Voiceprints are encrypted at rest with Fernet, and temporary call audio clips are automatically purged after a configurable retention window (CALL_AUDIO_RETENTION_HOURS).
Placeholder Mode for Local Testing: You can test the full end-to-end Android + Flask flow locally even before connecting live AI detection endpoints.
Tech Stack
Android: Kotlin, Material 3, InCallService / CallScreeningService, Room, WorkManager, Retrofit, CameraX + ZXing (QR invites)
Backend: Python 3.11+, Flask, Pydantic, cryptography (Fernet), Docker
Feedback & Contributions
I'd love feedback from the community—especially around:
UX for non-technical / elderly users on the in-call screen
Handling OEM call-recording quirks across different Android devices
Additional scam-detection heuristics or deployment patterns
Feel free to check out the project, spin up the backend with Docker, and share your thoughts!
來源:DEV Community · dev.to