Cleartext Network Traffic

Detects unencrypted HTTP connections for transmitting sensitive data, credentials, or API calls.

zakirkun Updated

File contents

Cleartext Network Traffic

Overview

Sending data over HTTP (not HTTPS) exposes it to eavesdropping, especially on:

  • Public WiFi networks
  • ISP-level interception
  • Corporate proxies
  • Nation-state adversaries

Sensitive operations that must use HTTPS:

  • Login and authentication
  • API calls with tokens or session cookies
  • Payment and financial transactions
  • Personal data transmission

Detection Strategy

  • HTTP URLs hardcoded for API endpoints
  • HTTP clients configured without TLS
  • Mixed content: HTTPS page loading resources over HTTP

Remediation

  • Use HTTPS for all network communication
  • Enable HSTS to prevent downgrade attacks
  • Add HTTP→HTTPS redirect at server level

zakirkun/ice-tea/tree/main/skills/network/cleartext-traffic commit 72fcf1bd06

Frequently asked questions

npx skillmds@latest add zakirkun/cleartext-network-traffic