Skill / SKILL.md

Http Api Ssrf Prevention

wpultimatesecurity/WordPress-Security-Skills

Use when a plugin or theme makes outbound HTTP requests with the WordPress HTTP API - wp_remote_get, wp_remote_post, wp_remote_request - especially when any part of the URL comes from user input, options, or webhooks. Uses wp_safe_remote_* with wp_http_validate_url, allowlists hosts, blocks internal and metadata addresses, and checks is_wp_error plus the response code. Prevents server-side request forgery.
5 views 57 repository stars 0 commentsUpdated Nov 27, 2026
Overview

Use when a plugin or theme makes outbound HTTP requests with the WordPress HTTP API - wp_remote_get, wp_remote_post, wp_remote_request - especially when any part of the URL comes from user input, options, or webhooks. Uses wp_safe_remote_* with wp_http_validate_url, allowlists hosts, blocks internal and metadata addresses, and checks is_wp_error plus the response code. Prevents server-side request forgery.

Installation & variants

Download the repository, including the skill’s supporting files.

git clone -- 'https://github.com/wpultimatesecurity/WordPress-Security-Skills' skill-source

Use the complete skill-source/skills/http-api-ssrf-prevention directory with your client’s skill installer.

  • skills/http-api-ssrf-prevention

    dev · SKILL.md

    Open installation source

    Source directory recorded from the imported repository path

Source directory skills/http-api-ssrf-prevention

Compatibility & requirements

Declared compatibility

Examples generally use PHP 7.4 syntax; check each API against target WordPress/PHP versions. Use maintained WordPress and supported PHP in production. Shell examples require their named tools.

Source instructions
Read source instructions

Open to load source instructions

Original SKILL.md

Open to load the original file

Source & validation
Source status
Awaiting source check
Format validation
Format valid
Checked at
Pending source check
Content SHA-256
149366ea6e427cc3c007ac7de692edcd36858e2118c8eae4c148c77cf69056cd
Discussion
Comments Be the First to Comment

Please log in to comment

    No comments yet

Related skills