What it is
claude-code-security-review is a GitHub Action from Anthropic that uses Claude to analyze code changes for security vulnerabilities. It reviews changed files in a GitHub pull request (PR) and can post findings as comments on the relevant lines of code.
Highlights:
- Analyzes changed files in a PR for security issues.
- Can post findings on the relevant lines of code.
- Works with any programming language.
How to use:
- First, add the workflow configuration from the project's Quick Start to `.github/workflows/security.yml` in your repository.
- Then, configure an API key enabled for Claude API and Claude Code, and use `anthropics/claude-code-security-review@main` in the workflow.
Who it's for:
Developers who want to add a security check to their GitHub code review workflow.
Before you start:
- GitHub Actions and an API key enabled for Claude API and Claude Code are required. The tool analyzes changed PR code; the example workflow requires permission to read repository contents and write to pull requests.
- Results are uploaded as workflow artifacts by default. The author warns that the action is not hardened against prompt injection and should only review trusted PRs, and recommends requiring approval for workflows from outside contributors.
- Pricing is not stated. The project uses the MIT License.
- If you use these features, weigh the safety risks yourself. AI Inspiration World is not responsible for any consequences.
Based on the project's public documentation. Not tested by AI Inspiration World.