The claude-code-security-review repository implements a GitHub Action that uses Claude (via the Anthropic API) to perform semantic security audits of code changes in pull requests. Rather than relying purely on pattern matching or static analysis, this action feeds diffs and surrounding context to Claude to reason about potential vulnerabilities (e.g. injection, misconfigurations, secrets exposure, etc). When a PR is opened, the action analyzes only the changed files (diff-aware scanning), generates findings (with explanations, severity, and remediation suggestions), filters false positives using custom prompt logic, and posts comments directly on the PR. It supports configuration inputs (which files/directories to skip, model timeout, whether to comment on the PR, etc). The tool is language-agnostic (it doesn’t need language-specific parsers), uses contextual understanding rather than simplistic rules, and aims to reduce noise with smarter filtering.

Features

  • GitHub Action for semantic security review using Claude Code
  • Diff-aware scanning: only inspects changed files in pull requests
  • Security findings with explanations, severity ratings, and remediation suggestions
  • False positive filtering logic to reduce noise
  • Configurable inputs (e.g. exclude directories, timeout, model name)
  • Optional slash command /security-review integration for interactive audits

Project Samples

Project Activity

See All Activity >

Categories

Security, AI Models

License

MIT License

Follow Claude Code Security Review

Claude Code Security Review Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Claude Code Security Review!

Additional Project Details

Programming Language

Python

Related Categories

Python Security Software, Python AI Models

Registered

2025-10-06