All rules →
Rules / Kotlin
SHIELD-KOTLIN-012

SSRF via URL(variable).openConnection

highKotlinCWE-918CVSS 8.6

What it detects

Opening a connection to a URL built from a variable can let an attacker reach internal services (SSRF).

How to fix

Validate the target host against an allowlist and reject internal or link-local addresses.

Scan your repo freeFull documentation
Back to all rules
SHIELD-KOTLIN-012: SSRF via URL(variable).openConnection — Zennoxa Shield