Skip to content

fix: replace personal data and tokens in sample payloads - #83

Merged
garethx merged 1 commit into
mainfrom
fix/scrub-hub-batch-2026-11-04
Nov 6, 2026
Merged

garethx merged 1 commit into
mainfrom
fix/scrub-hub-batch-2026-11-04

Conversation

@garethx

@garethx garethx commented Nov 6, 2026

Copy link
Copy Markdown
Contributor

Replaces what look like real people's details and tokens in 44 sample payloads published to samples.hookdeck.com. Only the values change: every JSON key and its order is the same, the diff is 132 lines replaced one for one, and the JSON formatting is untouched. yarn compile succeeds and yarn test passes 26 of 26.

No real values appear in this PR text or the commit message.

What was replaced

Data Replacement
Emails user1@example.com
Names and usernames Jane Doe, Jane, jane-doe, example_user, Example User, Example Customer, Example Company
Avatars and photos https://example.com/avatar.png
Phone numbers Same format, 555 digits
IPs 203.0.113.x (RFC 5737)
Addresses 1 Example Street, Suite 100, Example City, Example Region, Example State, Example Country, XX codes, zeroed postcodes and coordinates
Date of birth 1990-01-01, in the same day/month/year fields
Token-bearing URLs Same path shape, with example-token and numeric segments zeroed
Plain tokens, keys and ids Same length and prefix, with placeholder characters or zeros

Files and fields

Provider Files Fields
paysafe 11 customerIp, paymentHandleToken, gatewayResponse.sid, and in PAYMENT_HANDLE_EXPIRED profile.dateOfBirth and billingDetails. Account and transaction ids are kept
pubnub 1 data[0].subKey
recruitee 4 candidate.emails[0], candidate.photo_thumb_url
sendbird 4 app_id
signnow 2 meta.callback_url (host and token path). Its query parameter is kept because it repeats the document or group id already in the file
stigg 4 customer.billingId, and customer.name in entitlements.updated
stream 7 channel.created: channel.created_by.id, member id, user_id, name, first_name, last_name, image, and the same id at user.id. user.id in channel.muted, user.banned, user.deactivated, user.reactivated, user.unread_message_reminder, user.updated, and wherever else that id repeats
stuart 5 details.package.client_tracking_url, end_customer_tracking_url, and details.courier.name in courier_assigned
workable 6 updated_by, personal_email[0].value, address, employeeFormStep.address, phone, phone_group[0].value.phone, preferred_name, social_profiles[0].url and .username, social_profiles[2].url, profile_url, account

Worth a look

  • unit is unchanged. customer.updated's changes.email was already user1@example.com.
  • channel.muted names: the id repeats inside name at user, mute.user and mute.channel.created_by, so those whole names became Example User.
  • Workable address fields left as they were: status looks like a geocoder status rather than a location, and street_name and street_number are empty. phone_group's row_id and phone_type are also kept.

Checks

  • All 44 changed files parse as JSON, and a comparison with main shows only the intended values differ.
  • A search of the changed files finds none of the old values. Values too short to search as text were compared field by field.
  • A search of the other sample files finds none of the old values, except one city name in 3 unrelated providers' samples, which was left alone.

Git history: not rewritten

The old values stay in public git history, as with #82. This PR doesn't change that.

🤖 Generated with Claude Code

Replace values that look like real people's details and tokens in 44
paysafe, pubnub, recruitee, sendbird, signnow, stigg, stream, stuart and
workable samples with obvious placeholders. JSON keys, order and
formatting are unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@vercel

vercel Bot commented Nov 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
webhook-samples Ready Ready Preview Nov 6, 2026 4:10pm UTC

Request Review

@garethx
garethx merged commit da046df into main Nov 6, 2026
3 checks passed
@garethx
garethx deleted the fix/scrub-hub-batch-2026-11-04 branch November 6, 2026 16:22

This branch was successfully deployed

1 active deployment
Preview — b1a6c526 Deployed Nov 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant