060101-http-security

060101-http-security is a skill for Claude Code from natuleadan/skills. It costs 32 tokens per session (774 once invoked), scanned A, original, MIT.

A collection of web security patterns for protecting applications at the network edge, in application code, and in infrastructure. It covers request limits, browser security rules, cross-origin access, security headers, IP blocking, and failure handling.

In plain words
What is it for?
Use it to plan rate limits, configure Content Security Policy, set security headers, control CORS, deny IP addresses, and handle protection-service failures.
Why use it?
It helps reduce abuse and restrict which browsers, scripts, images, and connections an application accepts.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the natuleadan plugin — 44 skills shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/natuleadan/skills/060101-http-security
Any agent
npx skills add natuleadan/skills --skill 060101-http-security
Clone the repo
git clone --depth 1 https://github.com/natuleadan/skills

Made for: Claude Code.

Or install natuleadan, the plugin that ships this one along with the rest of its 44 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for 060101-http-security

README.md
[![agentmods](https://agentmods.dev/badge/skills/natuleadan/skills/060101-http-security.svg)](https://agentmods.dev/skills/natuleadan/skills/060101-http-security)
Your own site
<a href="https://agentmods.dev/skills/natuleadan/skills/060101-http-security"><img src="https://agentmods.dev/badge/skills/natuleadan/skills/060101-http-security.svg" alt="Measured on agentmods" height="20"></a>
Per session 32 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 774 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00032 $0.00774
Opus 5 $0.00016 $0.00387
Sonnet 5 $0.00006 $0.00155
Haiku 4.5 $0.00003 $0.00077

Measured 6d ago against content hash 445dc95c753a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

060101-http-security scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/validate.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -I https://example.com | grep -i "x-\|strict-\|referrer-\|permissions-"
skills/060101-http-security/SKILL.md · 97 lines

How it starts

The opening of the file, as written. The whole thing — 97 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Security Patterns

Architecture Overview

Security is applied at three layers:

1. Edge/Proxy Layer    ← Rate limiting, CSP, security headers, IP deny
2. Application Layer   ← Auth rate limit, session validation, input sanitization
3. Infrastructure Layer ← Auto-protection, firewall, DDoS mitigation

Layer 1: Edge/Proxy

Rate Limiting

Applied before requests reach application code.

  • Algorithm: Fixed window (cheaper) or sliding window (stricter)
  • Identifier: Client IP (x-forwarded-forx-real-ip)
  • Tiers: Different limits per route group (auth, api, public)
Request → match route tier → ratelimit.limit(ip) → pass or 429
                              ↓ (timeout → allow on failure)
                        Application handler

Content Security Policy (CSP)

Dynamic CSP built from environment variables:

Directive Purpose Configurable via
script-src Allowed JS sources CSP_SCRIPT_SRC_DOMAINS
style-src Allowed CSS sources CSP_STYLE_SRC_DOMAINS
img-src Allowed image sources CSP_IMG_SRC_DOMAINS
font-src Allowed font sources CSP_FONT_SRC_DOMAINS
connect-src Allowed API/WS connections CSP_CONNECT_SRC_DOMAINS
frame-src Allowed iframe sources CSP_FRAME_SRC_DOMAINS

Security Headers

Header Value
X-Content-Type-Options nosniff
X-Frame-Options SAMEORIGIN
X-XSS-Protection 1; mode=block
Referrer-Policy strict-origin-when-cross-origin
Permissions-Policy camera=(self), microphone=(self), geolocation=(self)
Strict-Transport-Security max-age=31536000; includeSubDomains; preload

Layer 2: Application

  • Auth rate limits (e.g., 10 req/60s on login endpoints)
  • Session validation on every protected action
  • Input sanitization (XSS prevention)
  • CSRF tokens on mutations

Layer 3: Infrastructure

  • Auto IP deny list from open-source threat feeds
  • DDoS protection at cloud provider level
  • Database connection limits and query timeouts

Read the full file on GitHub · 97 lines

Files

What ships with it

6 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 97 lines · 32 tokens per session scan A 445dc95c753a

Subscribe to this mod's changes

060101-http-security is a skill published in the GitHub repository natuleadan/skills (2 stars, last pushed 3mo ago), licensed MIT. It adds 32 tokens to every session and 774 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

hmi-design-full

Comprehensive ISA-101 design rules for Human Machine Interfaces in process automation, with detailed reference files covering color design, display hierarchy, navigation, alarms, human factors, performance, and lifecycle management. Use when designing, building, reviewing, or generating code for HMIs, control system…

timhok/hmi-design · 107 tokens

hmi-design-light

ISA-101 design rules for Human Machine Interfaces in process automation, covering display hierarchy, color standards, alarm integration, navigation, and situation awareness. Use when designing, building, reviewing, or generating code for HMIs, control system displays, SCADA screens, operator dashboards, or industrial…

timhok/hmi-design · 86 tokens

meta-tags-optimizer

Optimize title tags, meta descriptions, Open Graph, and Twitter cards for maximum click-through rate. Generates multiple A/B test variations with character counting and SERP preview. Use when asked to "optimize title tag", "write meta description", "improve CTR", "Open Graph tags", "fix my meta tags", "social media…

nowork-studio/notfair-plugin · 91 tokens

setup-cms

Connect a CMS to notfair SEO tools. Guides users through configuring WordPress, Strapi, Contentful, or Ghost — tests the connection, and writes credentials to .env.local. Once set up, seo-analysis automatically cross- references CMS content against Google Search Console data. Use whenever the user says "connect my…

nowork-studio/notfair-plugin · 111 tokens

broken-link-checker

Scans a website to find broken links (404s, 500s). Crawls internal pages, identifies broken outbound links, and reports source pages for easy fixing. Use this when the user asks to "check for broken links", "find 404s", "audit my links", or "is my site healthy".

nowork-studio/notfair-plugin · 72 tokens

google-ads-audit

Google Ads account audit and business context setup. Run this first — it gathers business information, analyzes account health, and saves context that all other ads skills reuse. Trigger on "audit my ads", "ads audit", "set up my ads", "onboard", "account overview", "how's my account", "ads health check", "what should…

nowork-studio/notfair-plugin · 114 tokens