Test Android network security — proxy setup, cleartext HTTP, network-security-config review (cleartextTrafficPermitted, user-CA trust), and TLS validation (self-signed/invalid cert acceptance). Tier 1. Use to establish interception and confirm transport security before deeper backend testing. Aligns to OWASP MASTG MASVS-NETWORK.
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Android Network Cleartext Tls?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/anandjogawade-android-network-cleartext-tls)
---
name: android-network-cleartext-tls
description: Test Android network security — proxy setup, cleartext HTTP, network-security-config review (cleartextTrafficPermitted, user-CA trust), and TLS validation (self-signed/invalid cert acceptance). Tier 1. Use to establish interception and confirm transport security before deeper backend testing. Aligns to OWASP MASTG MASVS-NETWORK.
---
# Android Network — Cleartext & TLS Validation
Get the app's traffic into your proxy and prove the transport is sound (or not): cleartext, weak NSC, and broken cert validation.
## Trigger phrases
`cleartext traffic, usescleartexttraffic, network security config, nsc, tls validation, self-signed cert, mitm proxy, http_proxy android, burp ca android`
## Method
1. **Route the device through a proxy:**
- `adb shell settings put global http_proxy <host>:8080` (or WiFi proxy settings).
- Install the Burp/mitmproxy CA — as a *system* cert (root) or via an NSC patch for API 24+ (see `android-ssl-pinning-bypass` method B).
2. **Review network-security-config:**
- `cat app_src/res/xml/network_security_config.xml`
- Flag `cleartextTrafficPermitted="true"`, `<certificates src="user"/>` (trusts user CAs), and absence of pin sets.
- Manifest `android:usesCleartextTraffic="true"` → cleartext allowed app-wide.
3. **Confirm cleartext:** watch the proxy / `tcpdump` for plaintext HTTP to app endpoints.
4. **TLS validation test:** present an invalid/self-signed cert (proxy without the CA installed) — if the app still connects, cert validation is broken (independent of pinning).
5. **Then unpin** (`android-ssl-pinning-bypass`) and test the backend (`android-backend-api-testing`).
## Modern / rare techniques
- **Mixed cleartext:** a single analytics/ad/update endpoint over HTTP while the rest is HTTPS — grep endpoints and watch the proxy for the odd `http://`.
- **Debug-overrides in NSC** (`<debug-overrides>`) shipped to production trusting user CAs = unintended MITM surface.
- **Per-domain NSC exceptions** that relax `cleartextTrafficPermitted` for specific hosts — enumerate every `<domain-config>`.
## Bypass / evasion
On API 24+ apps don't trust user CAs by default — patch the NSC to add `<certificates src="user"/>` and repackage, or install the CA to the system store on a rooted device, to get traffic visible even without pinning present.
## Escalation / chaining
MITM + credential/session capture; prerequisite that leads to `android-ssl-pinning-bypass` then `android-backend-api-testing`/`api-security` (highest-impact findings live there).
## Backend & tooling
Preferred Kali path (native Kali / WSL+Kali / Kali-SSH / Kali-MCP / HexStrike). Needs the user's device/emulator (adb + CA install) + Burp/mitmproxy; route through Burp if a Burp MCP is present. Windows-local last resort. See `zazy-orchestrator`.
## Verification (background, before reporting)
Confirm cleartext/invalid-cert acceptance with an actual captured request (not just an NSC setting) and reproduce it; a config string alone is a weakness, a captured plaintext/invalid-cert request is the CONFIRMED finding.
## Evidence
The NSC/manifest setting, the captured cleartext request or the connection completing with an invalid cert, and affected endpoints. Remediation: TLS everywhere; `cleartextTrafficPermitted=false`; certificate/public-key pinning; no debug-overrides in release.