Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions content/.metadata.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"metadata": {
"version": "2.0",
"fetch_date": "2026-11-25T20:19:27.218137Z",
"fetch_date": "2026-11-26T00:04:47.549723Z",
"section": "all"
},
"items": [
Expand Down Expand Up @@ -28156,7 +28156,7 @@
"url": "https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/claude-security/.claude-plugin/plugin.json",
"status": "success",
"path": "github/claude-plugins-official/plugins/claude-security/.claude-plugin/plugin.json",
"sha256": "2e5d8fc02a0933fdd365aa6a1f2a71667287152bce2265dda9507d67222c9948",
"sha256": "70bab346027eedfccd77af09c9890c14cec7c54474c47fd2723f45676b646cb4",
"size": 1134
},
{
Expand Down Expand Up @@ -28184,22 +28184,22 @@
"url": "https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/claude-security/README.md",
"status": "success",
"path": "github/claude-plugins-official/plugins/claude-security/README.md",
"sha256": "e24280e336b64614858b90044e81caf9f6e3f62063d2312ba342c7c6193937da",
"size": 23247
"sha256": "5c0928a99c5075a6fc313a451462ad22fd34185a218517e8ae4030caa995a2fc",
"size": 23522
},
{
"url": "https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/claude-security/SECURITY.md",
"status": "success",
"path": "github/claude-plugins-official/plugins/claude-security/SECURITY.md",
"sha256": "0465b07a3e1a6d4e7333c88eb408d8bea73444ca748ffbf39c2e890a241c7aa3",
"size": 6869
"sha256": "a707cca877e503dcb6f1b1fe1c9b669082da711a47df785f879f944b964b6660",
"size": 7140
},
{
"url": "https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/claude-security/TUI.md",
"status": "success",
"path": "github/claude-plugins-official/plugins/claude-security/TUI.md",
"sha256": "f2dc2ac9e3e804e9a7896e7307884af8364533c566984d434ecafb865fc9f8a2",
"size": 5654
"sha256": "da2d747e5e82f02afdd40762603c1fdaa4813f583147b5dbe122b2cb7781ca29",
"size": 5773
},
{
"url": "https://raw.githubusercontent.com/anthropics/claude-plugins-official/main/plugins/claude-security/agents/attack-surface-redactor.md",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "claude-security",
"version": "0.13.0",
"version": "0.13.1",
"description": "Find and fix vulnerabilities before attackers exploit them. A team of agents maps your code, hunts for exploitable flaws and challenges every finding, so you spend your time on real bugs. Get patches analyzed by a panel of agents, and apply them when you choose. Triage other scanners' results, build a threat model, review pull requests with a GitHub Action, and see your hosted Claude Security findings.",
"author": {
"name": "Anthropic",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ In Claude Code 2.1.292 and newer, the plugin's [mod](https://code.claude.com/doc

The `claude-security` command starts Claude Code inside [the plugin's sandbox](#running-in-a-sandbox), runs a scan, and writes the same report. It ships with the plugin: run `<plugin>/claude-security` in the repository (on Windows, `python -IS <plugin>\scripts\cli.py`), where `<plugin>` is the `installPath` that `claude plugin list --json` shows. An update moves that folder, so to type just `claude-security`, as below, run it once with `--install`, or type `/claude-security:install-cli` in Claude Code.

claude-security # scan the codebase
claude-security --changes # scan this branch's changes
claude-security --tui # watch the scan in your terminal
claude-security --provider <provider> # scan the codebase
claude-security --provider <provider> --changes # scan this branch's changes
claude-security --provider <provider> --tui # watch the scan in your terminal

`claude-security --help` lists the options. The command's sandbox needs Linux 5.19 or newer and a user other than root; on Ubuntu 24.04 and newer, add `--sudo`. The command does not run on macOS. On Windows, it stops unless you add `--no-sandbox`. It signs in with your Claude Code login, your provider's variables, `gcloud` or `--credential-command`. If `claude` is a link into a package in your home folder, add `--allow-read` with the folder that holds the package and `node`.
`--provider` says where your code goes: `anthropic`, `bedrock`, `vertex` or `foundry`, with `--model-base-url` for another host. It is required, except with `--no-sandbox`, where Claude Code chooses. `claude-security --help` lists the options. The command's sandbox needs Linux 5.19 or newer and a user other than root; on Ubuntu 24.04 and newer, add `--sudo`. The command does not run on macOS. On Windows, it stops unless you leave out `--provider` and add `--no-sandbox`. It signs in with your Claude Code login, your provider's variables, `gcloud` or `--credential-command`. If `claude` is a link into a package in your home folder, add `--allow-read` with the folder that holds the package and `node`.

`--tui` needs Node.js 18 or newer. [TUI.md](TUI.md) explains the screen and the keys.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ Scan only code that you own or have permission to test. To work with code you do

The `claude-security` command runs a scan inside `scripts/sandbox.py`'s sandbox, unless you add `--no-sandbox`. The command is not supported on WSL 2. The scan can read the repository, the system's programs, what `--allow-read` names and a copy of your Claude Code settings. It writes only to memory and reaches only the model, and your credential stays outside. If another user can write a folder between the repository's top and the folder that you scan, the sandbox leaves the repository out: git fails there, and a scan of changes stops. The repository's `.claude/` settings and hooks do not apply to the command's scans, deny rules included. In the sandbox, neither do your organization's server-managed settings. The command's scans load no `CLAUDE.md` file, not even a managed one. The command itself runs outside the sandbox, where it reads the repository, runs read-only `git` commands and writes the report. It starts on the first Python on your `PATH`, so for code that you do not fully trust, deactivate a virtual environment that lies in the repository first.

In the command's sandbox, your code goes where `--provider` and `--model-base-url` say. The command cannot see all that your organization chose: give the provider and URL that `/status` shows in Claude Code in your terminal. If it shows neither, ask your administrator.

The sandbox needs Python 3.10 or later.

The command's views run outside the sandbox, with your access, each in a Node.js process with two pipes and no credential in its environment. A view only draws what the command sends it. From Node.js 20 on, it runs under Node's permission model, which guards against a mistake and is no sandbox.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Run a scan in a full-screen view

`claude-security --tui` starts a scan of your repository with the Claude Security plugin, and shows its progress full screen. When the scan ends, you read the findings in the same view.
With `--tui`, the `claude-security` command starts a scan of your repository with the Claude Security plugin, and shows its progress full screen. When the scan ends, you read the findings in the same view.

## What you need

Expand All @@ -13,7 +13,7 @@
**Warning:** On Windows, the scan has no sandbox. Its agents run commands with your access. Read the [trust model](SECURITY.md#trust-model) first.

1. Open a terminal in the repository.
2. Run `claude-security --tui`. On Ubuntu 24.04 and newer, add `--sudo`. On Windows, add `--no-sandbox`.
2. Run `claude-security --tui --provider <provider>`, with `anthropic`, `bedrock`, `vertex` or `foundry`. On Ubuntu 24.04 and newer, add `--sudo`. On Windows, use `--no-sandbox` in place of `--provider`.
3. Type `y` to accept the time and the token cost. Type `n` to cancel.

To scan only this branch's changes, add `--changes`.
Expand Down
2 changes: 1 addition & 1 deletion discovery.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 1,
"note": "What the last full run could see outside sources.json. Written by the fetcher so a new source arrives as a diff a human reviews, not as a line in an Actions log nobody reads. Stable facts only: a change here is always news. `review` is the actionable list \u2014 domains we could archive today and do not.",
"updated": "2026-11-25",
"updated": "2026-11-26",
"domains": {
"anthropic.com": {
"status": "fetched: /legal/ only, rest frozen",
Expand Down
2 changes: 1 addition & 1 deletion tombstones.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"version": 1,
"note": "URLs confirmed gone upstream. Kept so a page that died once does not report as a fresh failure on every later run, which would bury the failure that is actually new. An entry clears itself if the URL answers again -- but only while something still probes it. Entries whose local file was removed are no longer fetched, so they stay as a record of the restructure rather than a live check.",
"updated": "2026-11-25",
"updated": "2026-11-26",
"urls": {
"https://claude.com/docs/claude-science/annotations": {
"since": "2026-09-01",
Expand Down
Loading