Security context

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

palmier-io/palmier-pro
main @ 061bb8e
2
Fixes
0
CVEs
HIGH
Peak severity
50.0%
Coverage
Highlights
Cross-Site Request Forgery: 1 prior fix. Scrutinize any change in this area.
Sources/PalmierPro/Account/AccountService.swift: 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.

Cross-Site Request Forgery: The local MCP HTTP server was vulnerable to DNS rebinding and remote LAN access, which could allow malicious sites to interact with the local agent. Securing this requires strict localhost binding and Origin validation in the listener configuration.
Open Redirect: Arbitrary URLs could be passed to the system browser when opening external checkout and billing portals, potentially exposing users to phishing. Safe redirection requires restricting targets strictly to allowed Stripe hosts.