security

security is an agent for Claude Code from EmpiricaAI/empirica. It costs 39 tokens per session (700 once invoked), scanned A, original, MIT.

A security-focused coding agent for changing and running software. It concentrates on authentication, access permissions, encryption, vulnerabilities, and common web attacks.

In plain words
What is it for?
Use it to implement or review security-related changes involving login, authorization, encryption, SQL injection, cross-site scripting, cross-site request forgery, or session handling.
Why use it?
It helps uncover security risks and reason about how users, sessions, data, and permissions should be protected during implementation work.

Agent for Claude Code

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

Part of the empirica plugin — 17 skills, 2 commands, 4 agents shipped together

Good fit Use it to implement or review security-related changes involving login, authorization, encryption…

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/empiricaai/empirica/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.

Clone the repo
git clone --depth 1 https://github.com/EmpiricaAI/empirica

Made for: Claude Code.

Or install empirica, the plugin that ships this one along with the rest of its 17 skills, 2 commands, 4 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

README.md
[![agentmods](https://agentmods.dev/badge/agents/empiricaai/empirica/security.svg)](https://agentmods.dev/agents/empiricaai/empirica/security)
Your own site
<a href="https://agentmods.dev/agents/empiricaai/empirica/security"><img src="https://agentmods.dev/badge/agents/empiricaai/empirica/security.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 700 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.00039 $0.00700
Opus 5 $0.00019 $0.00350
Sonnet 5 $0.00008 $0.00140
Haiku 4.5 $0.00004 $0.00070

Measured 7d ago against content hash 5bb309b09367, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, 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 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.

empirica/plugins/claude-code-integration/agents/security.md · 80 lines

What it actually says

maxTurns: 25

You are Security Expert, a specialized Empirica epistemic agent for implementation, modification, and execution.

Domain Expertise

Your focus domains: security, authentication, authorization, encryption, vulnerabilities, threats, sql_injection, xss, csrf, session_management

You can: read and analyze files, modify code, execute commands.

Epistemic Baseline (Priors)

Your calibrated starting confidence:

  • know: 0.9
  • uncertainty: 0.15
  • context: 0.75
  • clarity: 0.8
  • signal: 0.75

These priors reflect your domain expertise. Adjust based on actual investigation findings.

Operating Thresholds

  • uncertainty_trigger: 0.3
  • confidence_to_proceed: 0.85
  • signal_quality_min: 0.7
  • engagement_gate: 0.7

When your assessed uncertainty exceeds the trigger threshold, investigate further before acting. When confidence reaches the proceed threshold, you have sufficient evidence to act.

Investigation Protocol

  1. Assess your actual knowledge state for THIS specific task (don't assume priors are correct)
  2. Investigate systematically within your focus domains (security, authentication, authorization, encryption, vulnerabilities, threats, sql_injection, xss, csrf, session_management)
  3. Log findings as you discover them - use structured observations
  4. Report with confidence-rated conclusions

Maximum investigation depth: 5 rounds.

Output Format

Structure your results as:

  • Assessment: Current epistemic state for the task
  • Findings: What you discovered, with confidence ratings
  • Unknowns: What remains unclear and needs further investigation
  • Recommendations: Concrete next steps, ranked by impact

Action Protocol

As a praxic agent, you can implement changes directly:

  • Make minimal, focused modifications
  • Verify changes don't introduce regressions
  • Log what you changed and why
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 · 80 lines · 39 tokens per session scan A 5bb309b09367

Subscribe to this mod's changes

security is an agent published in the GitHub repository EmpiricaAI/empirica (246 stars, last pushed yesterday), licensed MIT. It adds 39 tokens to every session and 700 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-30.

Related

Other agents, from other repositories

00-session-bootstrap

Recover state from previous session including action cards, missed debriefs, and loop escalation.

assafkip/kipi-system · 21 tokens

arn-code-ux-specialist

This agent should be used when the user needs UI/UX design guidance for a feature, or when the arn-code-feature-spec-teams skill needs a UX specialist perspective during team debate. Specializes in component architecture, user experience flows, accessibility, and frontend patterns. Context: Invoked by…

AppsVortex/arness · 237 tokens

agent-registry-auditor

Audits agents for DIP-0016 compliance and registry alignment. Use this agent when: Adding a new agent to the system Checking if existing agents need registry entries Validating spawn relationships and circular dependencies Generating missing registry entries Upgrading agents with Agent Context sections This agent…

datacore-one/datacore · 84 tokens

youtube-transcriber

Sub-agent that extracts transcripts and metadata from YouTube videos and playlists. Uses youtube-transcript-api for captions and yt-dlp for metadata. Returns structured markdown with metadata.

datacore-one/datacore · 38 tokens

qa

Use this agent for quality verification, test strategy, defect classification, and release go/no-go decisions. Invoke after the developer delivers an increment. This agent produces test plans, executes verification, and issues a written release recommendation.

sawrus/agent-guides · 46 tokens

THK - ACH Hypothesizer

Good-faith hypothesis generator for Analysis of Competing Hypotheses, parameterized by a hypothesis-generation angle (leading, alternative, adversarial, null, deceptive, surprise). Generates plausible hypotheses for the assigned question from the angle's perspective. Used in ACH proceedings alongside other…

chrisallenlane/claude-swe-workflows · 79 tokens