VaakKavach (वाक्कवच) is an enterprise-grade autonomous acoustic defense and real-time deepfake voice clone interception platform engineered for zero-trust call surveillance, neural vocoder anomaly extraction, bi-spectral phase jitter detection, digital arrest intimidation isolation, and encrypted on-device forensic provenance.
- Repository: https://github.com/GuruMachanica/VaakKavach
- Production Web Platform: https://vaakkavach.netlify.app
- Canonical GitHub Release: https://github.com/GuruMachanica/VaakKavach/releases/tag/v1.0.0
- Direct APK Download: https://github.com/GuruMachanica/VaakKavach/releases/latest
- Build Pipeline: GitHub Actions CI/CD (
app-release.yml)
- Autonomous Acoustic Threat Engine:
- Multi-stage cognitive state machine that inspects incoming audio streams across Perception, Spectral Analysis, Coercion Evaluation, and Defense Execution phases.
- Real-time isolation of artificial synthesis artifacts generated by modern neural vocoders (HiFi-GAN, WaveGlow, MelGAN, DiffSinger, ElevenLabs).
- Streaming threat telemetry output displaying acoustic risk scores, pitch perturbation, and harmonic discontinuity in real time.
- Sub-15ms Native Edge Digital Signal Processing (DSP):
- Low-level Kotlin
AudioRecordintegration ingesting 44.1 kHz 16-bit uncompressed PCM audio via non-blocking lock-free circular ring buffers. - Rapid Fast Fourier Transform (FFT) and bi-spectral cross-correlation yielding immediate sub-15ms frame-level inference.
- Zero reliance on external GPU clusters, cloud gateways, or remote API endpoints.
- Low-level Kotlin
- Zero-Cloud Sovereign Privacy Architecture:
- 100% on-device local computation guaranteed to operate with full fidelity in airplane mode or air-gapped secure facilities.
- Zero-login, zero-telemetry, and zero-tracking paradigm—no email or account registration required.
- Digital Arrest and Financial Coercion Defense:
- Autonomous pattern heuristics trained to detect authority intimidation, fictitious CBI/police warrants, extortion scripts, and urgent OTP extraction demands.
- Dynamic haptic pulse defense triggers tactile vibration warnings directly to the handset holder during live calls.
- Autonomous Agentic Self-Healing Watchdog:
- Daemonized background watchdog thread continuously monitors audio buffer health, memory pressure, and Android audio routing.
- Automatically recovers stalled audio streams, resets interrupted native buffers, and logs recovery diagnostics with zero user friction.
- Tamper-Proof Cryptographic Forensic Vault:
- Encrypted local SQLite evidence ledger retaining call metadata, anomaly timestamps, acoustic spectrograms, and incident parameters.
- SHA-256 cryptographic chain hashing prevents retrospective evidence tampering or log manipulation.
- Emergency Guardian Triangulation Protocol:
- Instant offline cellular SMS dispatch triggered automatically when high-confidence fraud or coercion is identified.
- Broadcasts emergency geolocation coordinates and incident alerts to pre-authorized emergency guardian contacts.
- Modular Architecture with Strict LOC Governance:
- 100% of codebase files strictly adhere to a maximum limit of 150 lines of code for ultra-high maintainability, readability, and modular decoupling.
+------------------------------------------------------------------------------------+
| VAAKKAVACH ECOSYSTEM |
+------------------------------------------------------------------------------------+
|
+-----------------------+-----------------------+
| |
v v
+--------------------+ +--------------------+
| Flutter UI Core | | Native Kotlin DSP |
| (Dart 3.x Native)|<==== Method/Event ======>| (Android Platform)|
+--------------------+ Channels +--------------------+
| |
+-- Riverpod Reactive State +-- AudioRecord PCM Ingestion
+-- Dark Noir Glassmorphism UI +-- Circular Ring Buffer (44.1kHz)
+-- Real-Time Spectrogram Display +-- FFT Spectral Decomposition
+-- Guardian Management Section +-- Pitch Jitter Calculator
+-- Forensic Call History HUD +-- Vocoder Clamping Detector
+-- Live Audio Waveform Canvas +-- Foreground Shield Service
| |
+-----------------------+-----------------------+
|
v
+-----------------------------------------------+
| Sovereign Storage & Telemetry |
| (Encrypted SQLite Vault + SHA-256 Ledger) |
+-----------------------------------------------+
Neural voice synthesizers exhibit unnatural micro-pitch stability and lack biomechanical vocal cord tension perturbations. Absolute relative jitter (
When
Neural vocoders introduce high-frequency phase cancellation and abnormal spectral roll-off near Nyquist boundaries. The High-Frequency Energy Ratio (HFER) is defined over power spectrum
Where cutoff frequency
Calculates third-order cumulant non-linear harmonic phase coupling to detect vocoder artifacts absent in human vocal tracts:
The normalized bi-coherence metric
Fuses normalized acoustic indicators (Jitter
Where weights
sequenceDiagram
autonumber
participant Mic as Android Microphone / AudioRecord
participant Native as Kotlin Native DSP (PCM Ring Buffer)
participant Watchdog as Agentic Watchdog Daemon
participant Engine as Acoustic Threat Engine
participant Vault as Encrypted SQLite Forensic Vault
participant Alert as Guardian Dispatch & Haptic Shield
Mic->>Native: Stream 44.1kHz 16-bit PCM Audio Frames
Watchdog->>Native: Health Heartbeat & Buffer Overrun Verification
alt Buffer Stalled or Overrun Detected
Watchdog->>Native: Auto-Recover Pipeline & Reset Ring Buffer
end
Native->>Engine: Deliver Acoustic Features (Jitter, HFER, Bi-coherence)
Engine->>Engine: Compute Bayesian Threat Fusion Score P(Clone | X)
alt P(Clone | X) >= 0.65 (High Risk Threat)
Engine->>Alert: Trigger Dynamic Haptic Handset Pulses
Engine->>Alert: Dispatch Offline SMS to Emergency Guardians
Engine->>Vault: Persist SHA-256 Cryptographic Evidence Record
else P(Clone | X) < 0.65 (Safe Audio)
Engine->>Vault: Append Transient Ambient Telemetry
end
Every source file in the repository strictly satisfies the rule of maximum 150 lines of code:
VaakKavach/
|-- .github/
| `-- workflows/
| |-- app-release.yml # Automated release build, APK artifact, and publish
| `-- ci.yml # Formatting, analyzer, and unit test suite
|-- android/
| |-- app/
| | |-- build.gradle # Android application configuration and signing
| | `-- src/main/kotlin/com/vaakkavach/aegis/
| | |-- MainActivity.kt # Method/EventChannel native bridge router
| | |-- AudioStreamHandler.kt # 44.1kHz AudioRecord lock-free streaming
| | |-- AudioProcessor.kt # Native Jitter and FFT spectral analysis
| | `-- WatchdogService.kt # Foreground audio self-healing daemon
|-- lib/
| |-- core/ # Constants, themes, and design tokens (<= 150 LOC)
| |-- models/ # Data schemas (ThreatEvent, CallRecord, Guardian)
| |-- providers/ # Riverpod state providers (Shield, Threat, History)
| |-- services/ # Database, native audio bridge, SMS alert dispatcher
| |-- screens/ # Modular app view screens (Dashboard, Live, Vault)
| |-- widgets/ # Chiseled dark noir glassmorphism components
| `-- main.dart # App entry point, bootstrap, and lifecycle
|-- test/ # 23 Unit and integration test suites (100% pass)
|-- website/ # Dynamic Web Experience (Three.js, Pixi, Canvas)
| |-- css/ # Modern glassmorphism stylesheets (<= 150 LOC)
| |-- js/ # WebGL visualization & Threat Lab (<= 150 LOC)
| `-- index.html # Responsive landing portal & telemetry HUD
|-- docs/
| `-- ARCHITECTURE.md # In-depth technical engineering specifications
|-- netlify.toml # Production Netlify edge deployment config
`-- README.md # Primary engineering specification
The Flutter client and native Android sub-system communicate across low-latency platform channels:
| Channel Identifier | Channel Type | Purpose & Data Payload |
|---|---|---|
com.vaakkavach.aegis/audio |
MethodChannel |
Controls startMonitoring(), stopMonitoring(), and DSP configuration parameters |
com.vaakkavach.aegis/telemetry |
EventChannel |
Streams live PCM decibel levels, pitch jitter metrics, and vocoder detection flags |
com.vaakkavach.aegis/watchdog |
MethodChannel |
Heartbeat polling, buffer stall detection, and autonomous audio subsystem recovery |
com.vaakkavach.aegis/sms |
MethodChannel |
Triggers background cellular SMS transmission to emergency guardian contacts |
- 100% Air-Gapped Operation: Designed to inspect, analyze, and quarantine threats without any active network interface. Zero packets leave the device during active call protection.
- Cryptographic Evidence Hashing: Every intercepted threat incident records audio envelope metadata, threat score, detected vocoder parameters, and timestamp, chained via SHA-256: $$\text{Hash}n = \text{SHA256}(\text{Hash}{n-1} \parallel \text{Timestamp} \parallel \text{Score} \parallel \text{Payload})$$
-
Non-Custodial Storage: Database files reside in protected Android app sandbox storage (
/data/data/com.vaakkavach.aegis/databases/) inaccessible to external applications.
Every push of a version tag (e.g. v1.0.0) or manual workflow dispatch triggers .github/workflows/app-release.yml:
- Automatically executes
flutter analyzeandflutter test. - Compiles optimized release APK (
VaakKavach-v1.0.0.apk). - Creates GitHub Release with signed build artifacts attached.
- Releases page: https://github.com/GuruMachanica/VaakKavach/releases
# Clone the repository
git clone https://github.com/GuruMachanica/VaakKavach.git
cd VaakKavach
# Verify Flutter and Android toolchain
flutter doctor
# Install dependencies
flutter pub get
# Run test suite
flutter test
# Launch on connected Android device or emulator
flutter run -d androidThe dynamic cyber studio and interactive threat laboratory can be served locally or deployed via Netlify:
# Serve website locally
python -m http.server 8080 --directory website
# Access at http://localhost:8080Production deployment is live at: https://vaakkavach.netlify.app
- Sole Architect & Lead Engineer: Mohammad Huzaifa (@GuruMachanica)
- Primary Repository: https://github.com/GuruMachanica/VaakKavach
- Official Contact: ironlogic@zohomail.in
Notice of Project Origin & Evolution:
VaakKavach (वाक्कवच) is an advanced evolution, complete architectural overhaul, and upgraded edition of the original project:
🔗 Original Project Reference: https://github.com/Ashu-1126/AEGISThe original prototype was created as a collaborative team project under IronLogic, of which Mohammad Huzaifa is a member. Following the team project, Mohammad Huzaifa independently branched, redesigned, upgraded, and transformed the codebase into this autonomous, sovereign, production-grade cybersecurity platform (https://github.com/GuruMachanica/VaakKavach) as the sole lead engineer:
- Complete Serverless Re-Architecture: Eliminated all external cloud dependencies, central FastAPI servers, and mandatory login gateways in favor of a 100% offline, on-device edge AI model that operates securely even in airplane mode.
- Autonomous Agentic Self-Healing: Designed a continuous audio watchdog daemon that auto-recovers monitoring pipelines, self-heals stalled audio buffers, and isolates hardware faults with zero user friction.
- Strict Modular Architecture: Decomposed the entire application into decoupled feature packages where every single file is strictly bounded under 150 lines of code.
- Dark Black Noir Aesthetic & Stitch MCP Branding: Redesigned the visual identity using Stitch MCP and custom chiseled titanium/obsidian aesthetics.
- Dynamic Web Ecosystem: Built an interactive web platform integrating Three.js, Pixi.js, Anime.js, and modern CSS glassmorphism.
This repository is licensed under the PROPRIETARY - STRICT PRIVATE USE AND INSPECTION LICENSE.
Copyright (c) 2026 Mohammad Huzaifa. All rights reserved.
See the LICENSE file for complete terms and conditions.