Skip to content
vetkitChecksChangelogDocumentation

vetkit.android.manifest.cleartext-traffic

The Android app allows cleartext HTTP traffic for all domains (android:usesCleartextTraffic="true"). Data and session tokens can be read or modified on the network.

Last updated:

Suite: Security

xml

The Android app allows cleartext HTTP traffic for all domains (android:usesCleartextTraffic="true"). Data and session tokens can be read or modified on the network.

Category: SECURITY · Engine rule severity: WARNING

How to fix it

Remove the attribute (cleartext is off by default since API 28) and, if a specific host needs HTTP, allow it in a network security config domain-config.

Rule pattern example

The engine’s matching pattern, not a confirmed exploit. Metavariables and ellipses describe matching syntax.

android:usesCleartextTraffic="true"

References

Source: packages/engine/rules/sast/mobile.yml.

Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.