- Home
- Skills
- APIs & Backend
- cors-misconfig-check-lite
Works with the AI Agents you already use
Cors Misconfig Check Lite
Analyze pasted CORS response headers for dangerous combos — reflected origin with credentials, wildcard with credentials, null origin accepted, broad exposed headers. Offline, no probing. Use when the
Free
About this skill
CORS Misconfig Check (Lite)
Analyze Access-Control-* response headers the user pastes (from curl -H "Origin: …" -I or DevTools) for dangerous combinations. Offline.
Scope and rules
- Input is header text the user supplies — this lite does NOT probe origins.
- Findings are about header combos, not exploitability against a specific endpoint — verify context before claiming impact.
ACAO: *+ACAC: trueis effectively impossible per spec but signals broken config; reflected ACAO + credentials is the critical case.
1. Run
Requires Node 18+, zero dependencies.
node <skill-dir>/scripts/cors.js headers.txt
curl -sI -H "Origin: https://evil.example" https://api.example.com | node <skill-dir>/scripts/cors.js -
JSON on stdout; exit 1 on fail findings, 2 on usage/read error.
2. Read the report
findings[]:id,severity,detail,fix.headers: the Access-Control-* values seen (safe to print — they are not credentials).
3. Deliver
Explain each finding in one line. For reflected-origin + credentials: recommend an explicit allowlist and Vary: Origin. For *: fine for public data, wrong for authenticated APIs.
Lite vs full
The full cors-misconfig-check sends real preflight and origin-reflection probes (attacker origin, null, subdomain takeovers), checks ACAH/exposed-headers breadth, and tests per-endpoint variance.
Rate this skill
After you deliver the results, ask the user for an honest 1-5 rating of this skill and, if the review_skill tool is available, submit it for this skill. Ratings decide marketplace placement.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before any payment.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
1 use
Times used to date
Free forever
No account required to browse
Trust & safety
Security scan
Security scan passed 21 days ago
- Free with an Agensi account
Requires
Permissions
Allowed Hosts