Mobile app security knowledge base
Every check PTKD runs, with a real exploit scenario, the impact and the fix, mapped to the OWASP Mobile Top 10 and MASVS. 233 articles.
Critical severity
- Regulated-category app published from a personal developer account (text search)
PTKD-ASC-GOOGLE-ORG-REGISTRATION-REQUIRED - Digital goods sold without Play Billing (text search)
PTKD-ASC-GOOGLE-PLAY-BILLING - Firebase security rules open to everyone
PTKD-BACKEND-FIREBASE-OPEN-RULES - Users can make themselves admin or premium in Firestore
PTKD-BACKEND-FIREBASE-SELF-PROMOTE - App code calls Supabase admin APIs, so the service-role key ships in the app
PTKD-BACKEND-SUPABASE-ADMIN-IN-APP - Supabase view in the public schema exposes auth.users
PTKD-BACKEND-SUPABASE-AUTH-USERS-EXPOSED - Supabase function runs any SQL the caller sends
PTKD-BACKEND-SUPABASE-DYNAMIC-SQL-RPC - Supabase table without Row Level Security
PTKD-BACKEND-SUPABASE-RLS-OFF - Supabase policy trusts user_metadata, which every user can edit
PTKD-BACKEND-SUPABASE-USER-METADATA-POLICY - Hardcoded secret in the app
PTKD-CRED-SECRET - On-device cryptocurrency mining code
PTKD-DS-CRYPTO-MINING - Secret key in a variable that gets built into the app
PTKD-LEFTOVER-PUBLIC-ENV-SECRET - Firestore collection readable without signing in
PTKD-LIVE-FIREBASE-FIRESTORE-READABLE - Firebase Realtime Database readable without signing in
PTKD-LIVE-FIREBASE-RTDB-OPEN - Supabase table readable with the app's public key
PTKD-LIVE-SUPABASE-TABLE-READABLE - App crashes on launch
PTKD-RT-CRASH-ON-LAUNCH - Known malicious package
PTKD-SUPPLY-MALICIOUS
High severity
- Hardcoded unlock or promo code
PTKD-AC-IAP-BYPASS-CODE - Purchases SDK configured with an empty or test key
PTKD-AC-IAP-KEY-EMPTY - False-urgency copy on a purchase screen
PTKD-AC-PAYWALL-FALSE-URGENCY - Review prompt during onboarding
PTKD-AC-REVIEW-IN-ONBOARDING - Copy asks for 5 stars or rewards a review
PTKD-AC-REVIEW-INCENTIVE - Secret returned in an API response
PTKD-API-SECRET-IN-RESPONSE - Weak JWT observed on the wire
PTKD-API-WEAK-JWT - System overlay permission, a tapjacking and malware signal (text search)
PTKD-ASC-ANDROID-OVERLAY-TAPJACKING - iOS deployment target below iOS 13 (text search)
PTKD-ASC-APPLE-MIN-DEPLOYMENT-TARGET-IOS13 - Undisclosed over-the-air JS bundle updater (text search)
PTKD-ASC-RN-OTA-UNDECLARED - Firebase rules trust an email address nobody verified
PTKD-BACKEND-FIREBASE-EMAIL-UNVERIFIED - Blanket GRANT to the anon role on the whole public schema
PTKD-BACKEND-SUPABASE-BLANKET-GRANT - Supabase Edge Function uses the service-role key without checking the caller
PTKD-BACKEND-SUPABASE-EDGE-NO-AUTH - Supabase policy that lets every row through
PTKD-BACKEND-SUPABASE-OPEN-POLICY - Supabase view or function that bypasses Row Level Security
PTKD-BACKEND-SUPABASE-RLS-BYPASS - Supabase policy that only checks "signed in", not whose row it is
PTKD-BACKEND-SUPABASE-ROLE-ONLY-POLICY - Users can give themselves premium, credits or admin in Supabase
PTKD-BACKEND-SUPABASE-SELF-UPGRADE - Supabase Storage policy lets anyone upload, overwrite or delete files
PTKD-BACKEND-SUPABASE-STORAGE-OPEN-POLICY - Application is debuggable
PTKD-CFG-DEBUGGABLE - Application marked test-only
PTKD-CFG-TESTONLY - Link that installs apps outside the App Store (itms-services)
PTKD-DS-ITMS-SERVICES-LINK - Cleartext HTTP traffic at runtime
PTKD-DYN-CLEARTEXT - TLS interception succeeded (no certificate pinning)
PTKD-DYN-NOPINNING - Hardcoded secret sent on the wire
PTKD-DYN-SECRET-TRANSIT - Secret written to device storage
PTKD-DYN-STORAGE-SECRET - iOS build is debuggable (get-task-allow = true)
PTKD-IOS-DEBUGGABLE - Debuggable release (get-task-allow in code signature)
PTKD-IOS-ENT-GET-TASK-ALLOW - Process execution via system()/exec/popen
PTKD-IOS-INSECURE-EXEC - Privacy manifest has invalid keys or values
PTKD-IOS-PRIVACY-MANIFEST-INVALID - Ads SDK used inside an app extension, widget or App Clip
PTKD-JP-ADS-IN-EXTENSION - Apple trademark in the bundle ID or Home Screen name
PTKD-JP-APPLE-TRADEMARK-IN-ID - Secret written in eas.json
PTKD-LEFTOVER-EAS-ENV-SECRET - A .env file ships inside the app
PTKD-LEFTOVER-ENV-FILE - Secret .env file is not ignored by git
PTKD-LEFTOVER-ENV-NOT-IGNORED - Secret in the Expo app config `extra`, which ships inside the app
PTKD-LEFTOVER-EXPO-EXTRA-SECRET - Age rating questionnaire not complete
PTKD-LISTING-AGE-RATING-INCOMPLETE - No usable build on the version
PTKD-LISTING-BUILD-NOT-READY - Content rights declaration not answered
PTKD-LISTING-CONTENT-RIGHTS-MISSING - App has a login but App Review gets no demo account
PTKD-LISTING-DEMO-ACCOUNT-MISSING - Export compliance not answered for the build
PTKD-LISTING-EXPORT-COMPLIANCE - In-App Purchase or subscription group without a localization
PTKD-LISTING-IAP-LOCALIZATION-MISSING - In-App Purchase without an App Review screenshot
PTKD-LISTING-IAP-SCREENSHOT-MISSING - Kids Category app ships third-party ads or analytics
PTKD-LISTING-KIDS-THIRD-PARTY-SDK - App Store text promises an iOS virus or malware scanner
PTKD-LISTING-MISLEADING-SECURITY-CLAIMS - Privacy policy URL does not open
PTKD-LISTING-PRIVACY-URL-DEAD - No privacy policy URL in App Store Connect
PTKD-LISTING-PRIVACY-URL-MISSING - Screenshots missing for a required device size
PTKD-LISTING-SCREENSHOTS-MISSING - Support URL missing or a placeholder
PTKD-LISTING-SUPPORT-URL-MISSING - Secrets published in Firebase Remote Config
PTKD-LIVE-FIREBASE-REMOTE-CONFIG-SECRET - Firebase Storage listable without signing in
PTKD-LIVE-FIREBASE-STORAGE-LISTABLE - App Transport Security disabled (NSAllowsArbitraryLoads)
PTKD-NET-ATS - Cleartext network traffic permitted
PTKD-NET-CLEARTEXT - TLS validation appears disabled (trust-all / accept-all hostnames)
PTKD-NET-TRUSTALL - Network config trusts user-installed CAs
PTKD-NET-USERCA - Info.plist has no CFBundleIconName
PTKD-REVIEW-ICON-NAME - Minimum iOS version below what App Store Connect accepts
PTKD-REVIEW-IOS-MIN-TARGET - iPad build without all four orientations
PTKD-REVIEW-IPAD-ORIENTATIONS - Built with an iOS SDK App Store Connect no longer accepts
PTKD-REVIEW-OLD-SDK - Native library not aligned for 16 KB pages
PTKD-REVIEW-PLAY-16KB-PAGES - Build tools too old for 16 KB page support
PTKD-REVIEW-PLAY-16KB-TOOLCHAIN - Native code without a 64-bit version
PTKD-REVIEW-PLAY-64-BIT - Play Billing Library version below Google Play's minimum
PTKD-REVIEW-PLAY-BILLING-VERSION - Component with an intent filter but no android:exported
PTKD-REVIEW-PLAY-EXPORTED-MISSING - Foreground service type or permission missing (Android 14+)
PTKD-REVIEW-PLAY-FGS-TYPE - Target API level below Google Play's requirement
PTKD-REVIEW-PLAY-TARGET-SDK - Reference to a private Apple API
PTKD-REVIEW-PRIVATE-API - Permission used without a purpose string
PTKD-REVIEW-PURPOSE-STRINGS - Framework that downloads and runs code after review
PTKD-REVIEW-REMOTE-CODE - In-app purchases without a way to restore them (heuristic)
PTKD-REVIEW-RESTORE-PURCHASES - SDK without its own privacy manifest (upload will be refused)
PTKD-REVIEW-SDK-MANIFEST - App loads a live website (web shell)
PTKD-REVIEW-THIN-WRAPPER - Tracking SDK without App Tracking Transparency
PTKD-REVIEW-TRACKING-WITHOUT-ATT - User-generated content without report or block (heuristic)
PTKD-REVIEW-UGC-MODERATION - UIWebView is still in the app
PTKD-REVIEW-UIWEBVIEW - Account deletion not reachable in the app
PTKD-RT-ACCOUNT-DELETION-UNREACHABLE - Cleartext HTTP sent while using the app
PTKD-RT-CLEARTEXT-RUNTIME - No Restore Purchases control
PTKD-RT-RESTORE-MISSING - Social login offered without Sign in with Apple
PTKD-RT-SIWA-MISSING - APK signed with the legacy v1 (JAR) scheme
PTKD-SIGN-V1 - Vulnerable third-party dependency
PTKD-SUPPLY-CVE - Vulnerable dependency (lockfile)
PTKD-SUPPLY-OSV - Dependency that does not exist on the registry
PTKD-SUPPLY-UNKNOWN-PACKAGE - Invisible characters in an AI coding-assistant rules file
PTKD-VC-AI-RULES-HIDDEN-TEXT - Backend allows any origin together with credentials (CORS)
PTKD-VC-CORS-ANY-WITH-CREDENTIALS - SQL built by joining request data into a string (text search)
PTKD-VC-SQL-STRING-BUILT - Payment webhook handler without signature verification
PTKD-VC-WEBHOOK-UNVERIFIED - Login session in WebView storage with no Content-Security-Policy
PTKD-WEBVIEW-TOKEN-NO-CSP
Medium severity
- JavaScript obfuscation in the build
PTKD-AC-CODE-OBFUSCATION - HealthKit app that also ships an ads SDK
PTKD-AC-HEALTHKIT-WITH-ADS - Purchase screen falls back to made-up prices or 'coming soon' text
PTKD-AC-PAYWALL-FALLBACK - Hardcoded price on a purchase screen
PTKD-AC-PAYWALL-HARDCODED-PRICE - Free trial without the price it converts to
PTKD-AC-PAYWALL-TRIAL-TERMS - Promotional local notifications without a marketing opt-in (text search)
PTKD-AC-PROMO-NOTIFICATIONS - Remote feature flags not described for App Review (text search)
PTKD-AC-REMOTE-FLAGS-UNDECLARED - Home Screen name looks unfinished
PTKD-AC-UNFINISHED-APP-NAME - Android file or preferences created world-readable or world-writable
PTKD-ANDROID-WORLD-READABLE - Permissive CORS with credentials
PTKD-API-CORS-WILDCARD - State-changing request succeeded without authentication
PTKD-API-UNAUTH-MUTATION - Server error leaks a stack trace
PTKD-API-VERBOSE-ERROR - Biometric authentication not bound to a cryptographic key
PTKD-AUTH-BIOMETRIC-NOCRYPTO - Premium access is stored on the phone and trusted (heuristic)
PTKD-AUTH-CLIENT-SIDE-PAYWALL - Supabase auth settings in the local config (check the hosted project)
PTKD-BACKEND-SUPABASE-AUTH-CONFIG - Public Supabase bucket can be listed by anyone
PTKD-BACKEND-SUPABASE-BUCKET-LISTING - Supabase Edge Function lets anyone spend your AI, email or SMS credits (heuristic)
PTKD-BACKEND-SUPABASE-EDGE-OPEN-PROXY - Public Supabase storage bucket (heuristic)
PTKD-BACKEND-SUPABASE-PUBLIC-BUCKET - Executable is not position-independent (no PIE/ASLR)
PTKD-BIN-NOPIE - Exported component without a permission guard
PTKD-CFG-EXPORTED - Deprecated android:sharedUserId in use
PTKD-CFG-SHAREDUID - Static analysis coverage limited
PTKD-COVERAGE-LIMITED - Weak cryptographic primitive
PTKD-CRYPTO-WEAK - Deep link URL loaded or opened without a host check (heuristic)
PTKD-DEEPLINK-URL-LOAD - Ads start before the user's consent (text search)
PTKD-DS-ADS-BEFORE-CONSENT - Credential passed in a URL
PTKD-DYN-AUTH-IN-URL - Sensitive data written to external storage
PTKD-DYN-EXTERNAL-SENSITIVE - Sensitive data written to the log
PTKD-DYN-LOG-SENSITIVE - Device/user PII sent to a third party
PTKD-DYN-PII-THIRD-PARTY - Weak TLS version negotiated at runtime
PTKD-DYN-WEAKTLS - Tokens or passwords stored in plain app preferences
PTKD-FLUTTER-PREFS-SECRET - Hardcoded IPv4 address (text search)
PTKD-GL-HARDCODED-IPV4 - Google Play restricted or sensitive permission
PTKD-GL-PLAY-RESTRICTED-PERMISSION - Capacitor WebView allows cleartext or mixed content
PTKD-HYBRID-CLEARTEXT - Hybrid WebView may open any website inside the app
PTKD-HYBRID-NAV-WILDCARD - Keychain item accessible while locked
PTKD-IOS-KEYCHAIN-ACCESSIBLE - Missing Apple privacy manifest (PrivacyInfo.xcprivacy)
PTKD-IOS-PRIVACY-MANIFEST-MISSING - Required-reason API used without a declared reason
PTKD-IOS-REQUIRED-REASON-UNDECLARED - Third-party tracker not disclosed in the privacy manifest
PTKD-IOS-TRACKER-UNDISCLOSED - Tracking domains present but tracking not declared
PTKD-IOS-TRACKING-UNDISCLOSED - Unsafe C string function (buffer overflow risk)
PTKD-IOS-UNSAFE-C-STRING - Development or tunnel URL left in the app
PTKD-LEFTOVER-DEV-URL - Tokens or passwords written to the device log
PTKD-LEFTOVER-SECRET-LOGGED - Source maps shipped inside the app
PTKD-LEFTOVER-SOURCEMAP - "For Kids" wording in an app outside the Kids Category
PTKD-LISTING-FOR-KIDS-TERMS - In-App Purchase not ready for review
PTKD-LISTING-IAP-NOT-READY - App name or subtitle over 30 characters
PTKD-LISTING-NAME-TOO-LONG - App Store text mentions Android or another store
PTKD-LISTING-OTHER-PLATFORMS - Placeholder text or URL in App Store metadata
PTKD-LISTING-PLACEHOLDER - Price or promotion in the app name or subtitle
PTKD-LISTING-PRICE-IN-NAME - Update without What's New in some languages
PTKD-LISTING-WHATS-NEW-MISSING - Firebase Auth tells anyone which emails have an account
PTKD-LIVE-FIREBASE-EMAIL-ENUMERATION - Supabase storage buckets listable with the app's public key
PTKD-LIVE-SUPABASE-BUCKETS-LISTED - Anyone can sign up without confirming an email
PTKD-LIVE-SUPABASE-OPEN-SIGNUP - Database functions callable with the public key
PTKD-LIVE-SUPABASE-RPC-EXPOSED - App Transport Security disabled for media
PTKD-NET-ATS-MEDIA - Hijackable custom URL-scheme deep link
PTKD-PLATFORM-URLSCHEME - Firebase Realtime Database endpoint embedded
PTKD-PRIV-FIREBASE - Sensitive data may be shared with a third-party SDK
PTKD-PRIV-SENSITIVE-TO-TRACKER - Account creation without in-app account deletion (heuristic)
PTKD-REVIEW-ACCOUNT-DELETION - Recurring Apple Pay without renewal and cancel terms (heuristic)
PTKD-REVIEW-APPLE-PAY-RECURRING-DISCLOSURE - Background mode declared without the feature that needs it (heuristic)
PTKD-REVIEW-BACKGROUND-MODE - Payment SDK without in-app purchase (3.1.1 risk)
PTKD-REVIEW-EXTERNAL-PAYMENTS - Randomized paid items without disclosed odds (heuristic)
PTKD-REVIEW-LOOT-BOX-ODDS - The iOS app points users to Google Play (heuristic)
PTKD-REVIEW-OTHER-PLATFORMS - Permission screen pushes the user to allow, with no way to decline (heuristic)
PTKD-REVIEW-PERMISSION-PRIMING-FORCED - Placeholder text left in the app (heuristic)
PTKD-REVIEW-PLACEHOLDER - Accessibility service needs a Play declaration and disclosure
PTKD-REVIEW-PLAY-ACCESSIBILITY-SERVICE - Account creation without account deletion (heuristic)
PTKD-REVIEW-PLAY-ACCOUNT-DELETION - Ads SDK without the AD_ID permission
PTKD-REVIEW-PLAY-AD-ID - BODY_SENSORS must move to granular health permissions for Android 16
PTKD-REVIEW-PLAY-BODY-SENSORS - Phone-call account verification with READ_CALL_LOG ends on Google Play
PTKD-REVIEW-PLAY-CALL-LOG-VERIFICATION - Large DEX code without R8 shrinking and obfuscation
PTKD-REVIEW-PLAY-CODE-OPTIMIZATION - Child-directed app still sends the advertising ID (heuristic)
PTKD-REVIEW-PLAY-FAMILIES-AD-ID - Child-directed ads through an SDK that is not Families self-certified (heuristic)
PTKD-REVIEW-PLAY-FAMILIES-ADS-SDK - Foreground service types need a Play Console declaration
PTKD-REVIEW-PLAY-FGS-DECLARATION - Location foreground service used for geofencing
PTKD-REVIEW-PLAY-FGS-GEOFENCING - Precise location on Android 17 needs a Play declaration
PTKD-REVIEW-PLAY-FINE-LOCATION - Full-screen intent permission needs a Play declaration
PTKD-REVIEW-PLAY-FULL-SCREEN-INTENT - Health Connect permissions need an approved use and a Play declaration
PTKD-REVIEW-PLAY-HEALTH-CONNECT - Local network access on Android 17 needs a Play declaration
PTKD-REVIEW-PLAY-LOCAL-NETWORK - Writing contacts on Android 18 needs MANAGE_CONTACTS and a Play declaration
PTKD-REVIEW-PLAY-MANAGE-CONTACTS - Broad photo or video access needs a Play declaration
PTKD-REVIEW-PLAY-PHOTO-VIDEO - READ_CONTACTS needs a Play declaration or the Contact Picker
PTKD-REVIEW-PLAY-READ-CONTACTS - Restricted Google Play permission
PTKD-REVIEW-PLAY-RESTRICTED-PERMISSION - VpnService needs a Play declaration and a core VPN use
PTKD-REVIEW-PLAY-VPN-SERVICE - Sign-in without zero-tap restore on a new device (heuristic)
PTKD-REVIEW-PLAY-ZERO-TAP-RESTORE - No privacy policy link inside the app (heuristic)
PTKD-REVIEW-PRIVACY-POLICY-LINK - Purpose string doesn't explain why the data is needed
PTKD-REVIEW-PURPOSE-STRING-VAGUE - Push notifications used without the push entitlement
PTKD-REVIEW-PUSH-ENTITLEMENT - Social login without Sign in with Apple
PTKD-REVIEW-SIGN-IN-WITH-APPLE - Subscription without Terms of Use or Privacy Policy links (heuristic)
PTKD-REVIEW-SUBSCRIPTION-INFO - Application data is backed up
PTKD-STO-BACKUP - iTunes file sharing enabled
PTKD-STO-FILESHARING - Login tokens or passwords kept in unencrypted app storage
PTKD-STORAGE-RN-TOKEN-PLAIN - Brand-new, little-used dependency
PTKD-SUPPLY-NEW-PACKAGE - Apple product name in the app name, subtitle or keywords
PTKD-TD-APPLE-TRADEMARK-IN-NAME - Chinese listing names a foreign AI service
PTKD-TD-CHINA-AI-TERMS - Entitlement declared but not used in code (text search)
PTKD-TD-UNUSED-ENTITLEMENT - Error tracking sends personal data by default (sendDefaultPii)
PTKD-VC-SENTRY-SENDS-PII - HTML rendered without sanitizing (dangerouslySetInnerHTML / innerHTML)
PTKD-VC-UNSANITIZED-HTML - User input placed inside the system prompt (prompt injection)
PTKD-VC-USER-INPUT-IN-SYSTEM-PROMPT - WebView allows file access from web content
PTKD-WEBVIEW-FILEACCESS - Flutter WebView JavaScript channel reaches sensitive app code
PTKD-WEBVIEW-FLUTTER-CHANNEL - WebView JavaScript bridge exposed
PTKD-WEBVIEW-JSI
Low severity
- Export compliance (ITSAppUsesNonExemptEncryption) not declared
PTKD-AC-EXPORT-COMPLIANCE-MISSING - Privacy manifest says the app tracks but lists no tracking domains
PTKD-AC-TRACKING-WITHOUT-DOMAINS - First-party HTTPS API without HSTS
PTKD-API-NO-HSTS - PII in a response over a cacheable/first-party channel
PTKD-API-PII-IN-RESPONSE - Supabase table with RLS on but no policy at all
PTKD-BACKEND-SUPABASE-RLS-NO-POLICY - Executable built without stack canaries
PTKD-BIN-NOCANARY - iOS binary is not encrypted (cryptid = 0)
PTKD-BIN-NOENCRYPT - Custom permission with a weak protection level
PTKD-CFG-CUSTOMPERM - Session cookie without Secure/HttpOnly
PTKD-DYN-INSECURE-COOKIE - Debug logging in production code (text search)
PTKD-GL-CONSOLE-LOG - Development APNs (push) environment
PTKD-IOS-APS-DEV - Wildcard associated domain (universal-link hijack surface)
PTKD-IOS-ASSOCIATED-DOMAINS-WILDCARD - Keyboard extension asks for full access (heuristic)
PTKD-IOS-KEYBOARD-FULL-ACCESS - VPN app: App Review needs an organization account and a data declaration (heuristic)
PTKD-IOS-VPN-REVIEW-NEEDS - Wildcard application identifier
PTKD-IOS-WILDCARD-ID - Firebase anonymous sign-in is enabled
PTKD-LIVE-FIREBASE-ANON-AUTH - Supabase anonymous sign-ins are enabled
PTKD-LIVE-SUPABASE-ANON-SIGNIN - Supabase GraphQL schema readable with the public key
PTKD-LIVE-SUPABASE-GRAPHQL-INTROSPECTION - App Transport Security insecure exception domains
PTKD-NET-ATS-EXCEPTION - App Transport Security disabled in web content
PTKD-NET-ATS-WEB - Cleartext (http://) endpoints in the binary (review)
PTKD-NET-HTTP-URL - Dangerous runtime permissions requested
PTKD-PRIV-PERMS - Embedded third-party tracker
PTKD-PRIV-TRACKER - WebView remote debugging enabled
PTKD-WEBVIEW-DEBUG