security

security is a skill for Claude Code from krzysztofsurdy/code-virtuoso. It costs 48 tokens per session (2,693 once invoked), scanned A, original, MIT.

A guide to common web-application security risks, based on the OWASP Top 10, a widely used list of serious web security problems. It covers user access, sensitive data, secrets, input handling, and security settings.

In plain words
What is it for?
Use it when designing or reviewing features, implementing login and permissions, handling secrets or sensitive data, configuring security headers, or responding to a vulnerability.
Why use it?
It helps find and prevent problems such as SQL injection, cross-site scripting, forged requests, stolen credentials, and exposed API keys.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the knowledge-virtuoso plugin — 6 skills shipped together

Good fit Use it when designing or reviewing features, implementing login and permissions, handling secrets or sensitive data, configuring security headers, or responding to a vulnerability.

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

Made for: Claude Code.

Or install knowledge-virtuoso, the plugin that ships this one along with the rest of its 6 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 security

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/krzysztofsurdy/code-virtuoso/security"><img src="https://agentmods.dev/badge/skills/krzysztofsurdy/code-virtuoso/security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,693 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.
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.00048 $0.02693
Opus 5.5 $0.00019 $0.01077
Sonnet 5.5 $0.00010 $0.00539
Haiku 4.5 $0.00005 $0.00269

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

Security

Grade A, and why

security 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 1mo 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.

skills/knowledge/security/SKILL.md · 218 lines

How it starts

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

Security

Security is a property of every feature: design every endpoint, form, data flow, and integration point with it from the start. Stack-agnostic guidance follows.

OWASP Top 10

Use the OWASP Top 10 as a starting checklist, not a full list. The table follows the 2025 edition (OWASP Top 10:2025). Mapping from the 2021 edition and per-category prevention steps are in the reference.

# Vulnerability What it is Primary defense Reference
A01 Broken Access Control Users act outside intended permissions (includes SSRF) Deny by default, enforce server-side, allowlist outbound destinations reference
A02 Security Misconfiguration Insecure default configs, incomplete setup Hardened defaults, automated config validation reference
A03 Software Supply Chain Failures Compromise of dependencies, build systems, or distribution Inventory and pin dependencies, verify integrity, secure the pipeline reference
A04 Cryptographic Failures Sensitive data exposed due to weak/missing crypto Use strong algorithms, encrypt in transit and at rest reference
A05 Injection Untrusted data sent to interpreter as part of a command/query Parameterized queries, input validation, output encoding reference
A06 Insecure Design Missing or ineffective security controls by design Threat modeling, secure design patterns reference
A07 Authentication Failures Broken authentication/identification MFA, rate limiting, secure password storage reference
A08 Software or Data Integrity Failures Code/data integrity not verified Signed updates, no unsafe deserialization reference
A09 Security Logging and Alerting Failures Attacks go unnoticed for lack of logs and alerts Log security events, alert on suspicious patterns reference
A10 Mishandling of Exceptional Conditions Errors and edge cases handled badly or fail open Fail closed, roll back partial work, handle every error path reference

Read the full file on GitHub · 218 lines

Files

What ships with it

3 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. 1mo ago Changed · -51 lines 01b39f45a23d
  2. 1mo ago Changed · +2 lines · -41 tokens per session 06489acd25d1
  3. 3mo ago First seen · 267 lines · 89 tokens per session scan A 0e34ac692e64

Subscribe to this mod's changes

security is a skill published in the GitHub repository krzysztofsurdy/code-virtuoso (26 stars, last pushed 1mo ago), licensed MIT. It adds 48 tokens to every session and 2,693 once invoked, about $0.0002 per session on Opus 5.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-30.

Related

security compared with skills from other repositories

security next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
securitykrzysztofsurdy/code-virtuosoSkill261mo agoMITA48Claude Code
hermes-diagnostic-reviewAtlasOmnia/hermes-custom-packSkill8817d agoMITA49Claude Code, Codex
worth-building2ykwang/agent-skillsSkill19yesterdayMITA128Claude Code
django-ticket-triage2ykwang/agent-skillsSkill19yesterdayMITA65Claude Code
gh-issuesSafeAI-Lab-X/ClawKeeperSkill1.0k3d agononeA116Claude Code
healthcheckSafeAI-Lab-X/ClawKeeperSkill1.0k3d agononeA70Claude Code, Codex
clawkeeperSafeAI-Lab-X/ClawKeeperSkill1.0k3d agononeA98Claude Code, Codex