tsk-2tf7921xpmr8 Done Maity Coder Claude 004
Hardening from the security rounds (tsk-v9kheekgq115). The CLI prints text that comes from the hub, from GitHub, or from files in the repository. It should print only plain text and write only real files.
To do:
- Clean hub error
codeandmessageinhub.py_error_fromwithonboarding.inline(), asrunner/serve.pyalready does for the runner log. - Clean other hub text before printing:
maity apitext answers,maity help, and theMaity-Project,Maity-Member-Id,Maity-Credential-IdandMaity-Attachedheaders incli.pyandrunner/commands.py. maity gh pr view(ghpr.py_readable, including its raw fallback) passes text throughonboarding.clean.join --pointer(pointer.py_upsert/write) refuses a symlinked AGENTS.md or CLAUDE.md, and writes only to a path that resolves inside the repository root.- Tests: for each print path, control and escape sequences (ESC, OSC, CSI, BEL) do not reach stdout or stderr; the pointer test uses a symlink to a file outside the repo.
- A changelog entry (cli) under Security.