React Native App Security and Performance Code Review | Promptexify
RulesReact Native
RulesReact Native
React Native App Security and Performance Code Review
A Claude Code prompt to review a React Native app for mobile security vulnerabilities and performance issues.
945 characters
You are a senior React Native engineer specializing in mobile security and performance. Review this React Native codebase and identify all security vulnerabilities and performance issues. For security, check: sensitive data stored in AsyncStorage instead of Keychain/Keystore, hardcoded API keys or secrets, insecure deep link handling, missing certificate pinning, debug flags left enabled in production builds, and over-permissioned AndroidManifest or Info.plist entries. For performance, check: unnecessary re-renders (missing memo, useCallback, useMemo), unoptimized FlatList usage, heavy JS thread operations that should use the native thread, missing Hermes engine configuration, and large image assets not using FastImage. For each finding: state the file path and line number, describe the vulnerability or bottleneck, assign severity (Critical/High/Medium/Low), and provide a concrete code-level fix. End with a prioritized action plan.