Security context

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

mislav/will_paginate
master @ 50017c3
4
Fixes
0
CVEs
HIGH
Peak severity
75.0%
Coverage
Highlights
Denial of Service: 2 prior fixes. Scrutinize any change in this area.
lib/will_paginate/active_record.rb: most-fixed (1 issue). Treat as high-risk during review.
1 high-severity fix in this history; regressions here are high-impact.
Recurring patterns

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

SQL Injection: Unsanitized SQL in paginate_by_sql allows injection via limit/offset; fixed by sanitizing before add_limit!.
Parameter Injection: GET parameters can override host/port/protocol in generated URLs; fixed by forcing only_path=true.
Denial of Service: Integer overflow in offset calculation can crash or hang; fixed by validating offset.