We prioritize security updates for the most recent versions of the PR-reviewer agent.
| Version | Supported |
|---|---|
| Main | β Yes |
| < 1.0.0 | β No |
Our application implements top-tier, multi-layered "Defense in Depth" strategies including:
- Vercel Edge Middleware: Acts as a code-first WAF (Web Application Firewall). It filters incoming requests before waking up serverless functions, blocking known DDoS bots (
k6,jmeter,postmanruntime, etc.) and preventing buffer overflows by sanitizing over-sized query strings at the edge. - Strict HTTP Security Headers: Enforced via
next.config.ts, returningStrict-Transport-Security(HSTS),X-Frame-Options(preventing clickjacking), andX-XSS-Protection. - API Proxy Routes: The Next.js client does not store backend configuration secrets (like
FRONTEND_SECRET). These are kept securely inside Next.js server-sideroute.tshandlers and proxied downstream. - Client-Side Sanitization: Direct inputs to customizable prompt fields are scrubbed of HTML tags safely via
DOMPurifyto mitigate reflected XSS.
- Multi-lane Rate Limiting: A global rate limiter is applied to general routes, paired with a strict limiter strictly protecting API and webhook routes to block brute-force attempts and spam traffic.
- Payload Limits: Requests payloads exceeding 500kb are outright rejected to prevent memory exhaustion and large-payload DDoS scenarios.
- NoSQL Injection Prevention: Utilizes
express-mongo-sanitizeto strip prohibited characters ($and.) from req structures to safeguard MongoDB. - HTTP Parameter Pollution Protection: Implements
hppto ignore duplicated parameter trickery.
If you discover a security vulnerability (such as AI prompt injection risks or exposed API handling), please do not open a public issue. Publicly disclosing a vulnerability can put all users of this agent at risk.
Instead, please report it privately:
- Email: narayanpauliit20@gmail.com
- Subject:
Security Vulnerability Report - [Brief Description]
We will acknowledge your report in future and provide a fix as soon as possible. We value your help in keeping this project secure.
We are particularly interested in reports related to:
If the agent can be "tricked" into ignoring its system instructions or leaking internal logic via a malicious Pull Request description or code comment.
- Bypassing the
X-Hub-Signature-256verification. - Unauthorized access to the Next.js dashboard.
- Improper handling of GitHub App Installation Tokens.
- Scenarios where private repository code might be logged or cached in a way that is accessible to unauthorized users.
- Exposure of the Gemini API key or GitHub App secrets.
Known vulnerabilities in our core stack (Node.js, Express, Next.js) that could lead to Remote Code Execution (RCE).
The following are generally not considered security vulnerabilities:
- AI Hallucinations: Incorrect code review suggestions (these are quality issues, not security flaws).
- UI/UX Bugs: Minor visual glitches in the dashboard that do not compromise data.
- Brute-force: Issues that rely on a lack of rate-limiting (unless they lead to a crash).
To keep your deployment secure, always:
- Use a strong
WEBHOOK_SECRETin your.envfile. - Regularly update your Gemini API keys.
- Keep your Node.js environment updated to the latest LTS version.