security-best-practices

security-best-practices is a skill for Claude Code, Codex from VoDaiLocz/kilo-kit-mcp. It costs 56 tokens per session (2,997 once invoked), scanned A, original, Apache-2.0.

A secure-coding guide based on the OWASP Top 10, a widely used list of common web-application security risks. It covers authentication, access control, user input, sensitive data, and deployment security.

In plain words
What is it for?
Use it when building login and permission systems, handling user input or sensitive information, reviewing code for security issues, or configuring application infrastructure.
Why use it?
It helps prevent vulnerabilities such as unauthorized data access, cross-site scripting, SQL injection, and request-forgery attacks. It also prompts developers to consider who might attack the system and what data is at risk.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it when building login and permission systems, handling user input or sensitive information, reviewing code for security issues, or configuring application infrastructure.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vodailocz/kilo-kit-mcp/security
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 VoDaiLocz/kilo-kit-mcp --skill security
Clone the repo
git clone --depth 1 https://github.com/VoDaiLocz/kilo-kit-mcp

Made for: Claude Code, Codex.

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-best-practices

README.md
[![agentmods](https://agentmods.dev/badge/skills/vodailocz/kilo-kit-mcp/security/github.svg)](https://agentmods.dev/skills/vodailocz/kilo-kit-mcp/security)
Your own site
<a href="https://agentmods.dev/skills/vodailocz/kilo-kit-mcp/security"><img src="https://agentmods.dev/badge/skills/vodailocz/kilo-kit-mcp/security/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for security-best-practices

Your own site · 80×15
<a href="https://agentmods.dev/skills/vodailocz/kilo-kit-mcp/security"><img src="https://agentmods.dev/badge/skills/vodailocz/kilo-kit-mcp/security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,997 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00056 $0.02997
Opus 5.5 $0.00022 $0.01199
Sonnet 5.5 $0.00011 $0.00599
Haiku 4.5 $0.00006 $0.00300

Measured 2mo ago against content hash 32e770db3ab9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

security-best-practices 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 2mo 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.

const response = await fetch(req.body.url);
skills/kilo-kit/development/security/SKILL.md · 530 lines

How it starts

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

🔐 Security Best Practices Skill

Philosophy: Security is not optional. Build it in from the start.

When to Use

Use this skill when:

  • Implementing authentication/authorization
  • Handling user input
  • Working with sensitive data
  • Doing security code review
  • Building user-facing features
  • Setting up deployment/infrastructure

Do NOT use this skill when:

  • Just formatting code
  • Pure UI/styling changes
  • No user data involved

Prerequisites

Before starting:

  • Understand what data you're handling
  • Know your threat model (who might attack)
  • Have access to codebase
  • Understand the tech stack

OWASP Top 10 Quick Reference

1. Broken Access Control (A01:2021)

What: Users can access data/functions they shouldn't.

Prevention:

// ❌ Bad: No authorization check
app.get('/users/:id', async (req, res) => {
  const user = await db.users.findById(req.params.id);
  res.json(user);
});

// ✅ Good: Check ownership
app.get('/users/:id', authorize(), async (req, res) => {
  const user = await db.users.findById(req.params.id);
  
  if (user.id !== req.user.id && req.user.role !== 'admin') {
    throw new ForbiddenException();
  }
  
  res.json(user);
});

Checklist:

  • Default deny (require explicit permission)
  • Verify ownership of resources
  • Role-based access control implemented
  • Admin functions protected
  • CORS configured correctly

2. Cryptographic Failures (A02:2021)

What: Weak crypto, exposed sensitive data.

Prevention:

// ❌ Bad: Weak hashing
const hash = crypto.createHash('md5').update(password).digest('hex');

// ✅ Good: Strong hashing with bcrypt
const hash = await bcrypt.hash(password, 12);

// ❌ Bad: Hardcoded secrets
const API_KEY = "sk_live_abc123";

// ✅ Good: Environment variables
const API_KEY = process.env.API_KEY;

Checklist:

  • Passwords hashed with bcrypt/argon2 (cost factor ≥12)
  • Sensitive data encrypted at rest
  • TLS/HTTPS enforced
  • No hardcoded secrets
  • Secrets in environment variables
  • Old/weak algorithms avoided (MD5, SHA1)

Read the full file on GitHub · 530 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. 2mo ago First seen · 530 lines · 56 tokens per session scan A 32e770db3ab9

Subscribe to this mod's changes

security-best-practices is a skill published in the GitHub repository VoDaiLocz/kilo-kit-mcp (28 stars, last pushed 15d ago), licensed Apache-2.0. It adds 56 tokens to every session and 2,997 once invoked, about $0.0002 per session on Opus 5.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.

Related

security-best-practices compared with skills from other repositories

security-best-practices next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-best-practicesVoDaiLocz/kilo-kit-mcpSkill2815d agoApache-2.0A56Claude Code, Codex
llm-structured-outputhybridlabor-api/bdb-dev-optimized-agent-skillsSkill910d agoApache-2.0A42Claude Code, Codex
drizzle-orm-experthybridlabor-api/bdb-dev-optimized-agent-skillsSkill910d agoApache-2.0A41Claude Code, Codex
landing-page-generatorhybridlabor-api/bdb-dev-optimized-agent-skillsSkill910d agoApache-2.0A50Claude Code, Codex
tdmcp-pipelinehybridlabor-api/bdb-dev-optimized-agent-skillsSkill910d agoApache-2.0A128Claude Code, Codex
memb-skillhybridlabor-api/bdb-dev-optimized-agent-skillsSkill910d agoApache-2.0A36Claude Code, Codex
startcycle-graph-userhybridlabor-api/bdb-dev-optimized-agent-skillsSkill910d agoApache-2.0A102Claude Code, Codex