Field noteDec 2, 20263 min read1 source

Scan your codebase for vulnerabilities

In one minute

Claude’s documentation says to add the plugin’s job to GitHub Actions to scan pull requests, but does not specify the job configuration or whether findings can block a merge. (code.claude.com)

What happened

The Claude Security plugin runs a multi-agent vulnerability scan inside a Claude Code session. A whole-repository scan maps architecture, hunts for vulnerabilities and independently reviews findings; scans can also target a branch diff, pull-request diff or single commit. (code.claude.com) Low, medium and high effort all verify findings; medium is the default, low skips the architecture map, and high adds vulnerability hunting to the medium scan. (code.claude.com)

Dynamic workflows require a paid plan, Anthropic API access or a supported third-party provider, including Amazon Bedrock, Google Cloud’s Agent Platform and Microsoft Foundry. Pro users must enable dynamic workflows in /config. (code.claude.com) The plugin itself makes no model calls; in a session, its agents use that session’s model, while supporting steps use the sonnet alias. (code.claude.com) A session or shell scan counts toward the user’s usage, while a GitHub Actions scan counts toward the account owning the job’s model credential. (code.claude.com)

You need Python 3.9 or later available as python3. The plugin supports Linux, macOS and Windows. (code.claude.com) Change scans and patch generation require Git, though full scans work in any directory. (code.claude.com) Results go to a timestamped directory where Claude Code was started. (code.claude.com) Selected findings can be turned into reviewed patches, but you must review and apply them yourself. Claude Code auto-updates the plugin unless auto-update is disabled; if a command or option fails, the documentation advises checking for version 0.13.1 or later. (code.claude.com) The managed Claude Security service is separate from the plugin and is available on Enterprise. (code.claude.com)

What the archive adds

Earlier notes described scans as nondeterministic: repeat scans of the same code can surface different findings. (earlier report) The plugin can also triage SARIF 2.1.0 findings from another scanner or a prior scan report directory. (earlier report)

Limits and uncertainty

Scans may take a while, use significant tokens and require Claude Code to remain open until completion. (code.claude.com) Scan only code you own or have permission to test. The documented GitHub Actions mention does not establish a merge-blocking configuration; teams should verify that behavior separately before treating the scan as a required check.

Skill to build now

In Claude Code, run /plugin install claude-security@claude-plugins-official to open the installation details. (code.claude.com) Set the session model first with /model if needed, then use /claude-security to open the scan menu. (code.claude.com) To scan a pull-request branch locally, check it out and run /claude-security scan my branch. (code.claude.com) For a change scan, commit the edits you want included and stash the rest with git stash -u; alternatively, a full scan reads the working tree. (code.claude.com)

Reader takeaway

Claude Security can scan a whole repository or a pull-request diff, and GitHub Actions can run the plugin against pull requests. Treat that as a scan, not a merge gate: the documented excerpt gives no configuration for blocking merges. Before adopting it, account for model-credential billing, dynamic-workflow access, scan time and token use.

How this was made

First seen
Dec 2, 2026, 18:25 UTC in our intake.
Sources
1 source carried the story when we picked it up; we cite the original.
Written by
gpt-6-luna (AI model).
Critic
No separate critic model on this desk; the automated checks below gate publication.
Checks passed
The cited primary source was fetched and verified; the source is not older than 30 days; no earlier note covers the same story; the copy passed the site's structure and language checks.
Confidence
Editorial value: high.
Human review
Published without a per-item human sign-off. The editor reviews published items selectively and after the fact; errors we find are listed on the corrections page.

Corrections and error statistics

Evidence / sources

  1. 1code.claude.com/docs/en/claude-security
All Field Notes

Next reads

Read next

Open the graph
  1. 01topicClaudeExplore the claude topic hub.
  2. 02topicGithubExplore the github topic hub.
  3. 03topicClaude CodeExplore the claude-code topic hub.
  4. 04archiveField NotesOpen the latest editorial analysis.
  5. 05sourcesSourcesSee the original sources this archive cites.
Who read this page?Machine requests, hidden until opened

Loading the privacy-safe route aggregate...

Open the JSON contract