Repository navigation
fix: replace personal data and tokens in sample payloads - #84
Merged
Merged
Conversation
Replace names, emails, addresses, account numbers, tokens and token-bearing URLs in 104 sample payloads across 17 providers with placeholders. Only values change: keys, key order and JSON formatting are untouched, and the diff replaces lines one for one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replaces what look like real people's details and tokens in 104 sample payloads across 17 providers published to samples.hookdeck.com. Only the values change: every JSON key and its order is the same, the diff is 206 lines replaced one for one, and the JSON formatting is untouched.
yarn compilesucceeds andyarn testpasses 26 of 26.No real values appear in this PR text or the commit message.
What was replaced
user1@example.com,user2@example.com(whichever wasn't already used for another person in the same file)Jane Doe,Jane,Example User,example_user,Example Company,EXAMPLE COMPANY, INC.1 Example Street,2 Example Street(where a file has two),Suite 100,Example City,XXcodes, zeroed postcodes1990-01-01example-tokenin place of the token, andexample.comfor a third-party request-bin hostexampleTokenand zerosFiles and fields
git.repo.created,git.repo.forked,tfvc.checkin,release-created,deployment-started,deployment-approval-completed: everydisplayName(author,checkedInBy,createdBy,modifiedBy,owner,approver,initiatedBy) and the same names insidemessageanddetailedMessagetext,htmlandmarkdownwhatsapp.received:data.from.display_name,data.from.usernamesignerDetail.signerNamein the threeIdentityVerification*events,senderDetail.nameinIdentityVerificationFailed, andsenderDetail.emailAddressinIdentityVerificationFailed,SignerSaved,SendFailed,TemplateSendFailedandTemplateCreateFailedbank_account.created:plaid_public_token.federal_ein_verification.created:federal_ein.workplace.created:address.line1,city,state,postal_codeapplications:ContactFirstName,ContactLastName,MailingAddress*,Locations[0]street/city/state/zip,AdditionalInsureds[0]street/city/state/zip andFullAddressDOCUMENT_CREATED,SENT,COMPLETED,CANCELLED: recipienttokeninrecipients[]andRecipient[]. Each distinct token got its own placeholder, so matching tokens still matchDASHER_DROPPED_OFF:pickup_address,dropoff_address,tracking_urlLOAD_CREATION:EncryptedAccessToken,EncryptedUrl3.0.0/enrollment.complete:body.urlactor.name,project.users[].nameand the same name inmessage;actor.email,project.owner.email,project.users[].emailanddeploy.local_usernamewhere they carried that person's address. Coverscommented,assigned,deployed,down,up,check_in_missing,check_in_reporting,volume_spike,rate_exceeded, plusresolvedandunresolved, which repeat the same addressapp_trust.application_{creation,update,deletion}_{started,completed,failed}: the username insourceassessment.order-received:job.location.street_1user.email, the same address in every filelien.{found,terminated,continued,lapsed}:debtors[0].name,debtors[0].addresses[0].full_address,file_number.run.interrupted: the address inartifacts[0].titleandsummaryname,merchantName,beneficiaryName,remitterName,remitter.dob,remitterAccountNumber,virtualAccountNumberv2/booking.scheduled:data.owner.first_name,data.owner.email,booking_calendar.name,booking_calendar.subject,booking_calendar.url5:user_name,actor_user_nameWorth a look
CARD_EXPIRY_CARD,CARD_UNBLOCK_PINand fourREMIT_TRANSACTION_*events only hold stock placeholder names and already-masked card and account numbers. Stock placeholder names in the other nium files were kept too, as were bank names, routing codes, masked numbers and nium's own reference ids.Sender/Signernames.203.0.113.xrange.REMOTE_ADDRinrate_exceededis a private10.xaddress and was kept. The fault message incommentedandassignedcontains a third-party spam handle as part of the captured error text; it was left as it is.jpd_originnames a JFrog event instance rather than a person and was kept.Checks
mainshows the same keys, key order, array lengths and value types, with only the intended values different, and each file's diff has as many removed lines as added.yarn compilesucceeds andyarn testpasses 26 of 26.Git history: not rewritten
The old values stay in public git history, as with #82 and #83. This PR doesn't change that.
🤖 Generated with Claude Code