Skip to main content

Security Review: a finding reported in the code

Security Review

licence Python Angular ci::status pypi::version docker::pulls documentation::badge

Security Review is an MCP server for AI-assisted security code review. It turns your AI assistant (GitHub Copilot, Claude, Codex...) into a security reviewer that follows your rules, and keeps every finding until a person decides what to do with it.

📖 Full documentation: https://cyr-ius.github.io/security-review/ · 🇫🇷 Version française

Why

AI assistants write and review code fast, but on their own they forget checks, invent their own criteria and leave no trace. Security Review gives them:

  • a method: review prompts and checklists by technology, the same for the whole team;
  • tools: a scan of the code and the dependencies, run by the server;
  • a memory: every review is saved, every finding is tracked until it is fixed or accepted;
  • a safeguard: an agent never closes a finding, a person does, in the web interface.

How it works

  1. In your editor, you ask the assistant for a review: "run a security review of my changes".
  2. The assistant follows the security-review prompt, scans the code and checks the checklist.
  3. It saves its report on the server, with each finding (file, line, severity, fix).
  4. Your team triages the findings in the web interface: fixed, accepted risk, false positive.
  5. In CI/CD, the gate blocks the merge while serious findings stay open.

What you get

🔍 Detection 250+ rules and 140+ checklist items for about twenty languages and platforms (Python, Java, Go, C#, TypeScript, Docker, Kubernetes, Terraform, CI...), and 264 OpenGrep taint rules
📦 Dependencies manifests, lockfiles and SBOMs checked against the OSV database, offline
🛡️ Prompt injection detection of hidden instructions aimed at AI assistants in the files they read
📐 Your standards your own rules, checklists and development standards, given to the assistant before it codes
🖥️ Web interface dashboard, triage, projects, accounts and roles, OIDC login; in English, French or Spanish
🚦 CI/CD security-review-ci client: gate, SARIF, trends, scan of the whole repository
🔗 Connectors findings sent to Jira, ServiceNow, GitHub, GitLab or your own tool
🔐 Security tokens with expiry, OAuth login of MCP clients, TLS, audit log and Prometheus metrics

Quick start

The product has two main parts sharing one database: the MCP server, used by the AI assistants, and the Controller server, used by people (web interface, REST API). See the services and their roles.

In an empty folder, start PostgreSQL, the Controller server and the MCP server with Docker Compose, then get the password of the admin account:

mkdir secreview && cd secreview
curl -fsSLO https://raw.githubusercontent.com/cyr-ius/security-review/master/examples/docker/docker-compose.yml
(umask 077 && printf 'POSTGRES_PASSWORD=%s\nSECREVIEW_SECRET_KEY=%s\n' "$(openssl rand -hex 24)" "$(openssl rand -hex 32)" > .env)
docker compose up -d --wait
docker compose exec controller security-review-controller user reset-password admin   # password shown once
# web interface: http://127.0.0.1:8080/ui/   MCP endpoint: http://127.0.0.1:8000/mcp

Then:

  1. Log in to http://127.0.0.1:8080/ui/ as admin.
  2. On the General page, enter http://127.0.0.1:8080 as Public URL of the Controller server.
  3. On the Tokens page, enter http://127.0.0.1:8000/mcp as MCP endpoint and turn on Enable OAuth login.
  4. Declare the server in .mcp.json at the root of your repository (VS Code, GitHub Copilot, Claude Code). No token needed: at the first connection, the host opens the browser to sign in.
{
  "mcpServers": {
    "security-review": {
      "type": "http",
      "url": "http://127.0.0.1:8000/mcp"
    }
  }
}

Next steps: deploying the server · connecting the host · local mode, without a server · without containers · Docker images · architecture and Kubernetes · configuration

At a glance

Prompts security-review, api-security-review, configuration-review, codebase-review, dependency-review, triage-report, development-standards
Main tools scan_code, scan_dependencies, start_codebase_scan, get_review_checklist, save_security_report, propose_finding_status, check_project_gate, export_sarif, export_findings_report (full list)
Commands security-review-mcp (MCP server), security-review-controller (Controller server and administration), security-review-ci (pipelines), security-review-scan-engine (optional scan engines) — CLI reference

Limits

With OpenGrep (-opengrep Docker image), the scan follows the data flow within a file (OWASP Benchmark results); without it, the pattern scan only gives leads. Neither follows a flow from one file to another: the AI review covers the rest. See security and limits.

Contributing

uv sync --extra dev && uv run pytest && uv run ruff check .

Development happens on dev; versions are created by Release Please. See the contribution guide and AGENTS.md (instructions for AI agents).

Security and license

Report a vulnerability privately, as described in SECURITY.md. The project is distributed under the Apache 2.0 license.

Metadata

Release files for security-review 13.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for security-review 13.1.0
File Size Uploaded Provenance Actions
security_review-13.1.0.tar.gz 2.0 MB With provenance Details for security_review-13.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for security-review 13.1.0
File Interpreter ABI Platform Actions
security_review-13.1.0-py3-none-any.whl Python 3 none any Details for security_review-13.1.0-py3-none-any.whl

Total release size: 4.3 MB

Release files / security_review-13.1.0.tar.gz

Download URL security_review-13.1.0.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
1a3cc006808563d2474944f17280e93a587ea94b81c4c492154cc719629342c1
BLAKE2b-256 checksum
How to use checksums
255d6a3da4b00555fc6e48a6ab590f27c5353c7bc5453866a1ee94d67116fc79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Release files / security_review-13.1.0-py3-none-any.whl

Download URL security_review-13.1.0-py3-none-any.whl
Size 2.2 MB
Tags Python 3
SHA-256 checksum
How to use checksums
7dc78615fef36d90784792d53e3fb0c5fc200339631ba5b000f5ad48854b3b6e
BLAKE2b-256 checksum
How to use checksums
4d1bf25bdb00acd1643a7e8664298d6e6fa919af94cc2333a1f35410b77c4c9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

Security for security-review 13.1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for security_review-13.1.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page