Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

retell-webhooks

Latest version: vgit:0ee1b9d49c7d63ef80a1a42397a0cff8059b9e11

Overview

Last scanned
16 Nov 2026
Agent skill Publisher: hookdeck
102 Stars
16 Forks
1 Versions
JavaScript Repo language

Scan summary

retell-webhooks was last scanned on 16 Nov 2026 at commit 0ee1b9d4. Risk score 1 of 100 (low). No malicious behavior was detected.

  • Releases: Single version.
  • Findings: 1 rule fired in commit 0ee1b9d4 (1 low). The score describes this commit only.

Versions

1 version published
Versions and the rules that fired in each
VersionPublishedStatus
0ee1b9d4 1 rule fired

Rules fired in 0ee1b9d4: 1

Findings

1 Low

Findings for commit 0ee1b9d4. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.

Skill mentions tunnel, paste or webhook services

The skill's text or scripts mention a tunneling service such as ngrok or trycloudflare, a Discord webhook, a raw paste link or a public IP address. Legitimate tools reference these too, so this is context for review rather than evidence of harm.

LOW
Checking access…

🔒 Create a free account to see all 1 finding with descriptions and instance counts

The score describes 0ee1b9d4; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

Retell AI Webhooks

When to Use This Skill

  • How do I receive Retell AI webhooks?
  • How do I verify Retell webhook signatures (X-Retell-Signature)?
  • How do I handle call_ended or call_analyzed events?
  • Why is my Retell webhook signature verification failing?
  • How do I handle transcript, transfer, and chat events from Retell?

Verification (core)

Retell signs each webhook with HMAC-SHA256 using your Retell API key as the secret (only an API key with the webhook badge in the dashboard works). The signature arrives in the X-Retell-Signature header formatted as v={unix_ms_timestamp},d={hex_digest}, where the digest is computed over the raw request body concatenated with the timestamp. Always verify against the raw body, never a re-serialized JSON string.

The Python SDK ships a verify helper (client.verify(body, api_key, signature) — positional params, so the keyword form used in the FastAPI example also works). The Node SDK has no verify helper, so Node handlers verify manually.

Verified against retell-sdk 5.56.0 (PyPI) and 5.46.0 (npm): the Python package exposes retell.lib.webhook_auth.verify, re-exported as client.verify; the npm package has no webhook/verify export. Check your installed version — the helper's presence and argument order have moved between releases.

const crypto = require('crypto');

// Reject signatures older than 5 minutes to prevent replay attacks
const FIVE_MINUTES_MS = 5 * 60 * 1000;

function verifyRetellSignature(rawBody, signatureHeader, apiKey) {
  const match = /^v=(\d+),d=(.*)$/.exec(signatureHeader || '');
  if (!match) return false;
  const [, timestamp, digest] = match;
  if (Math.abs(Date.now() - Number(timestamp)) > FIVE_MINUTES_MS) return false;

  const expected = crypto
    .createHmac('sha256', apiKey)
    .update(rawBody + timestamp) // raw body + timestamp, in that order
    .digest('hex');
  try {
    return crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(digest));
  } catch {
    return false; // length mismatch = invalid
  }
}

Python (FastAPI) uses the official SDK instead:

from retell import Retell

client = Retell(api_key=os.environ["RETELL_API_KEY"])
# client.verify enforces the ~5 min timestamp window and returns a bool
is_valid = client.verify(raw_body.decode("utf-8"),
                         api_key=os.environ["RETELL_API_KEY"],
                         signature=signature_header)

For complete handlers with tests, see examples/express/, examples/nextjs/, examples/fastapi/.

Common Event Types

Event Triggered When Common Use Cases
call_started A call begins Track live calls, update dashboards
call_ended A call finishes (audio done) Persist call record, trigger follow-ups
call_analyzed Post-call analysis completes Store transcript, sentiment, summary
transcript_updated Transcript changes mid-call Live captions, real-time monitoring
transfer_started An agent transfer begins Log routing, notify agents
transfer_bridged Transfer connected Update call state
transfer_cancelled Transfer cancelled Revert routing state
transfer_ended Transfer completed Reconcile call legs
chat_started A chat session begins Track chat sessions
chat_ended A chat session ends Persist chat record
chat_analyzed Post-chat analysis completes Store chat summary, sentiment

Payloads carry an event field plus a call object (voice/transfer events) or a chat object (chat events). Dedupe on event + call.call_id (or chat.chat_id) — Retell retries up to 3 times if it doesn't get a 2xx within 10 seconds.

See references/overview.md for full payload structure.

Environment Variables

# The Retell API key (must have the webhook badge). Used as the HMAC secret.
RETELL_API_KEY=key_xxxxxxxxxxxxxxxxxxxxxxxx
PORT=3000

Local Development

For local webhook testing, run the Hookdeck CLI via npx — no install required:

npx hookdeck-cli listen 3000 retell --path /webhooks/retell

No account required — the CLI creates a guest account on first run and provides a local tunnel + web UI for inspecting requests.

Resources

  • Overview - What Retell webhooks are, event types, payloads
  • Setup - Configure account-level and agent-level webhooks
  • Verification - Signature verification details and gotchas
  • Express Example - Complete Express.js implementation
  • Next.js Example - Next.js App Router implementation
  • FastAPI Example - Python FastAPI implementation (uses the Retell SDK)

Recommended: webhook-handler-patterns

We recommend installing the webhook-handler-patterns skill alongside this one for handler sequence, idempotency, error handling, and retry logic. Key references (open on GitHub):

Related Skills

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.

Where it’s listed

The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).

  • GitHub hookdeck/webhook-skills/retell-webhooks

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

Vulnerability Insights

Compromised Claude Code extensions (versions 2.1.312 & 2.1.313) in Cursor try to install a backdoor

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Microsoft's Official agent framework Hijacked
AI & VibeSec

BREAKING: Hijacked Releases of Microsoft’s Official agent-framework Steals Azure and CI Credentials

Frame 2085668439 (1)
Group 1261154229