FormingRulesPluginclaude-codecursorgithub-copilotpublished fresh until

security-guidance and /claude-security: catch bugs in agent code?

Summary Use security-guidance for edit, turn and commit feedback; request a scoped audit with /claude-security

Not for Claude Code PR approval tiers; see risk-tiers-for-agent-written-prs-anthropic-code-review

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

The options

Same job, different trade-offs. Pick one in Try it.

Option
ARules · v1.0.0security-and-owasp rules (GitHub awesome-copilot)
BPlugin · v0.12.0claude-security plugin (Anthropic)
How you use itAlways on in your projectInstalls a bundle into your client
What it can dowrites fileswrites files · runs shell
What's inside
ARules · v1.0.0security-and-owasp rules (GitHub awesome-copilot)
How you use it
Always on in your project
What it can do
writes files
What's inside
BPlugin · v0.12.0claude-security plugin (Anthropic)
How you use it
Installs a bundle into your client
What it can do
writes files · runs shell
What's inside

What this thread does

Use security-guidance for continuous edit and commit feedback, and claude-security for an on-demand repository audit. As of November 2026, both remain in Anthropic's official marketplace. Claude Code also lists a built-in /security-review for the branch diff (commands).

Do first: choose continuous hooks or a scoped scan, then confirm that the review has credentials and a usable model route (security-guidance setup).

As of November 2026, security-guidance 2.0.21 (manifest):

  • regex warnings on Edit/Write for roughly 25 risky patterns;
  • end-of-turn diff review;
  • agentic commit review tracing data flow across files.

It needs Claude Code 2.1.144+ and Python 3.8+. Both model reviews default to the newest Opus, rather than an inherently cheap model; SECURITY_REVIEW_MODEL and SG_AGENTIC_MODEL can pin them. Routing depends on sign-in and provider configuration; gateway sign-in needs Claude Code 2.1.195+. Without usable credentials, the model reviews may be skipped while pattern warnings remain. ENABLE_PATTERN_RULES=0, ENABLE_STOP_REVIEW=0 and ENABLE_COMMIT_REVIEW=0 disable individual layers. The diff review reads user, project and project-local guidance; commit review does not currently read those files (README).

claude-security 0.12.0 (manifest): /claude-security scans a repository, scoped area, branch diff or commit at a chosen effort. It challenges findings and writes Markdown, JSONL and SARIF results to CLAUDE-SECURITY-<timestamp>/; suggested fixes are patch files you review and apply. A scan asks about time and token cost unless your request already accepts them. It adds no isolation of its own; the README recommends sandbox-runtime for untrusted repositories.

Use the first for continuous guard rails, the second for a deeper audit before a release. Related: risk-tiers-for-agent-written-prs-anthropic-code-review.

Sources

Started from a post by @anthropics, packaged by the editor. Original post

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

More in code review

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# security-guidance and /claude-security: catch bugs in agent code?
Summary: Use security-guidance for edit, turn and commit feedback; request a scoped audit with `/claude-security`

## Options
- A · security-and-owasp rules (GitHub awesome-copilot) · early, no verdict yet · writes files
- B · claude-security plugin (Anthropic) · early, no verdict yet · writes files · runs shell
Copy for agent
get the whatworks thread security-review-agent-written-code and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread security-review-agent-written-code

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · security-and-owasp rules (GitHub awesome-copilot)

One rules file of secure-coding standards based on OWASP Top 10 2025: 55+ anti-patterns with severity, detection regex and corrected examples for common web and backend frameworks, plus LLM security guidance. Written as Copilot instructions but plain Markdown, so it can be pasted into AGENTS.md or a Cursor rule. Not for: a Supabase project (no Supabase or RLS rules in it); use supabase-rls-audit-before-launch. For findings: security-guidance-plugin-post-attack-review.

Format
Rules
Source
github:github/awesome-copilot#instructions/security-and-owasp.instructions.md
Pinned
v1.0.0 · cb64ad12e327
Content hash
cb64ad12e32737ae
Audit
scan passed
Can do
writes files
Works with
claude-code · cursor · github-copilot
Check
Rules file written in the project; Password-hashing rule is present; OWASP injection row is present
Author
@github
Kudos
0
Are you @github? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package awesome-copilot-security-and-owasp-rules before installing

B · claude-security plugin (Anthropic)

On-demand vulnerability scans of a repo, branch diff or commit at a chosen effort level, with each finding challenged before it is reported; outputs Markdown, JSONL and SARIF and can draft patch files for review. Not for: continuous per-edit guard rails (it runs on demand, not on every edit); use security-guidance-plugin-post-attack-review. Claude Code only.

Format
Plugin
Source
github:anthropics/claude-plugins-official#plugins/claude-security
Pinned
v0.12.0 · ea10b213686c
Content hash
ea10b213686c90bb
Audit
scan passed
Can do
writes files · runs shell
Works with
claude-code
Check
Plugin files are in the project at plugins/claude-security; The claude-security skill is present with its name; The plugin's hooks file is present; Claude Code accepts the plugin manifest, skill, agents and hooks (read-only)
Author
@anthropics
Kudos
0
Are you @anthropics? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package claude-security-scan-plugin before installing

A · Files

Read from the package source at the pinned version. Shown as is; nothing here runs.

Loading files…

Ask your agent
show me the files of the whatworks package awesome-copilot-security-and-owasp-rules

B · Files

Read from the package source at the pinned version. Shown as is; nothing here runs.

Loading files…

Ask your agent
show me the files of the whatworks package claude-security-scan-plugin
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp