Skip to content

PYRAG-PRotect/.github

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

PRotect: A Pull Request Security Reviewer

PRotect is an automated security review system for GitHub Pull Requests (PRs). It consists of:

  1. PRotect Chrome Extension – A browser extension that analyzes PRs for security vulnerabilities, highlighting issues directly in the UI.
  2. PRotect Probot – A GitHub bot that automatically reviews PRs, comments on vulnerable code, and enforces security policies.
  3. Code Testing Repository – A repository containing test cases and vulnerable code samples for evaluating PRotect's capabilities.

Features

PRotect Chrome Extension

  • Scans PRs for vulnerabilities such as SQL injection, XSS, and insecure coding patterns.
  • Identifies vulnerable lines of code and provides explanations.
  • Displays security scores and risk levels in an intuitive interface.

PRotect Probot

  • Analyzes PRs automatically and assigns a security score.
  • If the security score is below 40, the PR is automatically closed.
  • Adds inline comments on vulnerable lines, guiding developers on security improvements.

How It Works

  1. A developer opens a PR.
  2. PRotect scans the PR for security risks.
  3. If vulnerabilities are found:
    • The Chrome Extension highlights them in the PR interface and provides explanations.
    • The Probot places inline comments on affected lines and may close the PR if the score is too low.

Repositories

Contributing

We welcome contributions to improve PRotect. If you're interested, check out the respective repository’s CONTRIBUTING.md for guidelines.

Contact

For issues or feature requests, open a GitHub issue in the relevant repository.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published