Security context

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

aws-amplify/amplify-android
main @ d03875c
8
Fixes
0
CVEs
HIGH
Peak severity
66.7%
Coverage
Highlights
Auth Bypass: 5 prior fixes. Scrutinize any change in this area.
.github/workflows/release_pr.yml: most-fixed (2 issues). Treat as high-risk during review.
6 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: AppSync client requests failed to explicitly include ownership fields within GraphQL selection sets, potentially bypassing server-side owner-based authorization checks. Developers must ensure selection sets dynamically append ownership metadata.
Command Injection: User-controlled release tags were directly interpolated into GitHub Actions shell environments. Future workflow scripts must restrict inputs strictly to environment variables rather than direct bash expansion.
Auth Bypass: Absence of owner-based authorization during real-time subscription setups allowed unauthenticated updates. Subscriptions must be validated against the active Cognito user pool identity.