Skills for Real Engineers. Straight from my .agents directory.
cors-credential-wordpress
Agent skill fromuphiago/recon-skills
Exploit WP CORS credential reflection for data theft.
How to install cors-credential-wordpress
npx skills add uphiago/recon-skills# or add only this skill to Claude Code: copy the folder
recon/cors-credential-wordpress/
# into
~/.claude/skills/cors-credential-wordpress/ (all projects)
.claude/skills/cors-credential-wordpress/ (one project)
1# CORS Credential WordPress Skill23Detect, confirm, and exploit CORS credential reflection on WordPress REST API endpoints. CORS misconfiguration is one of the most common critical findings in US SMB WordPress sites (~7-8% of all WP targets), enabling cross-origin data exfiltration with victim cookies. Documents 8 CORS variants and full browser PoC construction.45## When to Use67- After `wp-mass-recon` flags a target with `Access-Control-Allow-Credentials: true`.8- Testing any WordPress site's REST API for cross-origin data access.9- Building attack chains: CORS → user enumeration → spear-phishing → ATO.10- Validating whether a CORS finding is exploitable (not just present).1112## Prerequisites1314- curl and python3.15- `web_extract` or `browser_navigate` for browser PoC verification.16- Target must have WordPress REST API accessible (`/wp-json/wp/v2/`).1718## How to Run1920```bash21# Quick detection22curl --max-time 30 --connect-timeout 10 -skI "https://TARGET/wp-json/wp/v2/users" -H "Origin: https://evil.com" | grep -iE "access-control"2324# Full CORS matrix (10 endpoints)25for ep in "users" "posts" "pages" "media" "comments" "categories" "tags" "settings" "plugins" "themes"; do26 echo "=== /wp-json/wp/v2/$ep ==="27 curl --max-time 30 --connect-timeout 10 -skI "https://TARGET/wp-json/wp/v2/$ep" -H "Origin: https://evil.com" | grep -iE "access-control|http/"28 echo ""29done30```3132## Quick Reference3334| Variant | Detection | Exploitability |35|---------|-----------|----------------|36…
Excerpt shown under the repository's MIT license.
More skills in recon-skills
Similar skill repositories
Public repository for Agent Skills
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
Production-grade engineering skills for AI coding agents.
The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create motion, prototypes, websites, apps, dashboards, presentations, images, and videos with your team and AI agents. Share work, exchange feedback, and iterate together in one workspace.
Turn any idea, plan, or codebase into a beautiful interactive diagram. An agent skill for Claude Code, Codex, and more.
