Findings

Security findings

Every finding identified in breach-guardians-demo, with the remediation and regression test that proves it.

BG-001

SQL Injection

CRITICAL

backend/users.py:42

User-controlled request parameter is concatenated directly into a SQL query string.

BG-002

Hardcoded API Secret

CRITICAL

backend/config.py:11

A live third-party API secret is committed in source control as a plaintext constant.

BG-003

Broken Authorization

HIGH

backend/auth.py:87

Endpoint verifies authentication but never checks that the caller owns the requested resource.

BG-004

Vulnerable Dependency

HIGH

requirements.txt:7

Pinned dependency version is affected by a published remote code execution advisory.

BG-005

Unsafe Input Handling

MEDIUM

backend/api.py:134

Request body is consumed without schema validation or length limits before processing.