Security context

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

ithacaxyz/porto
main @ c8566e6
13
Fixes
0
CVEs
HIGH
Peak severity
46.2%
Coverage
Highlights
Auth Bypass: 8 prior fixes. Scrutinize any change in this area.
src/core/Implementation.ts: most-fixed (2 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: Logical flaws in session key validation and missing default spend limits allowed transactions to bypass targets, selectors, and spending constraints. Developers must ensure default constraints (e.g., zero spend limit) are strictly applied and validations are not logically inverted.
Auth Bypass: Incomplete signature verification without wrapper structures permitted signature exploitation. Implementing strict wrapping (e.g., ERC-1271) and key authorization checks is essential.
SSR Bypass: The use of suffix-based matching (e.g., with endsWith) instead of exact host validation allowed attackers to bypass domain whitelisting controls.