Skip to content

Rate limit pairing by deploy pubkey, not only by IP #271

Description

@blockchain-maxis

IP-based limiting does not stop an attacker who rotates addresses from probing which deploy accounts are already linked, or from grinding approvals against many candidate accounts.

Why it matters: the completion endpoint's error messages necessarily distinguish "already linked to another profile" from "not linked" (see the anti-hijack issue), which is an enumeration oracle if it can be called freely.

Acceptance: a per-deploy-pubkey limit applies in addition to the per-IP limit on cli:pair:complete; exceeding it fails closed; covered by a test.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions