#543 [API/Race] apps.py TOCTOU in create_app

closed high Created 2025-12-17 16:29 · Updated 2025-12-17 18:54

Description

Edit
File: api/blueprints/v1/apps.py:193-236. SELECT checks for duplicate, then INSERT. Between these operations, another request could insert same app name, causing 500 instead of 409 conflict. FIX: Use INSERT ON CONFLICT DO NOTHING RETURNING.

Comments

Loading comments...

Context

Loading context...

Audit History

View All
Loading audit history...