# http-header-audit-lite

> Audit pasted HTTP response headers for missing security headers — HSTS, CSP, X-Frame-Options/frame-ancestors, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, cookie flags. Offline, no fet

http-header-audit-lite is a free AI agent skill on Agensi by Nenad Zivotic. 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)
- 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/http-header-audit-lite
- Tags: http-headers, hsts, csp, x-frame-options, clickjacking, security-headers, audit, hardening

## About this skill

### HTTP Header Audit (Lite)

Audit HTTP response headers **the user pastes** (from `curl -I`, DevTools, or a saved file) for missing/misconfigured security headers. Completely offline.

#### Scope and rules

- Input is header text the user supplies — this lite does NOT fetch URLs.
- Header presence is checked against common hardening conventions, not a compliance standard — say so.
- Cookie analysis covers `Secure`/`HttpOnly`/`SameSite` flags only.

#### 1. Run

Requires Node 18+, zero dependencies.

```bash
node <skill-dir>/scripts/headers.js headers.txt
curl -sI https://example.com | node <skill-dir>/scripts/headers.js -
```

JSON on stdout; exit `1` when warn/fail present, `2` on usage/read error.

#### 2. Read the report

- `checks[]`: `{id, status: pass|warn|fail, detail}` for `hsts`, `content-security-policy`, `x-frame-options`, `x-content-type-options`, `referrer-policy`, `permissions-policy`, `server-disclosure`, `cookie-flags`.
- `headers`: normalized header names seen (values never echoed for auth/cookie headers).

#### 3. Deliver

Group as "missing hardening" vs "information disclosure" with one-line fixes (e.g. add `Strict-Transport-Security: max-age=31536000; includeSubDomains`).

#### Lite vs full

The full `http-header-audit` fetches the URL itself, follows redirects, checks CORS/Expect-CT/cache headers, and diffs www/apex variants.

#### 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 http-header-audit-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 http-header-audit-lite do?

Audit pasted HTTP response headers for missing security headers — HSTS, CSP, X-Frame-Options/frame-ancestors, X-Content-Type-Options, Referrer-Policy, Permissions-Policy, cookie flags. Offline, no fet

### Which AI agents support http-header-audit-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 http-header-audit-lite?

Connect your AI agent to Agensi through MCP, then ask it to use http-header-audit-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.
