hyperhive/hive-priv
Repository files (latest commit first)
Filename Latest commit message Latest commit date
atlas 720ac81235 fix(#2391): reject ".." in credential/snapshot names (path-traversal hardening)
Per mara's review: validate_credential_name allowed any [A-Za-z0-9_.-]
byte sequence, which permits a literal ".." substring. Not currently
exploitable (snapshot_path() embeds the label inside a single
format!()'d path component with no "/" in the allowed charset, so
there's no directory to traverse into), but it's a landmine for any
future caller that builds a path via PathBuf::from(name) directly
instead of the current string-embedding. Reject ".." outright in the
shared validator, plus a matching client-side check in hivectl for
fail-fast UX (hive-priv's copy is still the authoritative one).
2026-07-14 18:54:31 +02:00
..
src fix(#2391): reject ".." in credential/snapshot names (path-traversal hardening) 2026-07-14 18:54:31 +02:00
Cargo.toml hive-c0re: back agent state dirs with btrfs subvolumes 2026-06-19 13:46:39 +02:00