security-review-owasp-server-side-request-forgery-prevention

Review outbound request features against OWASP SSRF prevention guidance.

Updated Mar 26, 2026
One-click install
npx skills add https://github.com/sjinks/ai-owasp-skillset --skill security-review-owasp-server-side-request-forgery-prevention
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: security-review-owasp-server-side-request-forgery-prevention
Source: https://github.com/sjinks/ai-owasp-skillset/tree/main/.github/skills/security-review-owasp-server-side-request-forgery-prevention
Command: npx skills add https://github.com/sjinks/ai-owasp-skillset --skill security-review-owasp-server-side-request-forgery-prevention

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill helps reviewers find server-side request forgery weaknesses in outbound request flows before attackers can reach internal services, metadata endpoints, or unintended external targets.

Core Features & Use Cases

  • Reviews webhook senders, callback handlers, URL fetchers, and integration flows where user input affects destination selection.
  • Checks URL parsing, allowlist or blocklist logic, DNS resolution, redirect handling, protocol restrictions, and network-layer protections.
  • Useful when auditing code, configuration, architecture, or operational controls for SSRF exposure and bypasses.

Quick Start

Use the SSRF prevention skill to review the outbound request flow in this repository and report any paths that could reach private networks or cloud metadata services.

Frequently Asked Questions about security-review-owasp-server-side-request-forgery-prevention

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I review code for SSRF vulnerabilities in webhook and callback handlers?

Reviewing for SSRF involves checking outbound request flows in webhook senders and callback handlers for proper URL parsing, allowlist enforcement, DNS validation, and redirect restrictions to block access to private networks and cloud metadata endpoints.

What is SSRF prevention and how does DNS validation stop bypasses?

SSRF prevention restricts user-influenced outbound requests from reaching unintended targets. DNS validation acts as a bypass mitigation by verifying resolved IP addresses against blocklists, ensuring attackers cannot use DNS rebinding to access private or metadata endpoints.

Can this skill audit proxy flows and URL fetchers for redirect handling bypasses?

Yes, it can audit proxy flows and URL fetchers. It checks redirect handling to ensure followed URLs are revalidated against allowlists, preventing bypasses where an initial safe destination redirects to private networks or metadata services.

How do I check if my outbound request logic is vulnerable to cloud metadata exposure?

Check for cloud metadata exposure by reviewing outbound request logic for strict network-layer protections. Ensure URL handling and DNS resolution block access to metadata endpoints, and verify that redirect handling cannot be bypassed to reach them.

What is the best way to validate parser output for SSRF protection?

Validating parser output for SSRF protection requires verifying parsed URL components against strict allowlists or blocklists. This confirms the destination selection process cannot be manipulated to bypass network-layer protections and reach private targets.

When do I need to audit DNS resolution for outbound requests?

Audit DNS resolution whenever user input influences destination selection in webhook targets or fetchers. This verifies that DNS resolution cannot be manipulated via rebinding to bypass blocklists and reach private networks or metadata endpoints.