Skip to content

Security: itsmanudon/ai-code-review-bot

Security

SECURITY.md

Security Policy

Reporting a vulnerability

Please do not open a public GitHub issue for security vulnerabilities.

Instead, report them privately via GitHub's private vulnerability reporting ("Report a vulnerability" under the Security tab). We aim to acknowledge reports within 72 hours and to provide a remediation timeline after triage.

When reporting, please include:

  • A description of the vulnerability and its impact.
  • Steps to reproduce (a minimal proof of concept if possible).
  • Affected version / commit.

Scope

This service handles several secrets — the GitHub App private key, the GitHub webhook secret, the Anthropic API key, and the optional ADMIN_TOKEN. Reports involving the leakage, bypass, or mishandling of any of these are in scope, as are webhook signature-verification bypasses and authentication gaps on the /admin/* surface.

Handling secrets

  • Never commit real secrets. All configuration lives in environment variables (see .env.example); .env* files and key material (*.pem, *.key) are git-ignored.
  • Webhook payloads are HMAC-verified (X-Hub-Signature-256) before processing.
  • Secrets are redacted from structured logs (src/observability/logging.config.ts) — do not log tokens, keys, or raw webhook bodies.

There aren't any published security advisories