Security context

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

kgrzybek/modular-monolith-with-ddd
master @ 91c8ef2
2
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 2 prior fixes. Scrutinize any change in this area.
src/API/CompanyName.MyMeetings.API/Configuration/Authorization/AttributeAuthorizationHandler.cs: most-fixed (1 issue). Treat as high-risk during review.
2 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: Upgrades in framework routing (.NET Core 3.1) broke endpoint metadata resolution in the custom attribute authorization handler, silently bypassing endpoint-level authorization checks. This poses a major risk where endpoints assume they are guarded by policies but are actually accessible anonymously.
Auth Bypass: Privileged command handlers (like creating an administrator user) being publicly accessible or exposed to external invocation rather than constrained to internal module access. This can allow attackers to directly execute unauthorized high-privilege business commands.