Skip to content

Release 1.1.0

Choose a tag to compare

@donadol donadol released this 19 Mar 20:56
· 21 commits to main since this release

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.
  • DetectionReporter implemented as a Swift actor for thread safety.
  • Injection detection wired into all VIPER capture flows (face and document).

Changed

  • CocoaPods validation errors from duplicate ViewModel declarations resolved.

Notes for integrators

No integration changes are required. Detection runs automatically. Captures that trigger blocking return a standard TruoraValidationError to the host app.