Back

SEC010

Hardcoded IP address

Object Pascal — Delphi & Free Pascal
Info
Security

Hardcoded IPs reduce flexibility and can expose internal network topology

hardcoded IPs reduce flexibility and can expose internal network topology.

Why this severity

hardcoded IPs reduce flexibility and can expose internal network topology.


Known false positives

loopback addresses (127.0.0.1) used for local development.

Remediation example

Host := Config.ReadString('Server', 'Host', 'localhost');

Reconnecting… Connection lost. Reload