Area: Admin deep-dive (commerce/config) (audit p15b) · Surface: /admin/bridge/new and /admin/bridge/{id} · Dimension: Law 6 / error hygiene · Severity: minor
Surfacing a raw exception message from the encryption layer to the user is an internal-mechanics leak and unhelpful to a tenant admin. It should log server-side and show a generic message.
Evidence
AdminBridgeController.php:108 `$this->flash('error', 'Webhook URL encryption failed: ' . $e->getMessage());` and :206 (same in update path). $e is a \Throwable from BridgeCipher::encrypt(); its message can expose crypto/library internals to the tenant admin.
Suggested fix. Log $e->getMessage() via $this->logger and flash a generic 'Could not save the bridge target. Please try again or contact support.'
Filed by the automated tenant-app audit and adversarially evidence-verified. Status: verified. Open — not yet actioned.
Patrick Bass
@mobieus