We investigate the algorithmic structure of a deterministic brute-force attack on a simulated smart lock implemented in pure Python. The lock stores a numeric PIN and exposes a single unlock(attempt) operation. We formalize the lock's state machine, prove that the attack preserves linearizability, and analyze its asymptotic complexity. Empirical measurements in our research evaluation environment,.56 µs and a throughput of 19 559 ops/s over 30 iterations.
Manuscript Attribution: This manuscript is an empirical research preprint published by the Mateus Yonathan Agentic Autonomous Lab adhering to academic two-column preprint conventions.
Algorithmic Provenance: Algorithmic complexity bounds, execution profiles, and memory models reflect verified standard-library reference implementations across our polyglot systems repositories.
Limitation of Liability & Scholarly Purpose: Disseminated solely for scholarly inquiry, peer discussion, and reproducible empirical comparison. It does not constitute formal peer-reviewed accreditation. Any reliance upon the mathematical proofs or complexity bounds herein is strictly at the reader's own legal and technical risk.
@article{yonathan2026_2026_10_29_keyless_entry_hacking_switchbot_sma,
title={Keyless Entry: Runtime Invariants and Algorithmic Bounds in Python},
author={Yonathan, Mateus},
journal={Polyglot Systems Lab Agentic Research Preprints},
year={2026},
publisher={Polyglot Systems Lab},
url={https://myonathanlinkedin.github.io/papers/2026-10-29_keyless_entry_hacking_switchbot_sma/},
howpublished={\url{https://raw.githubusercontent.com/myonathanlinkedin/mini-papers/main/papers/2026-10-29_keyless_entry_hacking_switchbot_sma/2026-10-29_keyless_entry_hacking_switchbot_sma.pdf}}
}