kdd-security-scan

kdd-security-scan is a skill for Claude Code, Codex from MauricioPerera/KDD. It costs 140 tokens per session (2,034 once invoked), scanned A, original, MIT.

A Spanish-language software skill for scanning a repository for security vulnerabilities and producing structured scan files that can be checked by automated rules.

In plain words
What is it for?
Use it to audit a repository and produce a scan manifest, findings, and coverage data for a KDD security gate.
Why use it?
It turns a security review into versionable files with defined formats and coverage, instead of leaving the result as an informal report.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents); mentions Codex.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python scripts/vendor/codex-security/finalize_scan_contract.py \.

Good fit Use it to audit a repository and produce a scan manifest, findings, and coverage data for a KDD security gate.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/MauricioPerera/KDD
agentmods
npx agentmods add skills/mauricioperera/kdd/kdd-security-scan

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 kdd-security-scan

README.md
[![agentmods](https://agentmods.dev/badge/skills/mauricioperera/kdd/kdd-security-scan/github.svg)](https://agentmods.dev/skills/mauricioperera/kdd/kdd-security-scan)
Your own site
<a href="https://agentmods.dev/skills/mauricioperera/kdd/kdd-security-scan"><img src="https://agentmods.dev/badge/skills/mauricioperera/kdd/kdd-security-scan/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 kdd-security-scan

Your own site · 80×15
<a href="https://agentmods.dev/skills/mauricioperera/kdd/kdd-security-scan"><img src="https://agentmods.dev/badge/skills/mauricioperera/kdd/kdd-security-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 140 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,034 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00140 $0.02034
Opus 5 $0.00070 $0.01017
Sonnet 5 $0.00028 $0.00407
Haiku 4.5 $0.00014 $0.00203

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

Security

Grade A, and why

kdd-security-scan scanned grade A with 0 findings 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 11d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/kdd-security-scan/SKILL.md · 142 lines

How it starts

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

Security Scan (Capa 3 de KDD)

Produce hallazgos de seguridad de un repositorio en el formato de contrato que audita la Capa 3 de KDD. Esta skill NO es el gate -- es la parte creativa/no determinista (la hace un LLM, con o sin subagentes) que el gate despues valida. Distincion central: el agente decide QUE es un hallazgo; el gate solo audita que el artefacto sellado cumpla forma y politica. Ningun LLM participa en el gate.

Adaptada del flujo de las skills de openai/codex-security (_bundled_plugin/skills/security-scan/, Apache-2.0), quitando toda dependencia del binario codex y de sus tools MCP especificas de la app de escritorio. Esta version corre con Bash + lectura de archivos nada mas -- cualquier agente sirve.

Cuando usarla

El usuario pide auditar un repo (propio o externo) por vulnerabilidades y quiere el resultado gobernado por KDD (versionable, gateado en CI, con politica declarativa), no un reporte suelto en prosa.

Insumos que necesitas antes de empezar

  • repo_root: raiz del repositorio a escanear (puede ser un clon separado del propio KDD -- ver la nota de portabilidad en scripts/vendor/codex-security/README.md, el finalizer no asume que el target viva dentro del repo KDD).
  • scan_dir: donde vas a escribir los 3 JSON. Por defecto security/scan dentro del repo KDD (coincide con el default de validate_security_findings.py); si estas gobernando un repo EXTERNO, cualquier directorio disponible sirve, con tal de que se lo pases explicito a finalize_scan_contract.py --scan-dir.
  • Los 3 schemas viven en knowledge/data_models/security/ (vendorizados del mismo origen, no los reinventes ni los edites).

Flujo

1. Alcance

Antes de tocar codigo, fija por escrito (2-3 lineas, no hace falta un documento aparte): que directorio/paquete se revisa, que queda explicitamente fuera, y contra que amenaza (codigo de terceros ejecutado localmente, superficie de red expuesta, manejo de secretos, etc.). Esto se vuelca en scan.scope.summary del manifest.

Read the full file on GitHub · 142 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. 11d ago First seen · 142 lines · 140 tokens per session scan A 4e749d3826a0

Subscribe to this mod's changes

kdd-security-scan is a skill published in the GitHub repository MauricioPerera/KDD (7 stars, last pushed 2d ago), licensed MIT. It adds 140 tokens to every session and 2,034 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 0 findings. 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

crit-cli

Use when an agent needs to author or reply to crit inline comments programmatically (including multi-agent workflows commenting on shared code/plans/docs/proposals), publish or unpublish a crit review with crit share, sync a crit review to or from a GitHub PR or GitLab MR, or read/interpret a crit review JSON file.…

tomasz-tomczyk/crit · 110 tokens

crit

Review code changes, a plan, a live page (running dev server), or a local HTML file with Crit inline comments and structured human feedback. Use only when the user explicitly invokes /crit or directly asks to use Crit; a generic review request does not count.

tomasz-tomczyk/crit · 55 tokens

crit-story

Author a crit story and continue the interactive review loop only when the user explicitly invokes crit-story or directly asks you to generate a crit story. Do not infer this skill from generic review, PR, or diff-review requests.

tomasz-tomczyk/crit · 47 tokens

trio-omnigent

Run the Cursor-backed Omnigent Trio loop from the current Claude/Codex UI session when the user explicitly says “Trio Omnigent”, “Omnigent Trio”, or invokes /trio-omnigent. Do not use for an ordinary native Trio request.

albiol2004/trio-agent-loop · 61 tokens

trio-bridge

Suggest background Trio work by scanning a project and writing deduplicated proposal cards into proposals/.

albiol2004/trio-agent-loop · 23 tokens

research-a-evolve

Provides guidance for automatically evolving and optimizing AI agents across any domain using LLM-driven evolution algorithms. Use when building self-improving agents, optimizing agent prompts and ...

GrayCodeAI/starling · 38 tokens