Plugin WardenRegistryDocsServicesPricingGitHub
docs

Documentation

Quick start

Requires Python 3.12 or newer and uv.

uvx --from git+https://github.com/battlettt/plugin-warden warden scan owner/repo --no-agent

That is a static scan: no API key, no network calls beyond fetching the repository. Nothing from the repository is executed, installed or imported. For the agent review, set ANTHROPIC_API_KEY and drop --no-agent.

git clone https://github.com/battlettt/plugin-warden.git
cd plugin-warden && uv sync
uv run warden scan obra/superpowers        # scan a GitHub repo
uv run warden installed                    # scan every plugin you already have
uv run warden rules                        # list every check

Verdicts

The verdict is computed from the findings, never from a model's opinion. Critical findings score 40, high 15, medium 5, low 1 (lows capped at 10 in total).

Each verdict is printed as a stamp. The stamp word is shorthand. The verdict itself is what the policy file and the API use.

StampVerdictWhen
ClearedLow riskNothing of medium severity or above, score under 10
Conditions applyInstall with precautionsA medium finding, or score 10 or more
HoldReview before installingAny high finding, or score 40 or more
Do not installDo not installAny critical finding
Not yet reviewedNoneStatic scan only. The registry gives no verdict without a completed agent review.

If the repository contains text aimed at a model, the agent's dismissals of high and critical findings are ignored in the score. A model that may have been steered cannot talk the verdict down.

Set up for a team

Ten minutes, in the repository whose .claude/settings.json your team shares.

warden init                                  # writes warden-policy.toml and .github/workflows/warden.yml
warden approve obra/superpowers --by "Dana" --reason "Read hooks and skills at this commit"
warden check                                 # passes when every enabled plugin is approved
git add warden-policy.toml .github/workflows/warden.yml && git commit -m "Add plugin policy"

From then on: a pull request that enables an unapproved plugin fails, a nightly job tells you when an approved plugin changes upstream, and a monthly job builds an evidence pack.

Policy file

One TOML file in git. Changes to it go through review like any other change, which is the point: the approval history is the commit history.

[policy]
mode = "allowlist"            # or "threshold"
max_verdict = "caution"       # low, caution, review, block
require_pinned = true
deny_categories = ["remote-code", "exfiltration", "persistence", "config-tampering"]

[[allow]]
source = "obra/superpowers"
commit = "22f0b463e7a5..."
approved_by = "Dana"
approved_at = 2026-11-14
reason = "Read hooks and skills at this commit"

[[exception]]
source = "vendor/tool"
rule = "MCP-UNPINNED"
approved_by = "Dana"
reason = "Vendor pins on their side; revisit next quarter"
expires = 2027-02-01
ModeMeaning
allowlistOnly plugins with an [[allow]] entry may be enabled. An entry pinned to the scanned commit is a human approval of exactly that code, and stands in for the thresholds.
thresholdAny plugin may be enabled while its scan stays inside max_verdict, deny_categories, deny_rules, allow_auto_run and allowed_hosts.

An exception accepts one rule or category for one plugin. It must carry a reason and an end date, so it is looked at again.

Why a check failed:

CodeMeaning
NOT-ALLOWLISTEDEnabled in settings with no approval in the policy
COMMIT-DRIFTThe code is no longer the commit that was approved
UNPINNED / APPROVAL-EXPIREDThe approval names no commit, or its end date has passed
VERDICT / CATEGORY / RULEThe scan is outside the thresholds
AUTO-RUN / HOSTThe plugin runs code on its own, or names a host outside the allowed list
UNRESOLVED / SCAN-FAILEDIts source cannot be found or fetched. What cannot be checked is not allowed.
DENIEDOn the deny list

CI gate

warden check reads enabledPlugins and extraKnownMarketplaces from the project's settings, resolves each plugin to its repository, scans it, and evaluates the policy. It also scans the project's own .mcp.json and settings hooks against the thresholds, because those run on every teammate's machine too.

