Skip to content
Back to skills

Audit Ready Pr Reviewer

ASecurity

Reviews pull requests for compliance regressions. Scans code diffs for security and compliance violations, flags issues, and suggests fixes aligned with frameworks like SOC 2, ISO 27001, NIST 800-53.

  • 391 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added May 28, 2026
securitybashnodeawsterraformgitsecurity

Security analysis

A100/100

Scanned May 28, 2026

npx -y skills add GRCEngClub/claude-grc-engineering --skill audit-ready-pr-reviewer --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Audit Ready Pr Reviewer?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Audit Ready Pr Reviewer
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/grcengclub-audit-ready-pr-reviewer/badge)](https://www.skillsdirectory.com/skills/grcengclub-audit-ready-pr-reviewer)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: audit-ready-pr-reviewer
description: Reviews pull requests for compliance regressions. Scans code diffs for security and compliance violations, flags issues, and suggests fixes aligned with frameworks like SOC 2, ISO 27001, NIST 800-53.
allowed-tools: Bash, Read, Glob, Write, Edit
---

# Audit-Ready PR Reviewer

Reviews GitHub/GitLab pull requests specifically for compliance regressions. Shifts compliance "left" into the developer's daily workflow.

## Quick Commands

**Review a PR for SOC 2 compliance:**

```bash
node plugins/grc-engineer/scripts/review-pr.js myorg/infrastructure 42 SOC2
```

**Review a PR for ISO 27001:**

```bash
node plugins/grc-engineer/scripts/review-pr.js myorg/infrastructure 42 ISO27001
```

**Review a PR with custom framework:**

```bash
node plugins/grc-engineer/scripts/review-pr.js myorg/infrastructure 42 NIST80053
```

## What It Checks

- **Privilege Escalation** - Detects overly permissive IAM roles/policies
- **Encryption** - Flags missing encryption at rest or in transit
- **Tagging/Labeling** - Ensures required tags/labels are present
- **Network Security** - Validates VPC configurations, security groups
- **Access Controls** - Checks authentication and authorization
- **Logging** - Verifies audit logging is enabled
- **Backup/Recovery** - Ensures backup configurations

## Output Format

Posts GitHub comments with:

- ⚠️ Warning level and control reference
- 📝 Description of the issue
- ✅ Suggested fix with code example
- 🔗 Link to relevant compliance control

## Example Comment

```markdown
⚠️ **Compliance Warning: SOC 2 CC6.1 - Least Privilege**

This PR introduces an IAM role with `AdministratorAccess`, which violates the Least Privilege principle.

**Issue:** Line 23 in `terraform/iam.tf` assigns full administrative access.

**Suggested Fix:**
```hcl
resource "aws_iam_role" "app_role" {
  assume_role_policy = jsonencode({
    Version = "2012-10-17"
    Statement = [{
      Effect = "Allow"
      Action = [
        "s3:GetObject",
        "s3:PutObject"
      ]
      Resource = "arn:aws:s3:::my-bucket/*"
    }]
  })
}
```

**Control Reference:** SOC 2 CC6.1, NIST 800-53 AC-6

```

## Prerequisites

- GitHub repository (owner/repo format)
- PR number
- `GITHUB_TOKEN` environment variable (requires `repo` scope)
- Optional: Framework name (defaults to SOC2)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.