security-scan

security-scan is a skill for Claude Code from ShaheerKhawaja/ProductionOS. It costs 40 tokens per session (463 once invoked), scanned A, original, MIT.

A security checker for code that handles sign-in, payments, credentials, or administrator functions. It checks common web-application risks, including exposed secrets, unsafe input, missing access checks, and vulnerable dependencies.

In plain words
What is it for?
It reviews authentication and authorization, input handling, database queries, HTML output, cross-site request protection, dependency vulnerabilities, secrets, and permissive browser access rules.
Why use it?
It helps catch security defects while sensitive code is being changed, before they become exploitable problems.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Part of the productionos plugin — 4 skills, 41 commands, 11 agents shipped together

Good fit It reviews authentication and authorization, input handling, database queries, HTML output, cross-site request protection, dependency vulnerabilities, secrets, and permissive browser access rules.

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

Made for: Claude Code.

Or install productionos, the plugin that ships this one along with the rest of its 4 skills, 41 commands, 11 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/shaheerkhawaja/productionos/security-scan"><img src="https://agentmods.dev/badge/skills/shaheerkhawaja/productionos/security-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 463 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.00040 $0.00463
Opus 5 $0.00020 $0.00231
Sonnet 5 $0.00008 $0.00093
Haiku 4.5 $0.00004 $0.00046

Measured 9d ago against content hash 1ca46e081cd1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

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 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.

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.

.claude/skills/security-scan/SKILL.md · 58 lines

What it actually says

ProductionOS Security Scan

Auto-Triggered Checklist

When this skill activates on a security-sensitive file:

  1. Secret Detection — Scan for hardcoded API keys, tokens, passwords, connection strings
  2. Input Validation — Verify all user inputs are validated and sanitized
  3. Auth Checks — Confirm endpoint has proper authentication and authorization
  4. SQL Injection — Check for parameterized queries (no string concatenation)
  5. XSS Prevention — Verify output encoding for user-generated content
  6. CSRF Protection — Confirm CSRF tokens on state-changing operations
  7. Dependency CVEs — Flag if file imports packages with known vulnerabilities

Red Flags — STOP If You See These

  • Hardcoded secrets (API keys, passwords, tokens in source code)
  • Missing authentication on new endpoints
  • User input passed directly to database queries
  • Unsafe HTML rendering without sanitization
  • Disabled CSRF protection
  • Overly permissive CORS configuration
  • Catch-all error handlers that swallow security exceptions
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 · 58 lines · 40 tokens per session scan A 1ca46e081cd1

Subscribe to this mod's changes

security-scan is a skill published in the GitHub repository ShaheerKhawaja/ProductionOS (8 stars, last pushed 4mo ago), licensed MIT. It adds 40 tokens to every session and 463 once invoked, about $0.0002 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

fellowship

Multi-task orchestrator. Coordinates agent teammates (led by Gandalf) running /quest (code) or /scout (research) workflows. Use when you have multiple independent tasks to run in parallel.

justinjdev/fellowship · 45 tokens

quest

Use for multi-file or multi-step changes that need research and a plan — not single-file fixes under 50 lines that follow an existing pattern (see Escape Hatch below). Runs the Research → Plan → Implement → Review lifecycle with a hard gate leaving each of the first three phases and context compaction between them.

justinjdev/fellowship · 64 tokens

retro

Invoke after a fellowship disbands, or when the user explicitly asks for a retrospective. Collects gate history, palantir alerts, and quest metrics to surface patterns and interactively recommend configuration improvements.

justinjdev/fellowship · 42 tokens

lembas

Use between workflow phases or when context feels bloated. Writes a structured checkpoint capturing task, findings, files, state, and next steps, then continues from that summary instead of the full history. Invoke standalone or automatically between quest phases.

justinjdev/fellowship · 51 tokens

scout

Research & analysis workflow. Investigates questions, gathers findings, optionally validates with a fresh subagent. Produces a report — no code, no PRs, no commits. Use standalone or as a fellowship teammate.

justinjdev/fellowship · 46 tokens

council

Invoke when the user runs /council or from /scout. Quest inlines this orientation as its Research step 2 and does not call it. Loads focused, task-relevant context by reading CLAUDE.md, scanning for related files, and producing a structured Session Context block.

justinjdev/fellowship · 63 tokens