security-misconfiguration

security-misconfiguration is a skill for Claude Code from latestaiagents/agent-skills. It costs 71 tokens per session (2,602 once invoked), scanned A, original, MIT.

A security review guide for finding unsafe server, framework, cloud, and deployment settings.

In plain words
What is it for?
Use it when checking production deployments, web-server settings, security headers, CORS, cloud storage, and sensitive endpoints.
Why use it?
It helps uncover exposed debugging details, weak defaults, missing browser protections, open storage, and unnecessary services.

Skill for Claude Code

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

Part of the security-guardian plugin — 10 skills, 2 commands shipped together

Good fit Use it when checking production deployments, web-server settings, security headers, CORS, cloud storage, and sensitive endpoints.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/latestaiagents/agent-skills/security-misconfiguration
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.

Any agent
npx skills add latestaiagents/agent-skills --skill security-misconfiguration
Clone the repo
git clone --depth 1 https://github.com/latestaiagents/agent-skills

Made for: Claude Code.

Or install security-guardian, the plugin that ships this one along with the rest of its 10 skills, 2 commands.

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 security-misconfiguration

README.md
[![agentmods](https://agentmods.dev/badge/skills/latestaiagents/agent-skills/security-misconfiguration.svg)](https://agentmods.dev/skills/latestaiagents/agent-skills/security-misconfiguration)
Your own site
<a href="https://agentmods.dev/skills/latestaiagents/agent-skills/security-misconfiguration"><img src="https://agentmods.dev/badge/skills/latestaiagents/agent-skills/security-misconfiguration.svg" alt="Measured on agentmods" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,602 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00071 $0.02602
Opus 5 $0.00036 $0.01301
Sonnet 5 $0.00014 $0.00520
Haiku 4.5 $0.00007 $0.00260

Measured 4d ago against content hash 92b988d9fe61, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

security-misconfiguration 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 4d ago.

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
plugins/security-guardian/skills/owasp/security-misconfiguration/SKILL.md · 420 lines

How it starts

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

Security Misconfiguration (OWASP A06)

Detect and fix insecure default configurations, missing security headers, exposed debug info, and cloud misconfigurations.

When to Use

  • Configuring web servers (Nginx, Apache)
  • Setting up cloud resources (AWS, GCP, Azure)
  • Deploying applications to production
  • Reviewing security headers
  • Auditing CORS configuration
  • Checking for exposed sensitive endpoints

Common Misconfigurations

Issue Risk Impact
Debug mode enabled HIGH Information disclosure
Default credentials CRITICAL Full system compromise
Missing security headers MEDIUM XSS, clickjacking
Directory listing MEDIUM Information disclosure
Verbose error messages MEDIUM Attack surface exposure
Open cloud storage CRITICAL Data breach
Unnecessary services MEDIUM Increased attack surface

Detection Patterns

Debug Mode in Production

// VULNERABLE - Debug mode enabled
app.set('env', 'development');
DEBUG=* node app.js

// VULNERABLE - Stack traces in errors
app.use((err, req, res, next) => {
  res.status(500).json({
    error: err.message,
    stack: err.stack // Never in production!
  });
});

// VULNERABLE - Source maps in production
// webpack.config.js
devtool: 'source-map' // Exposes source code

Missing Security Headers

// VULNERABLE - No security headers set
app.get('/', (req, res) => {
  res.send('<html>...</html>');
});

// Check current headers
curl -I https://example.com
// Missing: X-Frame-Options, CSP, etc.

CORS Misconfiguration

// VULNERABLE - Allow all origins
app.use(cors({
  origin: '*',
  credentials: true // Dangerous with wildcard!
}));

// VULNERABLE - Reflecting origin
app.use(cors({
  origin: req.headers.origin, // Reflects any origin
  credentials: true
}));

Cloud Storage Misconfiguration

// VULNERABLE - Public S3 bucket policy
{
  "Version": "2012-10-17",
  "Statement": [{
    "Effect": "Allow",
    "Principal": "*",
    "Action": "s3:GetObject",
    "Resource": "arn:aws:s3:::my-bucket/*"
  }]
}

Read the full file on GitHub · 420 lines

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. 4d ago First seen · 420 lines · 71 tokens per session scan A 92b988d9fe61

Subscribe to this mod's changes

security-misconfiguration is a skill published in the GitHub repository latestaiagents/agent-skills (5 stars, last pushed 4mo ago), licensed MIT. It adds 71 tokens to every session and 2,602 once invoked, about $0.0004 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-09-03.