T09 · Insecure Skill Coding Practices
- Location
App/webhook.py:64- Finding
Authentication Bypass on the Raw Webhook Endpoint
- Content
View full analysis
- Remediation
View remediation
None: if not verify_secret(x_webhook_secret): raise HTTPException(status_code=401, detail="Invalid webhook secret") @router.post("/webhook/raw", dependencies=[Depends(require_webhook_secret)]) async def receive_raw_webhook(request: Request): ... ``` ]]>
