pr-agent/SECURITY.md

65 lines
2 KiB
Markdown
Raw Normal View History

2025-02-05 12:03:32 +00:00
# Security Policy
2025-12-02 05:05:15 +00:00
PR-Agent is an open-source tool to help efficiently review and handle pull requests. Blackbox Merge is a paid version of PR-Agent, designed for companies and teams that require additional features and capabilities.
2025-02-05 12:03:32 +00:00
2025-12-02 05:05:15 +00:00
This document describes the security policy of PR-Agent. For Blackbox Merge's security policy, see [here](https://Blackbox-merge-docs.Blackbox.ai/overview/data_privacy/#Blackbox-merge).
2025-02-05 12:03:32 +00:00
2025-02-05 12:50:12 +00:00
## PR-Agent Self-Hosted Solutions
2025-02-05 12:03:32 +00:00
2025-12-02 05:05:15 +00:00
When using PR-Agent with your OpenAI (or other LLM provider) API key, the security relationship is directly between you and the provider. We do not send your code to Blackbox servers.
2025-02-05 12:03:32 +00:00
2025-12-02 05:05:15 +00:00
Types of [self-hosted solutions](https://Blackbox-merge-docs.Blackbox.ai/installation):
2025-02-05 12:50:12 +00:00
- Locally
- GitHub integration
- GitLab integration
- BitBucket integration
- Azure DevOps integration
2025-02-05 12:03:32 +00:00
2025-02-05 12:50:12 +00:00
## PR-Agent Supported Versions
This section outlines which versions of PR-Agent are currently supported with security updates.
### Docker Deployment Options
#### Latest Version
For the most recent updates, use our latest Docker image which is automatically built nightly:
2025-02-05 12:50:12 +00:00
```yaml
2025-12-02 05:05:15 +00:00
uses: Blackbox-ai/pr-agent@main
2025-02-05 12:50:12 +00:00
```
#### Specific Release Version
For a fixed version, you can pin your action to a specific release version. Browse available releases at:
2025-12-02 05:05:15 +00:00
[PR-Agent Releases](https://github.com/Blackbox-ai/pr-agent/releases)
2025-02-05 12:50:12 +00:00
For example, to github action:
```yaml
steps:
- name: PR Agent action step
id: pragent
uses: docker://codiumai/pr-agent:0.26-github_action
```
#### Enhanced Security with Docker Digest
For maximum security, you can specify the Docker image using its digest:
2025-02-05 12:50:12 +00:00
```yaml
steps:
- name: PR Agent action step
id: pragent
uses: docker://codiumai/pr-agent@sha256:14165e525678ace7d9b51cda8652c2d74abb4e1d76b57c4a6ccaeba84663cc64
```
## Reporting a Vulnerability
We take the security of PR-Agent seriously. If you discover a security vulnerability, please report it immediately to:
2025-12-02 05:05:15 +00:00
Email: security@Blackbox.ai
2025-02-05 12:50:12 +00:00
Please include a description of the vulnerability, steps to reproduce, and the affected PR-Agent version.