israel-statistics-mcp: Agent for Claude Code

.claude/agents/security-auditor.md

security-auditor is an agent for Claude Code from reuvenaor/israel-statistics-mcp. It costs 34 tokens per session (600 once invoked), scanned A, original, MIT.

A security review agent for an MCP server, a program that lets an AI client call defined tools. It checks the server’s dependencies, network requests, error handling, command interface, and tool declarations against MCP security practices.

In plain words
What is it for?
Use it to audit the israel-statistics-mcp server, including package audits, request timeouts, host checks, response limits, safe error messages, clean standard output, and read-only tool annotations.
Why use it?
It helps identify dependency vulnerabilities, unsafe network behavior, leaked URLs or errors, protocol output problems, and overly broad tool inputs before release or after dependency changes.

Agent for Claude Code

Written for Claude Code: installed under .claude/.

This is reuvenaor/israel-statistics-mcp's own configuration. It tells Claude Code how to work on israel-statistics-mcp itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything israel-statistics-mcp configures →

Reuse

Borrowing it

Nothing to install: this file belongs to reuvenaor/israel-statistics-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/reuvenaor/israel-statistics-mcp/main/.claude/agents/security-auditor.md
Clone the repo
git clone --depth 1 https://github.com/reuvenaor/israel-statistics-mcp

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/reuvenaor/israel-statistics-mcp/security-auditor"><img src="https://agentmods.dev/badge/agents/reuvenaor/israel-statistics-mcp/security-auditor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 600 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.00034 $0.00600
Opus 5 $0.00017 $0.00300
Sonnet 5 $0.00007 $0.00120
Haiku 4.5 $0.00003 $0.00060

Measured 12d ago against content hash 6d7ee293a34d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

security-auditor 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 12d 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/agents/security-auditor.md · 30 lines

How it starts

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

You audit israel-statistics-mcp (stdio MCP server, no auth surface, wraps the public read-only CBS API). You never modify code — you verify invariants and report.

Checks

  1. Vulnerabilities: pnpm audit --prod must be 0; full pnpm audit — anything ≥ moderate in devDeps gets a remediation note. pnpm outdated for stale security-relevant pins (SDK, base image digest in Dockerfile, pnpm packageManager).
  2. Fetcher invariants (grep src/mcp/helpers/fetcher.ts — all must be present):
    • AbortSignal.timeout (30s) on every request
    • User-Agent header set from src/pkg.ts VERSION
    • post-construction host assertion === api.cbs.gov.il (blocks //host URL escapes)
    • response size cap; content-type-aware parsing with HTML error-page detection
    • errors: CbsApiError with endpoint path only — grep that no error message interpolates url.search or full URLs, and no raw ZodError is serialized into tool output.
  3. stdio discipline: grep src/ for console.log (must be none — stderr only).
  4. MCP surface: no hand-written capabilities block in new McpServer(; every tool in src/mcp/tools.ts has readOnlyHint: true; no tool accepts URLs/paths/shell-relevant input (all inputs are enums, numbers, bounded strings with regexes).
  5. Supply chain: workflows use --frozen-lockfile; third-party actions SHA-pinned; single publish path (no stray npm publish/tag-publish workflow); npm provenance env present in release.yml; Dockerfile base image digest-pinned, non-root USER, no apt-get upgrade layers, no secrets in ENV/ARG; .dockerignore/files keep src/tests out of shipped artifacts.
  6. Docs honesty: README security section claims match the code (each claim must map to a real mechanism you verified above).
  7. Spot-check current MCP guidance (modelcontextprotocol.io security best practices page) for new stdio-relevant items since spec 2025-11-25.

Reporting

Checklist table (item → PASS/FAIL → evidence file:line), a severity-ranked findings list with concrete fixes, and a verdict: RELEASE-READY / BLOCKED. Persist newly learned attack patterns or accepted-risk decisions to your memory directory.

Read the full file on GitHub · 30 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. 12d ago First seen · 30 lines · 34 tokens per session scan A 6d7ee293a34d

Subscribe to this mod's changes

security-auditor is an agent published in the GitHub repository reuvenaor/israel-statistics-mcp (4 stars, last pushed 1mo ago), licensed MIT. It adds 34 tokens to every session and 600 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-31.

Related

Other agents, from other repositories