Conversation
A stolen 30-day web JWT could otherwise be burst-replayed into many long-lived hkdp_ tokens that outlive the JWT. Cap POST /tokens per user using the existing string-keyed sliding-hour limiter (keyed by user ID), returning 429 with Retry-After. List/revoke stay unthrottled.
Split the loopback callback server out of browserLogin into waitForCallback so the state check, token delivery, and timeout can be tested without opening a browser. Adds tests covering correct/wrong-state, missing token, honored timeout, and distinct ports for concurrent logins (the port-0 bind cannot collide).
The account can't run Actions, so the CI checks block PRs and the tag-triggered release would fail the same way. Remove both workflows and document running goreleaser locally with free PATs instead.
Contributor
Deploying hookdrop-frontend with
|
| Latest commit: |
3398c40
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://cfecf86d.hookdrop-frontend.pages.dev |
| Branch Preview URL: | https://cli.hookdrop-frontend.pages.dev |
Contributor
Deploying hookdrop with
|
| Latest commit: |
3398c40
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://d9d5cbad.hookdrop.pages.dev |
| Branch Preview URL: | https://cli.hookdrop.pages.dev |
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.
Adds the hookdrop CLI (V1) and the backend/UI it needs.
Backend
Web UI
CLI (cli/, own pure-Go module)
Distribution
Verified end-to-end against a local backend (ownership 404s, token lifecycle, SSE streaming + forwarding, reconnect, revoke-mid-session).
Follow-ups deliberately deferred: entitlement enforcement (MaxRequestsPerMonth/MaxSecrets/HistoryDays/HasFiltering), replay-engine SSRF guard, and a verify-paystack entitlement bug found during review