Security context

What an agent needs to avoid regressing past fixes and find the next vuln in this repo.

yoctol/bottender
master @ 154d2b6
15
Fixes
0
CVEs
HIGH
Peak severity
Highlights
Auth Bypass: 13 prior fixes. Scrutinize any change in this area.
src/express/createServer.js: most-fixed (2 issues). Treat as high-risk during review.
10 high-severity fixes in this history; regressions here are high-impact.
Recurring patterns

The bug types that recur here, drawn from past fixes, not open vulnerabilities.

Auth Bypass: The platform struggled with extracting signatures correctly across different server frameworks, such as reading from 'request.header' instead of 'request.headers' in Koa and Restify, leading to bypassed signature checks.
Auth Bypass: Fallback mechanisms for webhook verification were insecure, defaulting to allowing verification when the required token was entirely missing.
Auth Bypass: Lack of timing-safe cryptographic equality checks allowed potential timing attacks on webhook signature validation across Slack and Viber connectors.