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

zenefits-webhooks

Latest version: vgit:a81f86ca5364779d0b5fb065e3957f713c116785

Overview

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

Scan summary

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

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

Versions

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

Rules fired in a81f86ca: 1

Findings

5 Low

Findings for commit a81f86ca. 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.

Encoded content in a skill

The skill's text or bundled scripts contain encoded content, such as a long base64 or hex string, a dense run of hex escapes, or invisible Unicode tag characters that can carry hidden instructions. Skills rarely need these. On its own this is not evidence of malicious behavior.

LOW
Checking access…

🔒 Create a free account to see all 5 findings with descriptions and instance counts

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

README

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

TriNet Zenefits Webhooks

When to Use This Skill

  • How do I receive TriNet Zenefits webhooks?
  • How do I verify the signature header on a Zenefits webhook?
  • Why is my Zenefits webhook signature verification failing?
  • Which secret signs Zenefits webhooks: the OAuth client secret or the webhook shared secret?
  • How do I handle people.did_create, employments.did_start, employments.did_terminate, or flow.did_complete.hiring events?
  • How do I run Zenefits webhooks through Hookdeck?

Verification (core)

Zenefits sends a header literally named signature containing the hex HMAC-SHA256 of the raw request body, keyed with your application's webhook shared secret (used as a raw string). This is not the OAuth client secret. There is no timestamp and no official SDK, so verification is manual.

Node:

const crypto = require('crypto');

function verifyZenefitsSignature(rawBody, signatureHeader, secret) {
  if (typeof signatureHeader !== 'string' || !secret) return false;
  // Buffer.from(x, 'hex') silently truncates invalid hex: check the format first
  if (!/^[0-9a-f]{64}$/i.test(signatureHeader)) return false;
  const expected = crypto.createHmac('sha256', secret).update(rawBody).digest();
  return crypto.timingSafeEqual(Buffer.from(signatureHeader, 'hex'), expected);
}

Python:

import hashlib, hmac

def verify_zenefits_signature(raw_body: bytes, signature_header: str, secret: str) -> bool:
    if not signature_header or not secret:
        return False
    expected = hmac.new(secret.encode(), raw_body, hashlib.sha256).hexdigest()
    # Compare bytes so a non-ASCII header returns False instead of raising
    return hmac.compare_digest(signature_header.lower().encode(), expected.encode())

Example from the Zenefits docs (used in the tests): secret lDVtBQnoRcqYv4fUeVD0oyzgsKWHGtqhatjBX5wXRFQzkVUCzBA571E4qUxvR5LE and body {"test":"valid payload"} give signature 219a08ea32f319931dc849badc076323f40367aad859ddba4de82e33135fad31.

In Express, read the raw body with express.raw({ type: '*/*' }) so any content type verifies.

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

Common Event Types

The event name is the type field in the JSON body (<object>.<action>[.<subtype>]); it is not sent in a header. data matches the REST API shape for that object.

Event Description
companies.did_create / companies.did_change A company object is created or changes
people.did_create A new person is created
people.did_change A person object changes
employments.did_start A person's first day of work (fires on hire_date)
employments.did_terminate A person's last day of work (fires on termination_date)
flow.did_complete.hiring An admin completes a hiring flow for a person

Many more exist (departments.*, locations.*, vacation_requests.*, time_durations.*, custom_field_values.*, and others). See references/overview.md.

Environment Variables

ZENEFITS_WEBHOOK_SECRET=your_webhook_shared_secret

Setup (Zenefits and Hookdeck)

Use your app's webhook shared secret, not its OAuth client secret. Zenefits generates the shared secret for your application and signs every webhook with it. If you receive webhooks through Hookdeck, paste the same webhook shared secret into the Zenefits source's verification settings. Webhook URLs must be HTTPS and return a 2xx quickly; Zenefits retries failures for up to 1 hour and may deliver a message more than once. See references/setup.md.

Local Development

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

No account required. The CLI creates a guest account on first run and provides a local tunnel plus a web UI for inspecting requests. Use port 8000 for FastAPI.

Reference Materials

  • references/overview.md - What Zenefits webhooks are, event types, payload structure, retries
  • references/setup.md - Secret, endpoint requirements, Hookdeck setup
  • references/verification.md - Signature details and gotchas

Recommended: webhook-handler-patterns

We recommend installing webhook-handler-patterns alongside this skill:

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/zenefits-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

Microsoft's Official agent framework Hijacked
AI & VibeSec

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

PHP2Shell, Day 5 93.6% of Measurable Instances Still Unpatched (1)
Vulnerability Insights

PHP2Shell, Day 5: The Panic Hasn’t Turned Into Patching

Vulnerability Insights

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

Frame 2085668439 (1)
Group 1261154229