high · M5 · MASVS-NETWORK-1 · PTKD-RT-CLEARTEXT-RUNTIME
Cleartext HTTP sent while using the app
While PTKD walked the running app, it sent requests over plain HTTP. Anyone on the same network can read and change this traffic.
How it is exploited
On café Wi-Fi, an attacker runs a proxy and sees the app's http:// requests, including the user's session token, and replays them to take over the account.
Why it matters
Readable and changeable traffic: stolen sessions and injected content.
How to fix it
- Find each http:// endpoint listed in the finding and serve it over HTTPS.
- Set usesCleartextTraffic="false" (Android) and remove NSAllowsArbitraryLoads (iOS).
- Run the runtime check again to confirm no cleartext remains.
Does your app have this?
PTKD checks your build or your source project for PTKD-RT-CLEARTEXT-RUNTIME and every other check in this knowledge base.
Scan your appReferences
Related checks (M5)
- First-party HTTPS API without HSTS
- Cleartext HTTP traffic at runtime
- Session cookie without Secure/HttpOnly
- TLS interception succeeded (no certificate pinning)
- Weak TLS version negotiated at runtime
- Capacitor WebView allows cleartext or mixed content
- App Transport Security disabled (NSAllowsArbitraryLoads)
- App Transport Security insecure exception domains