huntress-webhooks
БесплатноЗапускает вложенные скриптыНе проверенReceive and verify Huntress webhooks (signed with Svix). Use when setting up Huntress webhook handlers, debugging webhook-signature / svix-signature…
от hookdeck★ 104 звезды на GitHubОб этом скилле
Huntress Webhooks
Huntress (managed security) delivers real-time notifications from the Huntress Portal
as webhooks. Each delivery is an HTTP POST with a JSON body and three signature
headers. Huntress states that it uses Svix to sign payloads, so any Svix client library
verifies them.
Header names: Huntress's article doesn't name the headers. It says only "a Svix
signature, a timestamp, and a unique delivery ID" and links Svix's guide, which uses
svix-id, svix-timestamp, and svix-signature. A live Send Test delivery
(observed 2026-11-18) sent the Standard Webhooks names webhook-id, webhook-timestamp, and webhook-signature
instead (plus webhook-test: true). The signed content is identical, so read
whichever prefix is present. A handler that reads only svix-* rejected that
test delivery as "missing headers". Real category deliveries have not been captured yet.
When to Use This Skill
- How do I receive Huntress webhooks?
- How do I verify Huntress webhook signatures (
webhook-signatureorsvix-signature)? - Why does my Huntress handler say the
svix-*headers are missing? - How do I handle Huntress incident report or escalation notifications?
- Why is my Huntress webhook signature verification failing?
- Why do replayed or retried Huntress webhooks fail with "timestamp too old"?
Verification (core)
Signed content is {id}.{timestamp}.{raw body}, HMAC-SHA256 with the base64-decoded
secret (the part after whsec_), base64-encoded. The signature header holds one or
more space-separated v1,<base64> entries; any match passes. Huntress's own page never
shows the secret (it only says to use View Signing Secret in the Portal); a live
check on 2026-11-18 confirmed it is a whsec_ secret.
import { Webhook } from 'svix'; // svix 2.x is ESM-only
const wh = new Webhook(process.env.HUNTRESS_WEBHOOK_SECRET); // "whsec_..."
// Accept either header prefix: a live Send Test (2026-11-18) used webhook-*, Svix's guide says svix-*
const h = (name) => req.headers[`svix-${name}`] ?? req.headers[`webhook-${name}`];
// rawBody: the raw Buffer/string, never re-serialized JSON
wh.verify(rawBody, {
'svix-id': h('id'),
'svix-timestamp': h('timestamp'),
'svix-signature': h('signature'),
}); // throws on a bad signature or a timestamp outside 5 minutes
const body = JSON.parse(rawBody.toString('utf8')); // parse only after verify passes
from svix.webhooks import Webhook, WebhookVerificationError
def h(name): # accept either header prefix
return request.headers.get(f"svix-{name}") or request.headers.get(f"webhook-{name}")
wh = Webhook(os.environ["HUNTRESS_WEBHOOK_SECRET"])
wh.verify(raw_body, {"svix-id": h("id"), "svix-timestamp": h("timestamp"), "svix-signature": h("signature")})
For complete handlers with tests, see examples/express/, examples/nextjs/, examples/fastapi/.
Hookdeck retries and the 5-minute window
The svix and standardwebhooks libraries always enforce a fixed 5-minute timestamp
window. Hookdeck retries and replays resend the original timestamp header, so the
library rejects any retry or replay that arrives more than 5 minutes after Huntress
sent it. If your handler sits behind Hookdeck and must accept late deliveries, use the
manual verifier in references/verification.md: it does
the same HMAC-SHA256 check and compares every v1, entry in constant time, but the
window can be dropped or widened. Deduplicate on the delivery ID (webhook-id or
svix-id) instead.
Event Types and Payload
An endpoint subscribes to four notification categories, toggled per endpoint in
the Portal. Each category sends a set of event types, named in the top-level
event_type field of the JSON body. Huntress's
webhook payload reference (the "Webhooks" source;
JSON at https://api.huntress.io/v1/webhooks_doc.json) lists 12:
| Category | event_type values |
|---|---|
| Incident Reports | incident_report.created, incident_report.comment_added, incident_report.closed |
| Escalations | escalation.created, escalation.updated, escalation.overdue, escalation.closed |
| Platform Actions | platform_action.created, platform_action.overdue, platform_action.closed, platform_action.notification |
| Account Notices | account_notice.notification |
Bodies are flat (no data wrapper) and come in three shapes: incident report events,
escalation and platform action events (which also have a type field that is not
the event type), and the two .notification events (id, subject, body). The
reference has schemas only, no example bodies. Incident report bodies still carry
account_id and organization_id, marked deprecated in favour of account and
organization. The live Send Test body (2026-11-18) was
`{"event_type":"test.event","message":"Hello W
Установить huntress-webhooks в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
FAQ
Что делает скилл huntress-webhooks?
Receive and verify Huntress webhooks (signed with Svix). Use when setting up Huntress webhook handlers, debugging webhook-signature / svix-signature verification, or handling managed security notifications such as incident reports, escalations, platform actions, and account notices.
Как установить скилл huntress-webhooks?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл huntress-webhooks запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic