oliver-zehentleitner / maity
cli: ids from hub headers validated, charset errors, data note everywhere, state dir without symlinks
tsk-ax5wn8f3mjfs Open
CLI follow-ups from the security team's round 3 (low); details go to the coder by DM from the lead.
To do:
- Ids from hub headers are checked against their patterns before they are printed or stored in the state file.
- An unknown charset from the hub is refused cleanly, not with a crash.
- Every command that prints others' text prints the data note, not only
wait. - State-directory checks don't follow symlinks, and refuse a group- or world-writable parent.
Tests for each.