Privacy policy
Last updated: November 17, 2026
1. Introduction
Snarky Engineering ("we", "us", "our") operates StructPR ("the Service"). This Privacy Policy explains how we collect, use, and protect your information when you use our Service.
2. Information we collect
Account information
When you sign in with GitHub, we receive and store:
- GitHub user ID and username
- Email address
- Avatar URL
- OAuth access and refresh tokens (encrypted at rest with AES-256-GCM)
Repository and PR data
When you install the StructPR GitHub App, we access and store:
- Repository metadata (name, visibility, default branch)
- Pull request metadata (title, number, SHA hashes)
- File diff patches (to generate analysis groupings)
- PR comments you post through StructPR
We do not store your full source code. We only process and store diff patches provided by the GitHub API for open pull requests.
Usage data
We track:
- Number of repositories, PRs analyzed, and comments posted (for billing limits)
- Review session activity (which groups you've reviewed, timestamps)
3. How we use your information
- To provide and improve the PR analysis and review features
- To manage your subscription and enforce plan limits
- To post comments to GitHub on your behalf (only when you explicitly submit)
- To send transactional emails related to your account or subscription
4. Data security
We use these security measures:
- OAuth tokens are encrypted at rest using AES-256-GCM
- GitHub webhook payloads are verified using HMAC-SHA256 signatures
- Stripe webhook payloads are verified using Stripe's signature verification
- All connections use HTTPS with HSTS enabled
- Sessions expire after 24 hours
- User data is scoped per-installation to prevent cross-account access
5. Third-party services
We use the following third-party services that may process your data:
- GitHub, for authentication, repository access, and API integration
- Stripe, for payment processing and subscription management
- OpenPanel, for product analytics on the website and the app. We use it to see which pages people visit and which sign-up and install steps they finish, so we can improve StructPR. In your browser, OpenPanel records page views (the page address, page title, and referring page), clicks on links to other sites, and clicks on sign-up and install buttons. Our servers also send OpenPanel an event when you first sign in and when you install or remove the GitHub App. They send an event when you turn on Shield for a repository, when a pull request is analyzed, when a subscription starts or ends, and when a payment fails. These events include your GitHub username or organization name, or your Stripe customer ID. They don't include your email address, your code, or pull request content. As with any web request, OpenPanel also receives your IP address and browser details.
Each service has its own privacy policy. We encourage you to review them.
6. Data retention
We retain your account data as long as your account is active. We keep PR analysis data for the lifetime of the repository's installation. You can request deletion of your data at any time by contacting us.
7. Your rights
You have the right to:
- Access the personal data we hold about you
- Request correction of inaccurate data
- Request deletion of your data
- Revoke the GitHub App installation at any time through GitHub Settings
- Export your data upon request
8. Cookies
We use one session cookie (_structpr_key) required
for authentication. We don't use tracking cookies, advertising cookies, or third-party
analytics cookies.
OpenPanel doesn't set cookies on our site, and it doesn't store anything in your browser's local storage or session storage. The site saves your light or dark theme choice in your browser's local storage.
9. Changes to this policy
We may update this Privacy Policy from time to time. We will notify users of material changes via email or in-app notice. The "Last updated" date at the top indicates when this policy was last revised.
10. Contact
For privacy-related questions or data requests, contact us at hello@structpr.dev.