#552 [API/Memory] auth_wrapper.py session leak risk in get_auth_for_tenant

closed high Created 2025-12-17 16:30 · Updated 2025-12-17 19:00

Description

Edit
File: engine/security/auth_wrapper.py:162-210. Function returns session that caller MUST close. If caller forgets or exception occurs, session leaks. IMPACT: Memory accumulation, potential OOM. FIX: Provide context manager version.

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...