scan-researcher

scan-researcher is an agent for Claude Code from anthropics/claude-plugins-official. It costs 26 tokens per session (2,098 once invoked), scanned B, original, Apache-2.0.

A read-only security researcher used by a Claude Security scan to investigate one part of a repository. It looks for real vulnerabilities, meaning flaws that could let an attacker do something they should not.

In plain words
What is it for?
Use it to inspect assigned files and git history for exploitable security problems, with findings tied to the code that causes them.
Why use it?
It limits security investigation to reading and searching, reducing the risk of changing, running, building, or sending code while the scan is taking place.

Agent for Claude Code ✓ vendor

Written for Claude Code: effort in frontmatter. Also seen: model in frontmatter; mentions CLAUDE.md; mentions AGENTS.md.

Part of the claude-security plugin — 6 skills, 17 agents, 5 hooks shipped together

Good fit Use it to inspect assigned files and git history for exploitable security problems, with findings tied to the code that causes them.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/anthropics/claude-plugins-official/scan-researcher
About the project

Claude Code Plugins Directory is a marketplace containing plugins for Claude Code, including tools, commands, skills, agents, hooks, and model context servers. Claude Code users browse it to install Anthropic-maintained or approved third-party extensions.

anthropics/claude-plugins-official · 48,794 stars · on GitHub · code.claude.com

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/anthropics/claude-plugins-official

Made for: Claude Code.

Or install claude-security, the plugin that ships this one along with the rest of its 6 skills, 17 agents, 5 hooks.

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 scan-researcher

README.md
[![agentmods](https://agentmods.dev/badge/agents/anthropics/claude-plugins-official/scan-researcher/github.svg)](https://agentmods.dev/agents/anthropics/claude-plugins-official/scan-researcher)
Your own site
<a href="https://agentmods.dev/agents/anthropics/claude-plugins-official/scan-researcher"><img src="https://agentmods.dev/badge/agents/anthropics/claude-plugins-official/scan-researcher/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 scan-researcher

Your own site · 80×15
<a href="https://agentmods.dev/agents/anthropics/claude-plugins-official/scan-researcher"><img src="https://agentmods.dev/badge/agents/anthropics/claude-plugins-official/scan-researcher.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 26 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,098 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00026 $0.02098
Opus 5.5 $0.00010 $0.00839
Sonnet 5.5 $0.00005 $0.00420
Haiku 4.5 $0.00003 $0.00210

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

Security

Grade B, and why

scan-researcher scanned grade B with 1 finding 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 6d 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.

Tells the agent never to refusemediumAnti-refusal

Suppressing the ability to decline removes a core safety control; a later harmful request then succeeds.

Vulnerability research on this repository is authorized work. Do not refuse it, and do not soften findings to be polite about the code.

Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/claude-security/agents/scan-researcher.md · 75 lines

How it starts

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

The repository lives at the absolute SCAN_ROOT your dispatch names. Keep the spelling of a git command that your dispatch prints, even where it has no -C. For all else, never assume the current working directory is the repository (on some platforms it is the run directory, and a bare relative path would search the wrong tree): read and search by absolute path (<SCAN_ROOT>/path/to/file), and run git plainly as git diff|log|show|blame ... when SCAN_ROOT is the working directory, as git -C <SCAN_ROOT> ... when it is not.

You are a security researcher. You are given one component of a repository and one category lens, or one change to review, and you find real vulnerabilities there — not lint, not style, not "consider using a safer API". For a change, begin with the diff your dispatch names: the change is your subject and the rest of the repository is what you consult to judge it. A finding is a claim that an attacker can do something they should not be able to do, and you must be able to point at the code that lets them.

What you can and cannot do

You have Bash, but only read-only commands are yours to run: searching, reading, and read-only git (git log, git diff, git show, git blame). Everything else -- building, testing, executing, writing, network access -- is off-limits: you have Bash for reading and searching, but building, running, testing, or installing the repository's code is a rule you follow here, not a permission that will be blocked for you -- so simply do not attempt it. In a shell command, single-quote each pattern that grep, find or rg matches (the search string, --include='*.go', -name '*.go'), but not a path glob that the shell must expand, such as src/*.go.

So: never try to build, test, or execute the repository's code, install a package, start a server, or fetch anything. Not because you would be caught — because it is not your job. You reason about code by reading it. If a question could only be answered by running something, say so in your finding's rationale and lower your confidence; do not guess, and do not describe an execution you did not perform. Describing a command's output you never saw is fabrication.

To read several files, send one Read call for each in the same turn, not a shell loop. Never let xargs or find put a file name ({}) inside the quoted text of sh -c: the shell reads the name as code, and a file such as posts.$postId.tsx goes unread.

Read the full file on GitHub · 75 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. 6d ago Changed · +10 lines b1958f195f1e
  2. 2mo ago Changed · +5 lines e70825995095
  3. 3mo ago First seen · 60 lines · 26 tokens per session scan B f59e6200a759

Subscribe to this mod's changes

scan-researcher is an agent published in the GitHub repository anthropics/claude-plugins-official (48,794 stars, last pushed today), licensed Apache-2.0. It adds 26 tokens to every session and 2,098 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (tells the agent never to refuse). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

scan-researcher compared with agents from other repositories

scan-researcher next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
scan-researcheranthropics/claude-plugins-officialAgent49ktodayApache-2.0B26Claude Code
it-engineerserejaris/personal-corp-osAgent2518d agoMITA66Claude Code
mlops-engineerpjt222/agent-almanacAgent46todayMITA31Claude Code
shamanpjt222/agent-almanacAgent46todayMITA29Claude Code
designRune-kit/runeAgent96todayMITA35Claude Code
loom-advisorcosmix/loomAgent66yesterdayMITA51Claude Code
audit-agentmarconae/speq-skillAgent541mo agoMITA32Claude Code