access-list: Basic-auth passwords stored and returned in plaintext #17
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Access-list
AccessItem.Passwordis stored and compared in plaintext (item.Password == passwith an explicit demo comment). Admin APIGET /access-listsandGET /access-lists/{id}JSON-encode the full list including passwords.Admin JWT is required to read them, and bootstrap/admin default-password issues were already fixed — but anyone with a stolen admin token (or DB file) gets every proxy basic-auth secret in cleartext. Practical bar: hash like the admin password (bcrypt) and redact on read.
Fix direction
bcrypt.CompareHashAndPasswordin the proxy engine.Closed via #18 merge. develop+master @
084d661. No release tag (helix-proxy has no historical tags; major via Rex).