Secret path detection is name-based only #210

Open
opened 2026-11-21 12:36:52 +00:00 by johannes · 0 comments
Owner

Location: crates/hx-core/src/permit.rs, secret path patterns
What is hacky: only name/dir patterns, no content inspection.
Proper fix: add content sniffing (key headers, token shapes) for unnamed secrets.
Original comment: "ponytail: name/dir patterns only; add content sniffing if needed."

Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).

Location: crates/hx-core/src/permit.rs, secret path patterns What is hacky: only name/dir patterns, no content inspection. Proper fix: add content sniffing (key headers, token shapes) for unnamed secrets. Original comment: "ponytail: name/dir patterns only; add content sniffing if needed." Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
johannes added the core label 2026-11-21 12:36:52 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#210