Cloud Metadata Access
- Category
- Server-Side Request Forgery
- Confidence
- 90% confidence
- Finding
Code accesses a cloud instance metadata endpoint (e.g. 169.254.169.254). A single request can return temporary IAM credentials, making this a high-value SSRF target for credential theft.
- Content
text - Pass the explicit `http://` scheme for local dev servers — a bare host defaults to `https://`. - The relaxation is scoped to the **single host named on the CLI**, evaluated per hop. A redirect or sitemap `<loc>` pointing at any other private host (e.g. `169.254.169.254`) stays blocked. - To audit a whole local site whose sitemap hardcodes the prod domain, combine with sitemap origin rewriting: ```bash
