Generous review limits.
A sponsored allowance for your repositories, with more available on request.
BattleTest sponsors PR security reviews for selected open-source projects. Get generous review limits, with model usage covered.
For approved repositories. No model API key needed.
const projectId = params.id;
− await db.project.delete({ id: projectId });+ await db.project.delete({
+ id: projectId, ownerId: session.user.id
+ }); The delete query uses the project ID without checking its owner. Scope the query to the authenticated user before deleting.
Include ownerId: session.user.id in the query and return a not-found response
when no matching project exists.
Example of a PR security finding.
Keep your attention on the project. Sponsorship gives approved repositories a generous review allowance and covers the model usage behind those reviews.
A sponsored allowance for your repositories, with more available on request.
Use the managed service without supplying a model API key.
Get help setting up and a direct way to share feedback about findings.
We’re starting with a small group of actively maintained projects. We look at recent pull requests, maintainer involvement and community adoption. Star counts are one signal.
We confirm your sponsorship and approved repositories before you get started. Applying doesn’t change your existing free access.
Share the repository URLs and a contact. A little context helps us understand your project.
We confirm the approved repositories, allowance and sponsorship period.
Get setup help and start receiving security reviews on new pull requests.
If the reviews help, you can share the programme with a README badge. It’s optional, and your sponsored access stays the same either way.
The badge identifies use of PR security reviews. It is not a comprehensive security certification.
Badge guide and README MarkdownPR review stays free for everyone. Approved sponsorship adds a generous allowance for selected repositories, with model usage covered and setup help.
Yes. Sponsored maintainers can ask for an extension to their agreed allowance. We review requests within the programme’s budget.
No. Badges and testimonials are optional. Sponsorship does not depend on either.
Sponsorship applies to the repositories approved in your grant. Additional repositories can be requested.
Yes. Self-hosting is a separate option in the documentation. Sponsored model usage described here applies to the managed programme.
No review catches every issue. BattleTest helps identify security concerns in proposed changes and supports your existing review process.
Tell us what you’re building.
Prefer email? Send your repository URL, GitHub profile and relationship to the project to [email protected].
Applications are reviewed individually. We confirm the allowance and approved repositories before sponsorship begins.
Want to explore the reviewer? Browse the PR Review source code on GitHub >.