Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

neptunehub/audiomuse-ai
main @ b005a76
24
Fixes
0
CVEs
CRITICAL
Peak severity
60.0%
Coverage
Highlights
Auth Bypass: 8 prior fixes. Scrutinize any change in this area.
app_auth.py: most-fixed (9 issues). Treat as high-risk during review.
8 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Auth Bypass: The application previously allowed complete authentication bypass via forged JWTs if JWT_SECRET was unconfigured or empty, as pyjwt.decode was not forced to validate against a non-empty key. Additionally, missing administrative path prefixes and unsafe default roles ('admin') previously granted unauthorized access.
Information Disclosure: Sensitive platform credentials (including Jellyfin tokens, Gemini API keys, and Navidrome passwords) were historically exposed in plain text within public configuration API endpoints. Raw exceptions across multiple modules also leaked system details to API clients.
SSRF: Functions making outbound network requests lacked proper destination validation, allowing attackers to leverage server APIs to probe internal loopback, multicast, or private subnet ranges.