security

security is a skill for Claude Code from dean0x/devflow. It costs 14 tokens per session (972 once invoked), scanned A, original, MIT.

A set of code-review instructions for finding security problems such as injection flaws, authentication bypasses, and hardcoded secrets.

In plain words
What is it for?
Use it to review user input, URLs, headers, cookies, database queries, output handling, authentication, authorization, and secret storage.
Why use it?
It treats all external input as potentially malicious and guides reviewers toward validation, escaping, parameterized queries, and layered access checks.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Good fit Use it to review user input, URLs, headers, cookies, database queries, output handling, authentication, authorization, and secret storage.

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

Made for: Claude Code.

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/dean0x/devflow/security/github.svg)](https://agentmods.dev/skills/dean0x/devflow/security)
Your own site
<a href="https://agentmods.dev/skills/dean0x/devflow/security"><img src="https://agentmods.dev/badge/skills/dean0x/devflow/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/dean0x/devflow/security"><img src="https://agentmods.dev/badge/skills/dean0x/devflow/security.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 972 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.00014 $0.00972
Opus 5.5 $0.00006 $0.00389
Sonnet 5.5 $0.00003 $0.00194
Haiku 4.5 $0.00001 $0.00097

Measured 1mo ago against content hash 1faed9932b5a, 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.

src/assets/skills/security/SKILL.md · 95 lines

How it starts

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

Security Patterns

Detection patterns for security vulnerability review. Use with devflow:review-methodology.

Iron Law

Assume all input is malicious.

Every user input, URL parameter, header, and cookie is an attack vector. Use parameterized queries always. Escape output always. Validate schemas always. "This field is internal" is not a defense. Defense in depth, not wishful thinking.

Vulnerability Categories

1. Input Validation & Injection

  • SQL injection: parameterize, never interpolate (`... WHERE email = '${email}'` is vulnerable).
  • XSS: set textContent, never innerHTML, with user input.

references/patterns.md — NoSQL, command injection, path traversal, LDAP injection.

2. Authentication & Authorization

Every state-changing route needs layered auth middleware (requireAuth, requireRole('admin')); a DELETE handler without it is broken access control. NIST 800-63 minimum: 15-char passphrase or 12-char complex, phishing-resistant MFA. JWT: pin algorithm explicitly, set expiresIn, store refresh tokens server-side.

3. Cryptography & Secrets

Secrets come from env vars or a secret store, never literals. Tokens use crypto.randomBytes, never Math.random(). Password hashing: Argon2id (preferred) or bcrypt cost ≥12. Encrypt with AES-256-GCM (authenticated). Compare secrets with crypto.timingSafeEqual, never ===.

Reporting a found secret: cite file:line and the type slug — never quote the full value. Use {first ≤4 chars}…[REDACTED:{type}] (e.g. AKID…[REDACTED:aws-key]). A found live credential is ALREADY COMPROMISED — the remediation is rotation (revoke and regenerate the exposed credential) plus moving to env vars or a secret store, not just removal from code.

4. Configuration & Headers

Expect helmet(), a Content-Security-Policy, Strict-Transport-Security, and CORS with an explicit origin list. SameSite=Strict cookies prevent CSRF. SRI hashes prevent CDN tampering.

5. Business Logic & API Security

Read the full file on GitHub · 95 lines

Files

What ships with it

4 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 · -27 lines · -4 tokens per session 1faed9932b5a
  2. 1mo ago Changed · -5 tokens per session 160f948c8480
  3. 3mo ago First seen · 122 lines · 23 tokens per session scan A 391e791ac3d3

Subscribe to this mod's changes

security is a skill published in the GitHub repository dean0x/devflow (23 stars, last pushed today), licensed MIT. It adds 14 tokens to every session and 972 once invoked, about $0.0001 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
securitydean0x/devflowSkill23todayMITA14Claude Code
find-simplificationsQwenLM/qwen-codeSkill31ktodayApache-2.0C103Claude Code, Codex
swarm-pr-reviewZaxbyHub/opencode-swarmSkill549todayMITA91Claude Code
agent-debug-ciNVIDIA/elementsSkill122todayApache-2.0A80Claude Code, Codex
audit-ciNVIDIA/elementsSkill122todayApache-2.0A78Claude Code, Codex
reviewanton-abyzov/specweaveSkill178todayMITA45Claude Code, Codex
tech-debt-ci-reviewZaxbyHub/opencode-swarmSkill549todayMITA61Codex