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

    1. Find each http:// endpoint listed in the finding and serve it over HTTPS.
    2. Set usesCleartextTraffic="false" (Android) and remove NSAllowsArbitraryLoads (iOS).
    3. 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 app

    References

    Related checks (M5)