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 $0.00028 $0.01499
Sonnet 5 $0.00011 $0.00599
Haiku 4.5 $0.00006 $0.00300

Measured 9d ago against content hash 32e770db3ab9, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, 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 9d 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. 9d 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 (26 stars, last pushed 4d ago), licensed Apache-2.0. It adds 56 tokens to every session and 2,997 once invoked, about $0.0003 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.

Related

Other skills, from other repositories

llm-structured-output

Get reliable JSON, enums, and typed objects from LLMs using responseformat, tooluse, and schema-constrained decoding across OpenAI, Anthropic, and Google APIs.

hybridlabor-api/bdb-dev-optimized-agent-skills · 42 tokens

drizzle-orm-expert

Expert in Drizzle ORM for TypeScript — schema design, relational queries, migrations, and serverless database integration. Use when building type-safe database layers with Drizzle.

hybridlabor-api/bdb-dev-optimized-agent-skills · 41 tokens

landing-page-generator

Generates high-converting Next.js/React landing pages with Tailwind CSS. Uses PAS, AIDA, and BAB frameworks for optimized copy/components (Heroes, Features, Pricing). Focuses on Core Web Vitals/SEO.

hybridlabor-api/bdb-dev-optimized-agent-skills · 50 tokens

tdmcp-pipeline

Orchestrates the tdmcp feature team end-to-end: design/wireframe → build → integrate → QA → release. Use whenever the user wants to build, implement, develop, ship, or add one or more tdmcp features/tools/effects/controls/AI-prompts for TouchDesigner, or to run them through a coordinated design→develop→QA→deploy…

hybridlabor-api/bdb-dev-optimized-agent-skills · 128 tokens

startcycle-graph-user

Use when a task needs a small, throwaway multi-agent fan-out (a couple of parallel workers plus a review pass) in ANY project, without the full /startcycle-graph contract — no .agents/graph.md bootstrap, no state.json schema, no persistent files. Model-tiered by role (opus plan, sonnet review, haiku or an external CLI…

hybridlabor-api/bdb-dev-optimized-agent-skills · 102 tokens

memb-skill

BDB local-first long-term memory engine (memB). Use when querying, remembering, or adapting preferences, code architectures, and developer patterns across tasks.

hybridlabor-api/bdb-dev-optimized-agent-skills · 36 tokens