Security context

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

gitroomhq/postiz-app
main @ d167233
35
Fixes
2
CVEs
CRITICAL
Peak severity
22.2%
Coverage
Highlights
Auth Bypass: 12 prior fixes. Scrutinize any change in this area.
apps/backend/src/services/auth/auth.service.ts: most-fixed (4 issues). Treat as high-risk during review.
22 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.

SSRF: Arbitrary user-provided URLs in public streaming endpoints allowed attackers to issue requests to the internal network. Bypasses involved redirect-following logic and basic extension validation checks.
Auth Bypass: Bypasses occurred through improper environment variable evaluation (DISABLE_REGISTRATION logic flaws), lack of lowercase normalization of emails during lookup, and inadequate session/organization validation.
Broken Access Control: Sensitive routes like Copilot chat and OAuth authorized endpoints bypass security layers when omitted from NestJS's authenticated module controller group registration.