low · M5 · MASVS-NETWORK-1 · PTKD-NET-HTTP-URL
Cleartext (http://) endpoints in the binary (review)
The binary contains http:// URLs to real hosts. Any of these reached at runtime is unencrypted in transit. (XML-namespace URIs are excluded, but third-party SDK URLs may remain, so review which are actually fetched.)
How it is exploited
Even with cleartext nominally blocked, hardcoded http:// URLs get pasted into WebViews, shared to the OS, or reused by SDKs with their own network stack, and those paths silently downgrade to plaintext.
Why it matters
Individual requests leak data or fetch attacker-modifiable content over plaintext despite an otherwise secure config.
How to fix it
- Search the codebase for http:// literals and switch each real endpoint to https://.
- For third-party hosts that genuinely lack HTTPS, isolate them and treat their content as untrusted.
- Keep cleartext blocked platform-wide so any missed URL fails fast in testing.
Does your app have this?
PTKD checks your build or your source project for PTKD-NET-HTTP-URL 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