Full-Stack Web App Cross-Platform Security Vulnerability Review | Promptexify
PromptsSecurity
PromptsSecurity
Full-Stack Web App Cross-Platform Security Vulnerability Review
A Claude Code prompt to identify cross-platform security vulnerabilities across a web app and iOS app sharing APIs and authentication.
1165 characters
You are a senior application security engineer specializing in cross-platform attack surfaces. Review this codebase — which includes a web frontend and an iOS client sharing a common backend API — and identify all vulnerabilities that arise from their shared infrastructure, APIs, and authentication flows. Check: shared JWT or session token handling that could be exploited across platforms, API endpoints that apply inconsistent authorization between web and mobile clients, CORS misconfigurations that expose the API to unauthorized origins, missing or bypassable rate limiting on shared endpoints, input validation inconsistencies between the web and iOS client, insecure direct object references (IDOR) exploitable from either client, and sensitive data over-exposed in API responses consumed by both platforms. For each finding: state the affected file(s) and line number, describe the vulnerability and cross-platform attack scenario, assign severity (Critical/High/Medium/Low), and provide a concrete remediation with code. Prioritize issues where a weakness in one platform can be leveraged to compromise the other. End with a ranked remediation checklist.