Avatar for the esphome user
esphome
aioesphomeapi
BlogDocsChangelog

Performance History

Latest Results

Sanitize plaintext hello name/server_info before logs and exceptions Apply the existing noise-path log-injection defense to the plaintext HelloResponse. resp.server_info and resp.name flowed unsanitized into _LOGGER.debug and into the BadNameAPIError message; that message eventually reaches report_fatal_error's _LOGGER.warning via _raise_fatal_connection_exception, so peer-controlled CRLF/ANSI bytes could forge log lines. Hoist _safe_label_str + MAX_NAME_LEN / MAX_MAC_LEN / MAX_EXPLANATION_LEN from _frame_helper/noise.py to _frame_helper/base.py so both the noise and the plaintext path share one implementation. _process_hello_resp now compares against the raw decoded name (so a peer can't bypass expected_name by appending non-printable bytes) and uses the sanitized value only for the log, the exception payload, and self.received_name. Closes #1659.
bluetoothbot:koan/sanitize-plaintext-hello
4 hours ago
Standardize wrong-length PSK error message wording
bluetoothbot:koan/redact-malformed-psk-log
17 hours ago

Latest Branches

CodSpeed Performance Gauge
0%
Sanitize plaintext hello name/server_info before logs and exceptions#1660
4 hours ago
1bfe748
bluetoothbot:koan/sanitize-plaintext-hello
CodSpeed Performance Gauge
0%
12 hours ago
a9c42a4
bluetoothbot:koan/validate-ble-connection-params
CodSpeed Performance Gauge
0%
Redact PSK value from Malformed PSK error messages#1657
17 hours ago
513b894
bluetoothbot:koan/redact-malformed-psk-log
© 2026 CodSpeed Technology
Home Terms Privacy Docs