security-analyzer

security-analyzer is an agent for Claude Code from PlamenTSV/plamen. It costs 16 tokens per session (774 once invoked), scanned A, original, MIT.

A security-review agent that combines findings from many other code-analysis agents into one prioritized list of possible vulnerabilities. It groups related findings and assigns severity and test types.

In plain words
What is it for?
Use it to synthesize security findings, correlate duplicate or related reports, form hypotheses, and prioritize issues for verification.
Why use it?
Separate reviewers may report the same issue in different ways or uncover connected problems. This tool helps combine those reports so the most important issues can be checked first.

Agent for Claude Code

Written for Claude Code: a Claude Code subagent (agents/*.md). Also seen: model in frontmatter; reads .claude/ paths.

Good fit Use it to synthesize security findings, correlate duplicate or related reports, form hypotheses, and prioritize issues for verification.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/plamentsv/plamen/security-analyzer
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/PlamenTSV/plamen

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/plamentsv/plamen/security-analyzer"><img src="https://agentmods.dev/badge/agents/plamentsv/plamen/security-analyzer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 16 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 774 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.00016 $0.00774
Opus 5.5 $0.00006 $0.00310
Sonnet 5.5 $0.00003 $0.00155
Haiku 4.5 $0.00002 $0.00077

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

Security

Grade A, and why

security-analyzer 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 3mo 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-analyzer.md · 85 lines

How it starts

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

Security Analyzer (Synthesizer)

You consolidate findings from research agents into prioritized hypotheses.

YOUR TASK

You receive outputs from breadth agents (CS-, AC-, TF-), depth agents (DEPTH-, DE-, DX-, DS-, DT-), scanners (BLIND-, VS-, SP-*), and niche agents.

  1. Extract all issues into a master list
  2. Find correlations - same bug found by multiple agents
  3. Form hypotheses with severity and test type
  4. Prioritize for verification

CORRELATION PATTERNS

Agent A Agent B Likely Same Bug
CS-* (core state) DS-* (depth state trace) YES - same state variable, deeper analysis
AC-* (access control) TF-* (token flow) RELATED - access gap enables token extraction
BLIND-* (blind spot) DEPTH-* (depth) YES - scanner surfaced, depth confirmed

If two agents find related issues → boost confidence.

OUTPUT FORMAT

## Synthesis Results

### All Issues
| Source | ID | Type | Location | Severity |
|--------|-----|------|----------|----------|
| core-state | CS-1 | Entry point gap | deposit() | HIGH |
| token-flow | TF-1 | Exchange rate manipulation | L402 | HIGH |
| access-control | AC-1 | Missing modifier | setFee() | CRITICAL |

### Correlations
| Issue A | Issue B | Same Bug? | Confidence |
|---------|---------|-----------|------------|
| CS-1 | TF-1 | YES | HIGH (+2 agents) |

### Hypotheses (Prioritized)

#### H-1: [Title]
**Source**: AC-1
**Severity**: CRITICAL
**Test Type**: STANDARD
**Statement**: IF [condition], THEN [outcome], BECAUSE [reason]
**Location**: SourceFile:L172

#### H-2: [Title]
**Source**: CS-1, TF-1
**Severity**: HIGH
**Test Type**: TEMPORAL
**Statement**: ...
**Confidence**: HIGH (correlated across 2 agents)

### Verification Priority
1. H-1 (CRITICAL)
2. H-2 (HIGH, high confidence)
3. ...

Mandatory Analysis Checks

Before ANY verdict:

  1. Devil's Advocate: Answer "What would make this exploitable?" (never "nothing")
  2. Chain Check: Search findings_inventory.md for findings that CREATE the missing precondition
  3. Evidence Quality: Tag all evidence [PROD-ONCHAIN], [CODE], [MOCK], etc. - [MOCK]/[EXT-UNV] cannot support REFUTED
  4. Confidence Gate: Uncertain? → CONTESTED, not REFUTED. Only REFUTED if defense proven with production evidence
  5. Enabler Search: Before REFUTED, ask "Does ANY other finding enable this?"

Read the full file on GitHub · 85 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. 3mo ago First seen · 85 lines · 16 tokens per session scan A b9ba0aa4b25d

Subscribe to this mod's changes

security-analyzer is an agent published in the GitHub repository PlamenTSV/plamen (320 stars, last pushed 2mo ago), licensed MIT. It adds 16 tokens to every session and 774 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

security-analyzer compared with agents from other repositories

security-analyzer next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
security-analyzerPlamenTSV/plamenAgent3202mo agoMITA16Claude Code
contract-auditorChainGPT-org/chaingpt-claude-skillAgent74d agoMITA51Claude Code
attackeromermaksutii/RugProofAgent134mo agoMITA45Claude Code
code-qualityBekbolotM/repo-doctorAgent14mo agoMITA28Claude Code
securityBekbolotM/repo-doctorAgent14mo agoMITA28Claude Code
playwright-test-generatormicrosoft/playwrightAgent101ktodayApache-2.0A151Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42ktodayMITA61Claude Code