Demo: risky webhook signature bypass - #3
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
GraphReview AnalysisPR Review After reviewing the provided diff and the knowledge graph context, here are the findings: 1. File: app/github/webhooks.pyLine: 26 (inside verify_signature) Severity: Critical Issue: Explanation: Suggested Fix: def verify_signature(body: bytes, signature_header: str | None) -> bool:
secret = get_settings().github_webhook_secret
if not secret:
raise RuntimeError("GITHUB_WEBHOOK_SECRET is required to verify webhooks")
# ...rest of the verification logic...2. File: .github/workflows/tests.ymlSeverity: Suggestion Issue: Explanation: Suggested Fix: 3. File: requirements.txtSeverity: Suggestion Issue: SummaryCritical Issue:
Suggestions:
Most Relevant Context Checked:
No other meaningful issues detected. Action Required: |
This PR is intentionally bad to test Graphora review and CI debugging.
It bypasses webhook signature verification and adds a pytest workflow so CI should fail on the existing signature test.
Expected bot behavior: