← Back to Skills Marketplace
briancolinger

pr-reviewer

by Brian Colinger · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
7938
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install pr-reviewer
Description
Automated GitHub PR code review with diff analysis, lint integration, and structured reports. Use when reviewing pull requests, checking for security issues,...
Usage Guidance
Install only if you are comfortable with a review-bucket risk. Use least-privilege GitHub credentials, keep PR_REVIEW_STATE and PR_REVIEW_OUTDIR inside the repository or a dedicated data directory, review generated reports before posting, and avoid running it on untrusted PRs until filename handling is changed to pass file lists through stdin, JSON, or arguments instead of embedding them in Python source.
Capability Analysis
Type: OpenClaw Skill Name: pr-reviewer Version: 1.0.1 The OpenClaw skill `pr-reviewer` is designed for automated GitHub PR code review, utilizing `gh` CLI and Python. It is classified as suspicious due to critical vulnerabilities rather than malicious intent. Specifically, the `scripts/pr-review.sh` script allows arbitrary file writes if the `PR_REVIEW_STATE` or `PR_REVIEW_OUTDIR` environment variables are set to sensitive paths (e.g., `/etc/passwd`), as there is no path sanitization or restriction. Additionally, there is a potential for shell injection in the `run_local_lint` function, where filenames obtained from GitHub PRs are directly expanded into `ruff` and `golangci-lint` commands, which could lead to arbitrary command execution if a malicious actor crafts a PR with specially named files containing shell metacharacters. No evidence of intentional data exfiltration, persistence, or obfuscation was found.
Capability Assessment
Purpose & Capability
The stated purpose matches GitHub PR review, report generation, optional linting, and optional PR commenting, but the script interpolates PR-controlled file paths directly into Python source in check_test_coverage, creating a local execution risk outside the expected review behavior.
Instruction Scope
Commands are user-invoked and the post action is explicit, though the documentation references scripts/github/pr-reviewer.sh while the packaged script is scripts/pr-review.sh.
Install Mechanism
No installer, hidden setup step, obfuscation, or background worker was found; dependencies are declared as gh and python3 with optional linters.
Credentials
Using authenticated gh access and local linters is coherent for PR review, but processing untrusted PR metadata through dynamically constructed Python code is not sufficiently contained for that environment.
Persistence & Privilege
The skill writes a state JSON file and markdown reports to documented, environment-configurable paths and can post a generated report to GitHub when the user runs post; these side effects are disclosed but broad path control should be treated carefully.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install pr-reviewer
  3. After installation, invoke the skill by name or use /pr-reviewer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Fix security scan flags: declare runtime dependencies, document env vars and write paths
v1.0.0
Initial release — automated GitHub PR code review with diff analysis for Go, Python, and JS/TS. Security scanning, error handling checks, test coverage gaps, local lint integration, and structured markdown reports.
Metadata
Slug pr-reviewer
Version 1.0.1
License
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is pr-reviewer?

Automated GitHub PR code review with diff analysis, lint integration, and structured reports. Use when reviewing pull requests, checking for security issues,... It is an AI Agent Skill for Claude Code / OpenClaw, with 7938 downloads so far.

How do I install pr-reviewer?

Run "/install pr-reviewer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is pr-reviewer free?

Yes, pr-reviewer is completely free (open-source). You can download, install and use it at no cost.

Which platforms does pr-reviewer support?

pr-reviewer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created pr-reviewer?

It is built and maintained by Brian Colinger (@briancolinger); the current version is v1.0.1.

💬 Comments