Home/Case Studies/Continuous Authentication and Post-Quantum TLS
Back to case studies
Case Study

Continuous Authentication, Adversarial Testing and Post-Quantum TLS

A security startup builds continuous execution governance: a phone keeps checking that its enrolled owner is still the one holding it, and privileged actions stop when that changes. Over six months we hardened the runtime, measured it, attacked it for 48 hours, and proved it on real cloud infrastructure.

Python / FastAPIBehavioural MLGoAWS KMSPost-Quantum TLS
Engagement timeline June to November 2026

The Challenge

The prototype could tell owner from stranger in a calm demo but would not survive a sceptical buyer. Each phase had to produce evidence a third party could check, without overclaiming what phone sensors can prove.

What We Delivered

  • Runtime hardening. A six-state holder machine on a sub-second heartbeat. A calm stranger never turns green, a phone on a table is a hard block, and only owner evidence recovers the session. Protected actions are enforced on the server.
  • Separability study. 0.82 AUC within a session and about 0.78 across days, replicated on two splits. A third-party audit passed.
  • Native iOS capture at full sensor rate for the next dataset.
  • 48-hour adversarial A/B. Attacks planned by Claude Mythos 5.1 were fired byte-identical at two matched configurations. Without the replay freshness gate we built, 67.0% got through; with it, 0 of 372,600. The owner was admitted 10 of 10 times in both.
  • Governed cloud actions. A payment, a service deletion and a KMS signing were blocked 15 of 15 times with governance on.
  • Statistical gates in the scorer: covariance, third-order cumulants and random projections, at 0.34 ms per window on the server.
  • Live post-quantum switchover on AWS. The gateway moved from X25519 to X25519MLKEM768 under traffic with 0 failed of 3,596 requests. KMS key changes went through only while the owner was present, and an AdministratorAccess role got AccessDenied in CloudTrail.

48-hour adversarial A/B results

Post-quantum switchover architecture on AWS

Switchover results: 0 failed of 3,596, 217 classical then 516 hybrid handshakes

What We Did Not Claim

Phone sensors are probabilistic. None of this is production biometric certification, the switchover is not a test against a quantum computer, and the adversarial result assumes the attacker has recordings, not the device key. Every report said so.

Need security work that holds up to review?

Baydot builds tests that produce checkable evidence on your own infrastructure and reports exactly what that evidence supports.

Book a Free Call