How do you secure the wire between a card reader and the door controller?
Treat the wire between a card reader and the controller as untrusted: require a secure channel, unique keys, and an alert when it drops.
1 min readDEV GroupSecurity & access control
Treat the bus as untrusted
Treat the reader bus as untrusted. Enforce OSDP Secure Channel with no plaintext fallback, give every reader its own key, and alert when a channel drops. An open-source OSDP stack advisory published in October 2026 shows why. In the affected control-panel stack, a rogue or compromised reader, or anyone with access to the RS-485 wiring, could send an oversized reply that overwrote the controller's memory. Secure Channel only helped while it stayed up, and a single frame with a bad MAC dropped the link back to plaintext.
Keys, Wiegand, and firmware
Make Secure Channel required, not optional. A downgrade is an alarm, not a silent retry. Give every reader a unique key, and never leave the default install key in place after commissioning. Document how keys are generated, stored, rotated, and recovered, so the next technician does not reset a reader to defaults to get it talking. Wiegand readers are a plaintext bus by design. Inventory them and plan their replacement; no configuration change makes them safe. Keep a firmware inventory of every controller and reader, and patch on a schedule, the same way you patch servers. Put tamper detection on reader housings and enclosures. Physical access to the wiring is network access.
Parsers and the audit trail
For teams building firmware or integrations: the controller-side parser must bound every length field it reads from a device, and reject a frame that claims more than the buffer holds. Log Secure Channel state changes and reader tamper events into the same audit trail as door events, so a dropped channel at 2 a.m. sits next to the door that opened after it. Key handling, channel monitoring, firmware inventory, and the audit trail around them are software work, and that is where we fit.
- Related: keeping cloud-managed doors working offline and migrating without going dark
- Related: making physical access follow identity across sites
- Access control & security systems
Sources
- Open-source OSDP stack advisory. Security advisory. October 2026.
Was this useful?
Related notes
Applied AI3 min read
How do you keep a stolen AI API key from running up the bill?
Stolen AI provider keys from a hosting breach ran up about $740,000. Cap each key's spend, watch usage like fraud, and rotate without a rebuild.
- Secrets
- Tokens
- Spend limits
- Monitoring
Integrations2 min read
Who can read your webhook signing secret, and who can point your webhooks somewhere else?
Show a signing secret once, verify every delivery, and treat a change to where webhooks deliver as a privileged action.
- Webhooks
- Secrets
- Authorization
Applied AI2 min read
How do you keep an AI coding agent's saved approvals from committing secrets?
An agent that remembers an approval can save a secret into a file inside the repo. Keep that file out of git, and do not approve the literal command.
- Agents
- Secrets
- CI