cloudflare / cloudflare/quiche

mint_token lacks encryption/auth and is forgeable

Open
#2,334 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
11.8k
Forks
1.1k
Avg merge
21h 9m
Merged PRs (30d)
6

Description

Hi team,

I noticed that the current *mint_token* implementation is unencrypted and unauthenticated. This makes the tokens easily forgeable by attackers and exposes client IPs in plaintext.

Due to these security risks, this feature essentially cannot be enabled in real-world production environments (such as Cloudflare's own live websites).

Could you share your considerations regarding this design? Are there plans to provide a secure, production-ready implementation in the future?

Thanks!

Contributor guide

Open the contributing guide

Research direction

Start by reviewing the mint_token implementation and its token format, focusing on the lack of encryption and authentication and the plaintext client IP exposure described here. The issue does not identify files, tests, or a concrete protocol design; a maintainer decision on the secure production-ready requirements is needed before implementation can be considered done.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking, security
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.