Skills for Real Engineers. Straight from my .agents directory.
cors-cross-origin-misconfiguration
Agent skill fromyaklang/hack-skills
CORS misconfiguration testing playbook. Use when analyzing cross-origin trust, credentialed browser reads, origin reflection, preflight policy bugs, and browser-based access to authenticated APIs.
How to install cors-cross-origin-misconfiguration
npx skills add yaklang/hack-skills# or add only this skill to Claude Code: copy the folder
skills/cors-cross-origin-misconfiguration/
# into
~/.claude/skills/cors-cross-origin-misconfiguration/ (all projects)
.claude/skills/cors-cross-origin-misconfiguration/ (one project)
1# SKILL: CORS Misconfiguration — Credentialed Origins, Reflection, and Trust Boundary Errors23> **AI LOAD INSTRUCTION**: Use this skill when browsers can access authenticated APIs cross-origin. Focus on reflected origins, credentialed requests, wildcard trust, parser mistakes, and origin allowlist bypasses. For JSONP hijacking deep dives, same-origin policy internals, honeypot de-anonymization, and CORS vs JSONP comparison, load the companion [SCENARIOS.md](./SCENARIOS.md).45### Extended Scenarios67Also load [SCENARIOS.md](./SCENARIOS.md) when you need:8- JSONP hijacking complete attack scenario — watering hole + `<script>` cross-origin data theft9- Honeypot de-anonymization via JSONP — use social platform JSONP endpoints to identify anonymous visitors10- Same-origin policy deep dive — protocol/hostname/port definition, `document.domain` subdomain relaxation and its security risks11- CORS vs JSONP technical comparison — methods, error handling, credential behavior, migration path12- CORS exploitation payloads — reflected origin with `credentials: include`, null origin via sandboxed iframe13- Dual-site attack lab pattern — localhost:8981 (target) + localhost:8982 (attacker) testing setup1415## 1. WHEN TO LOAD THIS SKILL1617Load when:1819- Responses contain `Access-Control-Allow-Origin`, `Access-Control-Allow-Credentials`, or preflight headers20- A browser-based attack path might read authenticated API responses21- JSON endpoints appear protected from CSRF but are readable cross-origin22…
Excerpt shown under the repository's MIT license.
More skills in hack-skills
Similar skill repositories
An agentic skills framework & software development methodology that works.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
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.
