github-webhooks
Facilitates the setup and verification of GitHub webhooks for handling repository events like pushes and pull requests.
Install this skill
Security score
The github-webhooks skill was audited on Feb 12, 2026 and we found 39 security issues across 3 threat categories. Review the findings below before installing.
Categories Tested
Security Issues
Template literal with variable interpolation in command context
| 73 | console.log(`Received ${event} (delivery: ${delivery})`); |
Template literal with variable interpolation in command context
| 78 | console.log(`Push to ${payload.ref}:`, payload.head_commit?.message); |
Template literal with variable interpolation in command context
| 81 | console.log(`PR #${payload.number} ${payload.action}:`, payload.pull_request?.title); |
Template literal with variable interpolation in command context
| 84 | console.log(`Issue #${payload.issue?.number} ${payload.action}:`, payload.issue?.title); |
Webhook reference - potential data exfiltration
| 2 | name: github-webhooks |
Webhook reference - potential data exfiltration
| 4 | Receive and verify GitHub webhooks. Use when setting up GitHub webhook |
Webhook reference - potential data exfiltration
| 11 | repository: https://github.com/hookdeck/webhook-skills |
Webhook reference - potential data exfiltration
| 14 | # GitHub Webhooks |
Webhook reference - potential data exfiltration
| 18 | - Setting up GitHub webhook handlers |
Webhook reference - potential data exfiltration
| 30 | function verifyGitHubWebhook(rawBody, signatureHeader, secret) { |
Webhook reference - potential data exfiltration
| 50 | ### Express Webhook Handler |
Webhook reference - potential data exfiltration
| 57 | app.post('/webhooks/github', |
Webhook reference - potential data exfiltration
| 65 | if (!verifyGitHubWebhook(req.body, signature, process.env.GITHUB_WEBHOOK_SECRET)) { |
Webhook reference - potential data exfiltration
| 104 | def verify_github_webhook(raw_body: bytes, signature_header: str, secret: str) -> bool: |
Webhook reference - potential data exfiltration
| 134 | | `ping` | Test event when webhook created | |
Webhook reference - potential data exfiltration
| 136 | > **For full event reference**, see [GitHub Webhook Events](https://docs.github.com/en/webhooks/webhook-events-and-payloads) |
Webhook reference - potential data exfiltration
| 149 | GITHUB_WEBHOOK_SECRET=your_webhook_secret # Set when creating webhook in GitHub |
Webhook reference - potential data exfiltration
| 155 | # Install Hookdeck CLI for local webhook testing |
Webhook reference - potential data exfiltration
| 159 | hookdeck listen 3000 --path /webhooks/github |
Webhook reference - potential data exfiltration
| 164 | - [references/overview.md](references/overview.md) - GitHub webhook concepts |
Webhook reference - potential data exfiltration
| 173 | // Generated with: github-webhooks skill |
Webhook reference - potential data exfiltration
| 174 | // https://github.com/hookdeck/webhook-skills |
Webhook reference - potential data exfiltration
| 177 | ## Recommended: webhook-handler-patterns |
Webhook reference - potential data exfiltration
| 179 | We recommend installing the [webhook-handler-patterns](https://github.com/hookdeck/webhook-skills/tree/main/skills/webhook-handler-patterns) skill alongside this one for handler sequence, idempotency, |
Webhook reference - potential data exfiltration
| 181 | - [Handler sequence](https://github.com/hookdeck/webhook-skills/blob/main/skills/webhook-handler-patterns/references/handler-sequence.md) — Verify first, parse second, handle idempotently third |
Webhook reference - potential data exfiltration
| 182 | - [Idempotency](https://github.com/hookdeck/webhook-skills/blob/main/skills/webhook-handler-patterns/references/idempotency.md) — Prevent duplicate processing |
Webhook reference - potential data exfiltration
| 183 | - [Error handling](https://github.com/hookdeck/webhook-skills/blob/main/skills/webhook-handler-patterns/references/error-handling.md) — Return codes, logging, dead letter queues |
Webhook reference - potential data exfiltration
| 184 | - [Retry logic](https://github.com/hookdeck/webhook-skills/blob/main/skills/webhook-handler-patterns/references/retry-logic.md) — Provider retry schedules, backoff patterns |
Webhook reference - potential data exfiltration
| 188 | - [stripe-webhooks](https://github.com/hookdeck/webhook-skills/tree/main/skills/stripe-webhooks) - Stripe payment webhook handling |
Webhook reference - potential data exfiltration
| 189 | - [shopify-webhooks](https://github.com/hookdeck/webhook-skills/tree/main/skills/shopify-webhooks) - Shopify e-commerce webhook handling |
Webhook reference - potential data exfiltration
| 190 | - [resend-webhooks](https://github.com/hookdeck/webhook-skills/tree/main/skills/resend-webhooks) - Resend email webhook handling |
Webhook reference - potential data exfiltration
| 191 | - [chargebee-webhooks](https://github.com/hookdeck/webhook-skills/tree/main/skills/chargebee-webhooks) - Chargebee billing webhook handling |
Webhook reference - potential data exfiltration
| 192 | - [clerk-webhooks](https://github.com/hookdeck/webhook-skills/tree/main/skills/clerk-webhooks) - Clerk auth webhook handling |
Webhook reference - potential data exfiltration
| 193 | - [elevenlabs-webhooks](https://github.com/hookdeck/webhook-skills/tree/main/skills/elevenlabs-webhooks) - ElevenLabs webhook handling |
Webhook reference - potential data exfiltration
| 194 | - [openai-webhooks](https://github.com/hookdeck/webhook-skills/tree/main/skills/openai-webhooks) - OpenAI webhook handling |
Webhook reference - potential data exfiltration
| 195 | - [paddle-webhooks](https://github.com/hookdeck/webhook-skills/tree/main/skills/paddle-webhooks) - Paddle billing webhook handling |
Webhook reference - potential data exfiltration
| 196 | - [webhook-handler-patterns](https://github.com/hookdeck/webhook-skills/tree/main/skills/webhook-handler-patterns) - Handler sequence, idempotency, error handling, retry logic |
Webhook reference - potential data exfiltration
| 197 | - [hookdeck-event-gateway](https://github.com/hookdeck/webhook-skills/tree/main/skills/hookdeck-event-gateway) - Production webhook infrastructure (routing, replay, monitoring) |
Access to .env file
| 65 | if (!verifyGitHubWebhook(req.body, signature, process.env.GITHUB_WEBHOOK_SECRET)) { |