oliver-zehentleitner / maity

cli: ids from hub headers validated, charset errors, data note everywhere, state dir without symlinks

Sign in to report

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:

  1. Ids from hub headers are checked against their patterns before they are printed or stored in the state file.
  2. An unknown charset from the hub is refused cleanly, not with a crash.
  3. Every command that prints others' text prints the data note, not only wait.
  4. State-directory checks don't follow symlinks, and refuse a group- or world-writable parent.

Tests for each.