Security context

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

typestack/routing-controllers
develop @ bf6fbfd
5
Fixes
0
CVEs
HIGH
Peak severity
40.0%
Coverage
Highlights
Auth Bypass: 3 prior fixes. Scrutinize any change in this area.
src/ActionParameterHandler.ts: most-fixed (1 issue). Treat as high-risk during review.
3 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: Asynchronous authorization promises were not correctly returned to Koa's middleware chain, causing the framework to proceed to the controller action before the security check resolved, effectively bypassing authorization.
Auth Bypass: Errors thrown during synchronous authorization checker evaluation were poorly handled, risking authorization bypasses if security guards were skipped or crashed silently during the middleware cycle.
Auth Bypass: Controller class-level @Authorized decorators failed to inherit correctly down to individual action methods, leaving endpoints exposed if they lacked explicit method-level authorization.