Repository navigation
Release 1.1.0
Introduction of Injection Detection
This release introduces the SDK's native injection detection module, designed to identify presentation attacks against the capture flow.
Added
- Injection detection module with a three-layer architecture:
- Init layer — runs on SDK entry. Detects simulator, jailbreak, and device integrity issues.
- Camera layer — runs when the capture session starts. Detects virtual cameras, external cameras, and streams with incoherent hardware characteristics.
- Runtime layer — runs periodically during capture (~10 second interval). Re-checks device integrity to catch tools attached mid-session.
- Accumulated trust score (0–100) with on-device blocking when it falls below the configured threshold.
- Mockable provider interfaces for full unit testing without devices or jailbreak.
DetectionReporterimplemented as a Swiftactorfor thread safety.- Injection detection wired into all VIPER capture flows (face and document).
Changed
- CocoaPods validation errors from duplicate
ViewModeldeclarations resolved.
Notes for integrators
No integration changes are required. Detection runs automatically. Captures that trigger blocking return a standard TruoraValidationError to the host app.