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 Reviewer

Claude Code Security Reviewer Web Site

Other Useful Business Software
Build Securely on AWS with Proven Frameworks Icon
Build Securely on AWS with Proven Frameworks

Lay a foundation for success with Tested Reference Architectures developed by Fortinet’s experts. Learn more in this white paper.

Moving to the cloud brings new challenges. How can you manage a larger attack surface while ensuring great network performance? Turn to Fortinet’s Tested Reference Architectures, blueprints for designing and securing cloud environments built by cybersecurity experts. Learn more and explore use cases in this white paper.
Download Now
Rate This Project
Login To Rate This Project

User Reviews

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

Additional Project Details

Programming Language

Python

Related Categories

Python Security Software, Python AI Models

Registered

2025-10-06