-
-
Notifications
You must be signed in to change notification settings - Fork 40
Fix soft-deleted webhooks being accessible #184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Fix soft-deleted webhooks being accessible #184
Conversation
Add isNull(deletedAt) filter to findById, updateLastUsed, updateToken, and softDelete methods in ChannelWebhookRepo. This ensures soft-deleted webhooks cannot be used to post messages, a security vulnerability that allowed deleted webhook tokens to remain functional indefinitely.
|
Claude finished @Makisuo's task —— View job PR Review: Fix soft-deleted webhooks being accessibleAnalyzed the security fix for soft-deleted webhooks. This is a critical security patch that properly implements soft-delete filtering. Todo List:
Review Summary✅ This is an excellent security fix that addresses a critical vulnerability where soft-deleted webhooks could still be accessed and used to post messages. Code Quality & ImplementationStrengths:
Implementation details:
Security Analysis✅ Critical vulnerability fixed:
Security best practices followed:
Performance Considerations✅ Performance optimized:
Test Coverage Concerns
Minor Suggestions
Approval Recommendation✅ APPROVE - This is a well-implemented security fix that:
Suggested follow-up: Add comprehensive unit tests to prevent regression of this security issue. |
Coverage Report
File CoverageNo changed files found. |
Deploying with
|
| Status | Name | Latest Commit | Preview URL | Updated (UTC) |
|---|---|---|---|---|
| ✅ Deployment successful! View logs |
hazel-app | 6e61fdb | Commit Preview URL Branch Preview URL |
Dec 13 2025, 01:08 PM |
Add isNull(deletedAt) filter to findById, updateLastUsed, updateToken, and softDelete methods in ChannelWebhookRepo. This ensures soft-deleted webhooks cannot be used to post messages, a security vulnerability that allowed deleted webhook tokens to remain functional indefinitely.