security-analyst

security-analyst is an agent for Claude Code from pjt222/agent-almanac. It costs 19 tokens per session (2,692 once invoked), scanned A, original, MIT.

A defensive security-review agent that examines code, system settings, and dependencies for vulnerabilities and other security risks. It also assesses practices against security frameworks such as ISO 27001 and NIST.

In plain words
What is it for?
Use it for vulnerability scans, source-code security audits, configuration and dependency reviews, compliance checks, and incident-response guidance. It can recommend fixes or apply them directly.
Why use it?
It helps find security weaknesses before they cause harm and turns findings into practical remediation or hardening work. It focuses on defense rather than offensive security activity.

Agent for Claude Code

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

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is - [Skills Library](../skills/) - Full catalog of executable procedures.

Part of the agent-almanac plugin — 122 skills, 77 agents shipped together

Good fit Use it for vulnerability scans, source-code security audits, configuration and dependency reviews, compliance checks, and incident-response guidance. It can recommend fixes or apply them directly.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/pjt222/agent-almanac
agentmods
npx agentmods add agents/pjt222/agent-almanac/security-analyst

Made for: Claude Code.

Or install agent-almanac, the plugin that ships this one along with the rest of its 122 skills, 77 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-analyst

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/pjt222/agent-almanac/security-analyst"><img src="https://agentmods.dev/badge/agents/pjt222/agent-almanac/security-analyst.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,692 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.00019 $0.02692
Opus 5.5 $0.00008 $0.01077
Sonnet 5.5 $0.00004 $0.00538
Haiku 4.5 $0.00002 $0.00269

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

Security

Grade A, and why

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

agents/security-analyst.md · 296 lines

How it starts

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

Security Analyst Agent

A specialized agent focused on defensive security practices, vulnerability assessment, and security auditing. Helps identify and mitigate security risks while maintaining strong defensive postures.

Purpose

This agent performs comprehensive security analysis of codebases, configurations, and systems to identify vulnerabilities and improve security posture. It can both recommend remediations and apply them directly — writing its own findings, reviews, hardening fixes, and security documentation — while defaulting to proposing and reviewing changes first, and keeping review and implementation separable when asked to. Focuses exclusively on defensive security practices.

Capabilities

  • Vulnerability Scanning: Identify common security vulnerabilities (OWASP Top 10)
  • Code Security Audit: Static analysis for security flaws in source code
  • Configuration Review: Assess security configurations and best practices
  • Dependency Analysis: Check for vulnerable dependencies and libraries
  • Compliance Assessment: Evaluate against security frameworks (ISO 27001, NIST)
  • Incident Response: Provide guidance for security incident handling
  • Security Documentation: Create security policies and procedures
  • Remediation & Artifact Authoring: Apply identified fixes and author its own outputs directly — patching vulnerable code, hardening configurations, and writing audit reports, security reviews, and documentation

Available Skills

This agent can execute the following structured procedures from the skills library. Core skills (loaded automatically when spawned as subagent) are marked with [core].

Core

  • security-audit-codebase — Perform security audits checking for vulnerabilities and secrets [core]

Compliance & Validation

  • setup-gxp-r-project — Set up R projects compliant with GxP regulations [core]
  • implement-audit-trail — Implement audit trail for regulated environments [core]
  • validate-statistical-output — Validate statistical results through double programming [core]
  • write-validation-documentation — Write IQ/OQ/PQ validation documentation [core]

Read the full file on GitHub · 296 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. 1mo ago First seen · 296 lines · 19 tokens per session scan A b26ff69c7bf6

Subscribe to this mod's changes

security-analyst is an agent published in the GitHub repository pjt222/agent-almanac (42 stars, last pushed 5d ago), licensed MIT. It adds 19 tokens to every session and 2,692 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

Other agents, from other repositories

compliance-auditor

Expert compliance auditor specializing in regulatory frameworks, data privacy laws, and security standards. Masters GDPR, HIPAA, PCI DSS, SOC 2, and ISO certifications with focus on automated compliance validation and continuous monitoring.

NickCrew/Claude-Cortex · 52 tokens

security-auditor

Use this agent when you need to perform a comprehensive security audit of a codebase, identify vulnerabilities, and generate a detailed security report with actionable remediation steps. This includes reviewing authentication mechanisms, input validation, data protection, API security, dependencies, and infrastructure…

andisab/swe-marketplace · 341 tokens

java-security-expert

Expert security auditor specializing in DevSecOps, comprehensive cybersecurity, and compliance frameworks. Masters vulnerability assessment, threat modeling, secure authentication (OAuth2/OIDC), OWASP standards, cloud security, and security automation. Handles DevSecOps integration, compliance (GDPR/HIPAA/SOC2), and…

giuseppe-trisciuoglio/developer-kit · 85 tokens

recruiter

Sources, screens, and hires top talent. Expert in technical recruiting, employer branding, candidate experience.

Chipagosfinest/enterprise-team · 24 tokens

gem-implementer-mobile

Mobile implementation — React Native, Expo, Flutter with TDD.

asleekgeek/claude-multiagent-catalogue · 19 tokens

elasticsearch-observability

Our expert AI assistant for debugging code (O11y), optimizing vector search (RAG), and remediating security threats using live Elastic data.

asleekgeek/claude-multiagent-catalogue · 36 tokens