Security · Multiple choice

A "link preview" feature makes the server fetch any URL a user pastes. What is the main risk?

hard Networking

Options

Why

The server sits inside the network: http://169.254.169.254/ can hand out cloud credentials, and internal admin APIs trust it. Allow only http(s), resolve the host and block private and link-local ranges (again after every redirect, against DNS rebinding), fetch through an isolated egress proxy and require token-based metadata access (IMDSv2).

Review this in your daily deck All cards in Security