PR security review in GitHub.

Every pull request gets a security check run and inline comments before it merges.

Woodcut of a scribe at his desk checking each line with a quill: review before anything goes out.
Checked

How does PR review work?

PR security review checks every pull request before it merges. The Rokkhe GitHub App scans changes for leaked secrets, vulnerable dependencies, risky code patterns and infrastructure mistakes, then reports a check run with inline comments. Checks fail closed, and AutoFix can open a pull request with the fix.

  1. Install the app

    Pick repositories. Webhooks are signed.

  2. Scan in a sandbox

    Read-only, no capabilities, limited network.

  3. Review with AI

    Adds findings only. Secrets redacted first.

  4. Fix it

    AutoFix opens a pull request.

Five scanners and a reviewer.

Checks fail closed: a scanner that cannot finish never passes a change.

  • SCAosv-scanner and OSV malicious packages.
  • Secretsgitleaks.
  • SASTopengrep with Rokkhe’s rules.
  • IaC and licencestrivy, plus container images.
  • Other CIThe rokkhe-scan CLI.

What lands on the pull request

Rokkhe / security: 2 findings
secrets  config/deploy.yml:14  access key in plain text
sca      package-lock.json    lodash 4.17.20 → 4.17.21
Illustration of a check run.

PR review: common questions

Which scanners run on a pull request?

SCA with osv-scanner, secrets with gitleaks, SAST with opengrep, IaC and licences with trivy, and malicious packages from OSV.

Does the AI reviewer change our code?

No. It has no tools and can only add findings. Secrets are redacted from the patch it reads.

We do not use GitHub Actions. Can we still scan?

Yes. The rokkhe-scan CLI runs in other CI systems.

Put your attack surface on the record.

Agree the scope, see a real finding, leave with a quote.

Scope approved first. Evidence with every finding.