- uses: astral-sh/setup-uv@v6
- run: uvx --from git+https://github.com/battlettt/plugin-warden@v0.3.0 warden check . --sarif warden.sarif
- uses: github/codeql-action/upload-sarif@v3
  if: always()
  with:
    sarif_file: warden.sarif

Exit code 0 when everything is allowed, 1 when something is not, 2 when the policy file is broken. With SARIF uploaded, a failure appears on the settings line that enabled the plugin.

Watching updates

warden watch asks each approved repository for its current commit. When one has moved, it scans both the approved commit and the new one and compares them. Findings are matched by rule, file and code, not by line number, so code that only moved is not reported as new.

LevelRaised when
alertA new hook, monitor or server; a new high or critical finding; or a worse verdict. Review before moving the pin.
noticeNew network hosts, new credential-like environment variables, or new lower-severity findings
noneThe update did not change anything the scanner tracks

Set WARDEN_WEBHOOK_URL to an https Slack-compatible webhook to be told. The workflow from warden init opens a GitHub issue on an alert.

Evidence packs

warden evidence writes a folder and a zip: the policy as enforced, the decision for every enabled plugin, the scan behind each decision, a readable summary, and manifest.json with the SHA-256 of every file. With WARDEN_EVIDENCE_KEY set, the manifest is signed with HMAC-SHA256. Check a pack later with warden evidence --verify <folder>.

Teams commonly map this to vendor-risk and change-management controls such as SOC 2 CC9.2 and CC8.1, and ISO/IEC 27001:2022 A.5.19, A.5.21 and A.8.19. That mapping is yours to make with your auditor. Plugin Warden does not certify compliance.

How the registry works

The registry scans a list of well-known repositories (registry/targets.toml) and keeps the history of each. Two rules decide what it publishes.

  1. A static-only scan gets no verdict. Rule matches are leads. On the four repositories in the project README, the agent dismissed 86 of 131 matches with a cited reason. So without a completed agent review, an entry shows what the code does (what runs on its own, which processes start, which hosts appear) and how many matches are waiting. Nothing more.
  2. Serious confirmed findings wait for the maintainer. See the disclosure policy below.

A listing is not an endorsement and not an accusation. Every entry names the exact commit scanned and can be reproduced with warden scan owner/repo@commit.

Disclosure policy

  1. When a review confirms a high or critical finding, the maintainer is told privately first, through the repository's security advisory channel where one exists.
  2. The registry entry shows that findings are withheld, and the date details are due. It does not describe them.
  3. Details are published 30 days after notification, or as soon as a fix ships, whichever comes first. A maintainer who needs longer can ask.
  4. Medium and low findings, and facts about what a plugin runs, are published with the review.
  5. If an entry is wrong, report it. Corrections are made in the open, in the registry's git history.

Badges and API

https://battlettt.github.io/plugin-warden/badge/OWNER/REPO.svg          # status badge
https://battlettt.github.io/plugin-warden/api/v1/index.json             # every entry, summary fields
https://battlettt.github.io/plugin-warden/api/v1/r/OWNER/REPO.json      # one entry, everything the page shows

Owner and repository names are lower case in these paths. The API is static JSON, rebuilt with the site. It carries the same published view as the pages, with the same rules.

Limits

  • Static analysis reads code and does not run it. Behaviour assembled at run time may only show up as "makes network calls" or "decodes and runs data".
  • The agent reviews within a budget. If it stops early the report says so.
  • Settings can limit Claude's own tools. They cannot contain a hook or a server process. The only complete control for those is not enabling the plugin.
  • A clean report is not a guarantee. It means the checks that ran found nothing, and the reviewer agreed.
  • No scanner checks for everything. The coverage document lists what the rules look for, the benchmark results, six evasions they are known to miss and ten kinds of thing they cannot catch.