security-pass

security-pass is a skill for Claude Code from yuri-semenenko/ai-engineering-workspace. It costs 104 tokens per session (1,049 once invoked), scanned A, original, MIT.

A staged process for finding and fixing security weaknesses in an application. It first maps the relevant attack surface, then prepares an ordered remediation checklist before making approved changes.

In plain words
What is it for?
Use it for a security hardening pass covering routes, handlers, permissions, data flows, secrets, and dependencies. It is suited to planned remediation work rather than a quick read-only review of the current diff.
Why use it?
It separates investigation from repair so security fixes are understood, prioritized, and reviewable. Each remediation is made as a small change and checked with a type check afterward.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions subagents.

Good fit Use it for a security hardening pass covering routes, handlers, permissions, data flows, secrets, and dependencies. It is suited to planned remediation work rather than a quick read-only review of the current diff.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/yuri-semenenko/ai-engineering-workspace/security-pass.svg)](https://agentmods.dev/skills/yuri-semenenko/ai-engineering-workspace/security-pass)
Your own site
<a href="https://agentmods.dev/skills/yuri-semenenko/ai-engineering-workspace/security-pass"><img src="https://agentmods.dev/badge/skills/yuri-semenenko/ai-engineering-workspace/security-pass.svg" alt="Measured on agentmods" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,049 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.00104 $0.01049
Opus 5 $0.00052 $0.00524
Sonnet 5 $0.00021 $0.00210
Haiku 4.5 $0.00010 $0.00105

Measured 7d ago against content hash 0cc006ca1f58, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

security-pass 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 7d 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-code/.claude/skills/security-pass/SKILL.md · 63 lines

How it starts

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

Security Pass

A staged security hardening workflow, distinct from a one-shot scan. The shape is: recon → numbered checklist → approval → atomic remediation commits, typecheck-gated per task. This matches the workflow the user validated in prior passes; follow it rather than diving straight into edits.

For a quick read-only scan of the current diff, use the built-in /security-review instead. This skill is for when there is real remediation work to plan and land safely.

Phase 1 — Recon (read-only)

  1. Map the attack surface relevant to the change or area: entry points (routes, handlers, server actions), trust boundaries, auth/authz checks, data flowing from untrusted input to sinks (DB, shell, HTML, file system, external calls), secret handling, and dependency surface.
  2. Fan out with Explore subagents per subsystem when the surface is broad — keep raw findings out of the main context, per the persona's session-hygiene rule.
  3. Catalog candidate issues with category + severity. Do not fix anything yet.

Phase 2 — Numbered checklist (for approval)

Produce a single ordered checklist. Each item:

# Category Severity Location (file:line) Issue Proposed fix Effort
  • Severity by exploitability × blast radius. Order most-critical first.
  • Each item must be independently committable — that is what makes the next phase atomic.
  • Stop here and wait for approval. The user picks which items proceed (and may defer some, as in past passes where later-stage items were deferred behind a product milestone). Do not start remediation until the list is approved.

Phase 3 — Remediation (atomic, typecheck-gated)

For each approved item, in order:

  1. Implement the minimal fix for that one item. Do not bundle unrelated hardening into the same change.
  2. Typecheck gate: run the project's typecheck (and targeted tests if they exist) before committing. If it fails, fix before moving on — never commit a red tree.
  3. Commit the single item per the commit skill rules (one logical change, no Co-Authored-By, ask before pushing). Reference the checklist item in the subject.
  4. Move to the next item only after the current one is green and committed.

Read the full file on GitHub · 63 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. 7d ago First seen · 63 lines · 104 tokens per session scan A 0cc006ca1f58

Subscribe to this mod's changes

security-pass is a skill published in the GitHub repository yuri-semenenko/ai-engineering-workspace (1 stars, last pushed 6d ago), licensed MIT. It adds 104 tokens to every session and 1,049 once invoked, about $0.0005 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.