# 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

cors-misconfig-check-lite is a free AI agent skill on Agensi by Nenad Zivotic, in APIs & Backend. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: Free
- Creator: [Nenad Zivotic](https://www.agensi.io/creators/nenad-zivotic)
- Category: [APIs & Backend](https://www.agensi.io/skills/apis-backend)
- Uses: 2
- Version: 1.1
- Last updated: 2026-10-24
- Security: scan passed (2026-10-27); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/cors-misconfig-check-lite
- Tags: cors, api, security, access-control, origin, misconfiguration, audit, web

## 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: true` is effectively impossible per spec but signals broken config; reflected ACAO + credentials is the critical case.

#### 1. Run

Requires Node 18+, zero dependencies.

```bash
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 this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the cors-misconfig-check-lite skill from Agensi" and describe your task.
3. Your agent loads the skill from Agensi when it needs it. Nothing is downloaded.

## Frequently asked questions

### What does cors-misconfig-check-lite do?

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

### Which AI agents support cors-misconfig-check-lite?

This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

### How do I use cors-misconfig-check-lite?

Connect your AI agent to Agensi through MCP, then ask it to use cors-misconfig-check-lite on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
