#368 MEDIUM: Silent encryption failure (fail-open security)

closed medium Created 2025-12-11 21:39 · Updated 2025-12-12 14:48

Description

Edit
## Issue In engine/db.py:131-147, encryption configuration failures are silently swallowed: ```python except Exception: logger.exception('Failed to configure connection encryption: ') # Don't raise - let connection be used even if encryption fails # This ensures availability over security (fail-open) ``` ## Impact - Sensitive data may be stored unencrypted - Operators won't know encryption is failing - Compliance/audit issues ## Location engine/db.py:131-147 ## Fix At minimum emit a metric/alert. Consider fail-closed for compliance requirements.

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...