security-agent

security-agent is an agent for Claude Code from boranesn/agentic-base. It costs 49 tokens per session (511 once invoked), scanned A, original, MIT.

An agent for defensive application-security reviews and hardening, including checking vulnerabilities, inputs, secrets, dependencies, and security headers.

In plain words
What is it for?
Reviewing code for security issues, documenting their location and fixes, checking dependencies, and improving input validation and secret handling.
Why use it?
It helps identify and explain security risks without treating unverified suspicions as confirmed findings. Its results still require automated scanning and human approval.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the security-roles plugin — 2 agents shipped together

Good fit Reviewing code for security issues, documenting their location and fixes, checking dependencies, and improving input validation and secret handling.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/boranesn/agentic-base/security-agent
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.

Clone the repo
git clone --depth 1 https://github.com/boranesn/agentic-base

Made for: Claude Code.

Or install security-roles, the plugin that ships this one along with the rest of its 2 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-agent

README.md
[![agentmods](https://agentmods.dev/badge/agents/boranesn/agentic-base/security-agent/github.svg)](https://agentmods.dev/agents/boranesn/agentic-base/security-agent)
Your own site
<a href="https://agentmods.dev/agents/boranesn/agentic-base/security-agent"><img src="https://agentmods.dev/badge/agents/boranesn/agentic-base/security-agent/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-agent

Your own site · 80×15
<a href="https://agentmods.dev/agents/boranesn/agentic-base/security-agent"><img src="https://agentmods.dev/badge/agents/boranesn/agentic-base/security-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 511 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.00049 $0.00511
Opus 5.5 $0.00020 $0.00204
Sonnet 5.5 $0.00010 $0.00102
Haiku 4.5 $0.00005 $0.00051

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

Security

Grade A, and why

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

plugins/security-roles/agents/security-agent.md · 35 lines

What it actually says

Sen bir uygulama güvenliği mühendisisin. Zafiyet analizi, girdi doğrulama, sır yönetimi, bağımlılık denetimi ve sıkılaştırma senin alanın. Bu rol savunma amaçlıdır: mevcut kodu güvenli hale getirirsin; saldırı aracı üretmezsin.

Bu rolde ürettiğin hiçbir çıktı, deterministik güvenlik taramasından geçmeden "tamamlandı" olarak işaretlenemez. Confidence skorun ne olursa olsun bu geçerlidir. Ayrıca bu rol yüksek riskli sınıftadır: her sonucun, skorundan bağımsız olarak insan onay kuyruğuna düşer — bunu aşmaya çalışma, tasarım gereğidir.

Çalışma disiplinin:

  • Kendi incelemeni "temiz" ilan etme yetkin yok: senin onayın da tarama + insan onayından geçer. "Ben güvenlik ajanıyım, dediğim güvenlidir" diye bir kural yoktur.
  • Her bulgu için: nerede (dosya/satır), neden risk, nasıl sömürülebilir (kısa), nasıl düzeltilir. Sömürü senaryosunu abartma da, küçümseme de.
  • Doğrulamadığın zafiyet iddiası kurma; "şüphe" ile "doğrulanmış bulgu"yu ayır.
  • Bağımlılık denetiminde sürüm/CVE bilgisini hafızadan yazma; doğrulayamadıysan uncertain_points'e yaz.
  • Güvenlik gate'i bir yazımını bloklarsa kuralı aşmaya çalışma; bulguyu gider ya da insana bırak.

Her çıktının SONUNDA, ZORUNLU olarak tam şu formatta beyan ver:

confidence: <0-1 arası sayısal skor>
assumptions: ["yaptığın varsayımlar"]
uncertain_points: ["emin olmadığın noktalar"]
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 First seen · 35 lines · 49 tokens per session scan A c815bae3d4d0

Subscribe to this mod's changes

security-agent is an agent published in the GitHub repository boranesn/agentic-base (3 stars, last pushed 3mo ago), licensed MIT. It adds 49 tokens to every session and 511 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-31.

Related

Other agents, from other repositories

code-reviewer

Review code changes against a base branch with structured feedback. Use this agent when the user requests a code review, PR review, or wants to analyze code changes systematically.

NikiforovAll/claude-code-rules · 37 tokens

planner

Strategic planning agent — read-only exploration before implementation. Use to decompose tasks, analyze codebases, and produce a detailed plan. Never modifies files.

FlorianBruniaux/claude-code-plugins · 33 tokens

state-keeper

Use this agent to run sync reconciliation between fakoli-state's three sources of truth — the SQLite canonical state (.fakoli-state/state.db), the filesystem (packets/, .evidence-buffer/, worktrees), and git (branches, commits, claims). It surfaces drift as structured discrepancy reports — orphan branches (claimed…

fakoli/fakoli-plugins · 465 tokens

requirements-reviewer

Reviews a draft requirements.md against the conversation history and glean scratch files. Detects coverage gaps (missing user-stated requirements), hallucinations (ACs without conversational source), and quality issues (EARS structure, CONFIRMED/ASSUMPTION labels, scope clarity, Out of Scope adequacy). Triggered…

iroha924/mumei · 99 tokens

spec-critic

Use this agent at TWO checkpoints of every /kana-spec engagement — lens A (Scope Check) after the interview and BEFORE drafting, to catch wrong premises at their cheapest point; lens B (Draft Check) on the completed draft before the user sees it. The invocation must state which lens applies. Also re-invoke it cheaply…

Linaqruf/kana-code-plugins · 95 tokens

perf-theory-tester

Execute controlled perf experiments, one change at a time, with rollback between runs.

composio-community/awesome-claude-plugins · 22 tokens