security

security is a skill for Claude Code from PrabhdeepSingh/claude-plugins. It costs 77 tokens per session (1,513 once invoked), scanned A, original, MIT.

A set of security rules for designing and building software before implementation. It covers risks such as unauthorised access, unsafe network requests, harmful dependencies, private data exposure, and unsafe AI output.

In plain words
What is it for?
It helps threat-model features involving authentication, personal or payment data, uploads, outbound requests, dependencies, webhooks, queues, or AI output used by software.
Why use it?
It makes security decisions before a feature widens the attack surface, reducing the chance that serious weaknesses are discovered only after the feature is built.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Part of the sonu plugin — 22 skills, 2 commands shipped together

Good fit It helps threat-model features involving authentication, personal or payment data, uploads, outbound requests, dependencies, webhooks, queues, or AI output used by software.

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

Made for: Claude Code.

Or install sonu, the plugin that ships this one along with the rest of its 22 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

README.md
[![agentmods](https://agentmods.dev/badge/skills/prabhdeepsingh/claude-plugins/security/github.svg)](https://agentmods.dev/skills/prabhdeepsingh/claude-plugins/security)
Your own site
<a href="https://agentmods.dev/skills/prabhdeepsingh/claude-plugins/security"><img src="https://agentmods.dev/badge/skills/prabhdeepsingh/claude-plugins/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/prabhdeepsingh/claude-plugins/security"><img src="https://agentmods.dev/badge/skills/prabhdeepsingh/claude-plugins/security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,513 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.00077 $0.01513
Opus 5.5 $0.00031 $0.00605
Sonnet 5.5 $0.00015 $0.00303
Haiku 4.5 $0.00008 $0.00151

Measured 20d ago against content hash bc80b594684e, 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 20d 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.

sonu/skills/security/SKILL.md · 72 lines

How it starts

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

Security — decide what can go wrong before deciding what to build

Explicit project instructions (its AGENTS.md, CLAUDE.md or other written rules) override this skill's workflow and style; follow them and skip that part of this. Existing code or habit alone never waives a trust boundary, a disclosure rule, a required human authorization or a data-safety rule: where the code conflicts with one of those, say so instead of following it.

These rules cover the decisions that are cheapest to get right while the trust boundaries are still being drawn. Parameterized queries and boundary validation live in [[code-standards]] section 9. Secret storage and CI credentials live in [[infra-standards]] sections 3 and 5.

1. Name the boundaries and the abuse cases

Before choosing defences, list where outside data enters (requests, uploads, webhooks, third-party responses, queue messages and model output) and what is reachable through each (credentials, personal data, payment data, admin capabilities, money movement). Then write the abuse case beside each use case and make it a test ([[tdd]]). "Upload a profile photo" pairs with "upload a 2GB file", "upload an SVG with a script tag" and "upload to someone else's profile".

2. Three tiers: always, ask first, never

  • Always, with no permission needed: parameterized queries, boundary validation, passwords hashed with a current algorithm, TLS on, secrets from the store, least-privilege scopes.
  • Ask first. A human approves before the change ships, because each of these widens the attack surface more than the diff suggests: a new authentication flow or a change to auth logic; storing a new category of sensitive data; a new external service integration; a CORS change; a file-upload handler; a rate-limiting or throttling change; granting an elevated permission or role.
  • Never: secrets in source or logs, personal data in telemetry, disabled TLS verification, auth checks only on the client, security controls that fail open.

Read the full file on GitHub · 72 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. 20d ago Changed · -23 lines · -25 tokens per session bc80b594684e
  2. 2mo ago Changed · +1 lines d501a85eff88
  3. 3mo ago First seen · 94 lines · 102 tokens per session scan A 4a608961731d

Subscribe to this mod's changes

security is a skill published in the GitHub repository PrabhdeepSingh/claude-plugins (4 stars, last pushed 21d ago), licensed MIT. It adds 77 tokens to every session and 1,513 once invoked, about $0.0003 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-31.

Related

security compared with skills from other repositories

security next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
securityPrabhdeepSingh/claude-pluginsSkill421d agoMITA77Claude Code
branch-recapMalo-T/claude-toolbeltSkill25d agoMITA338Claude Code
audit-contextMalo-T/claude-toolbeltSkill25d agoMITA249Claude Code
ignore-setupMalo-T/claude-toolbeltSkill25d agoMITA157Claude Code
handoffMalo-T/claude-toolbeltSkill25d agoMITA151Claude Code
plugin-commandsMalo-T/claude-toolbeltSkill25d agoMITA73Claude Code
access2naive/claude-telegram-topicsSkill1yesterdayApache-2.0A42Claude Code