Enrollment: front the unauthenticated create/join endpoints (compensating control for the dropped rate limiter)

Closed
#199 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
rust

Research direction

Read the enrollment create/join endpoint implementation and deployment configuration to identify how the unauthenticated endpoint is exposed; the issue does not name specific files or tests. Determine whether the gateway or a NetworkPolicy is the appropriate fronting control, and document that the service must not be exposed directly to the public internet. Done means source-level or connection limiting is explicit and the exposure guidance is documented.

Written by the indexing model from the issue text.

Description

triage/accepted

The unauthenticated create path runs a CSR signature verify before the invite is checked, so a caller with no valid invite still forces a per-request verify. The in-process rate limiter was deliberately removed: it was net-negative (zero guessing-defense against 256-bit tokens, and a global bucket that 429s every legitimate enrollee under a garbage-token flood).

Body size is capped and a P-256 verify is cheap, so the residual is modest. But the compensating control must be explicit rather than a note: front the enrollment endpoint with the gateway or a NetworkPolicy (connection and source-level limiting), and document that the service is not meant to be raw-internet-facing.

Non-blocking for tech preview.

Dominant language
Rust
Stars
10
Forks
24
Avg merge
1d 14h
Merged PRs (30d)
143

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from praxis-proxy/grid

All issues in praxis-proxy/grid

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.