Loading...
Loading...
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.
npx skill4agent add yaklang/hack-skills cors-cross-origin-misconfigurationAI 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.
<script>document.domaincredentials: includeAccess-Control-Allow-OriginAccess-Control-Allow-Credentials| Theme | What to Check |
|---|---|
| wildcard with credentials | |
| reflected origin | server echoes arbitrary |
| weak allowlist | suffix, prefix, substring, regex, or mixed-case matching errors |
| acceptance of sandboxed, file, or serialized origins |
| preflight trust | overbroad methods and headers |
| internal API exposure | admin or tenant data readable cross-origin |
Origin