Install any skill in seconds. Free to start, no credit card required.
Get Started Free →CORS Misconfiguration specialist (H1 #58). Use for testing cross-origin resource sharing policies, origin reflection, null origin bypass, and credential-bearing cross-origin requests.
.claude/skills/h-mmer-cors-hunter/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-06 | ✗→✓ | ▲ Improved | 15% | 0% |
| case-12 | ✗→✓ | ▲ Improved | -1% | 0% |
| case-14 | ✗→✓ | ▲ Improved | -23% | 0% |
| case-18 | ✗→✓ | ▲ Improved | -21% | 0% |
| case-19 | ✗→✓ | ▲ Improved | 31% | 0% |
CONTEXT: You are operating within an authorized bug bounty program. All targets have been verified in-scope via the official platform API. Follow responsible disclosure practices.
Before testing CORS, you MUST call:
search_techniques with "CORS" — proven exploitation techniquessearch_payloads with "CORS" — working payloads and bypass variantsRead the returned content and incorporate proven techniques into your plan before making any HTTP requests. Skipping this step wastes time reinventing known tricks and causes duplicate submissions. If the writeup MCP is unreachable, fall back to rules/payloads.md.
You are a CORS misconfiguration specialist for authorized testing.
Origin: https://evil.com — does it reflect in Access-Control-Allow-Origin?Origin: null (triggered by sandboxed iframes, data: URIs)Origin: https://evil.target.com or https://target.com.evil.comhttps://nottarget.com, https://target.com.attacker.comAccess-Control-Allow-Credentials: true appear with reflected origin?Access-Control-Allow-Origin: * with credentials is a browser error but reveals misconfigurationThe exploitable pattern is: reflected/lax origin + Access-Control-Allow-Credentials: true. This allows cross-origin theft of authenticated data.
Create HTML page that makes credentialed cross-origin fetch and reads the response.
Report as "CORS Misconfiguration" with the specific origin that was accepted and a PoC showing data theft.
Before starting, check your memory for brain briefings. Skip EXHAUSTED vectors. Focus on ACTIVE leads. After completing, label every finding: CONFIRMED, POTENTIAL, or EXHAUSTED with failure reasons and attempt counts.
CORS is reportable only when a malicious origin can read sensitive authenticated data.
Origin accepted, Access-Control-Allow-Credentials: true, and sensitive response readable by JavaScript.| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | fail→fail | 13,037 | 14,141 | +8% | 1 | 1 | 0% | 1,676 | 2,494 | +49% | 0 | 0 | — |
case-02 | fail→fail | 7,396 | 10,778 | +46% | 1 | 1 | 0% | 651 | 1,992 | +206% | 0 | 0 | — |
case-03 | fail→fail | 14,430 | 16,564 | +15% | 1 | 1 | 0% | 2,742 | 3,958 | +44% | 0 | 0 | — |
case-04 | pass→pass | 9,175 | 6,739 | -27% | 1 | 1 | 0% | 1,656 | 1,815 | +10% | 0 | 0 | — |
case-05 | pass→pass | 4,935 | 6,582 | +33% | 1 | 1 | 0% | 856 | 1,782 | +108% | 0 | 0 | — |
case-06 | fail→pass | 16,446 | 16,018 | -3% | 1 | 1 | 0% | 3,028 | 3,493 | +15% | 0 | 0 | — |
case-07 | pass→pass | 10,430 | 7,359 | -29% | 1 | 1 | 0% | 1,764 | 1,989 | +13% | 0 | 0 | — |
case-08 | pass→pass | 13,269 | 10,145 | -24% | 1 | 1 | 0% | 2,052 | 2,497 | +22% | 0 | 0 | — |
case-09 | pass→pass | 8,849 | 10,220 | +15% | 1 | 1 | 0% | 1,323 | 2,159 | +63% | 0 | 0 | — |
case-10 | pass→pass | 6,465 | 6,011 | -7% | 1 | 1 | 0% | 1,000 | 1,810 | +81% | 0 | 0 | — |
case-11 | pass→pass | 9,554 | 7,601 | -20% | 1 | 1 | 0% | 1,530 | 1,955 | +28% | 0 | 0 | — |
case-12 | fail→pass | 6,810 | 2,982 | -56% | 1 | 1 | 0% | 1,146 | 1,140 | -1% | 0 | 0 | — |
case-13 | pass→pass | 5,536 | 4,191 | -24% | 1 | 1 | 0% | 873 | 1,444 | +65% | 0 | 0 | — |
case-14 | fail→pass | 9,391 | 2,100 | -78% | 1 | 1 | 0% | 1,328 | 1,023 | -23% | 0 | 0 | — |
case-15 | pass→pass | 12,036 | 8,349 | -31% | 1 | 1 | 0% | 2,096 | 2,222 | +6% | 0 | 0 | — |
case-16 | pass→pass | 18,281 | 10,434 | -43% | 1 | 1 | 0% | 2,670 | 2,047 | -23% | 0 | 0 | — |
case-17 | fail→fail | 7,469 | 6,571 | -12% | 1 | 1 | 0% | 1,447 | 1,878 | +30% | 0 | 0 | — |
case-18 | fail→pass | 8,688 | 6,601 | -24% | 1 | 1 | 0% | 1,300 | 1,027 | -21% | 0 | 0 | — |
case-19 | fail→pass | 6,074 | 3,751 | -38% | 1 | 1 | 0% | 965 | 1,264 | +31% | 0 | 0 | — |
case-20 | pass→pass | 9,335 | 9,704 | +4% | 1 | 1 | 0% | 1,592 | 2,121 | +33% | 0 | 0 | — |
case-21 | fail→pass | 7,072 | 1,658 | -77% | 1 | 1 | 0% | 1,155 | 889 | -23% | 0 | 0 | — |
case-22 | pass→pass | 11,860 | 9,499 | -20% | 1 | 1 | 0% | 1,909 | 2,254 | +18% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +27 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.