server: fix procscan stat parsing and prevent shell tail-exec in screen detection test (#86)

* server: extract comm between parens in read_stat

* server: prevent shell tail-exec in screen detection procscan test

* server: assert read_stat comm matches /proc/<pid>/comm

---------

Co-authored-by: Simone <185146821+Lucenx9@users.noreply.github.com>
ae2f744853Simone committed on 10/10/2026, 9:32:29 PM· committed by GitHubparent30a546b
2 files changedLine totals unavailable