Green’s Dictionary of Slang

writ bug n.

also writ writer
[bug n.4 (2b)]

(US prison) a prison inmate who has made themselves into a self-taught lawyer, either to pursue their own case, combat prison corruption or help their fellow inmates.

[US]Goldin et al. DAUL 240/1: Writ-bug. (P) A convict who makes a practice of petitioning for writs of habeas corpus and other legal writs without sufficient cause.
[US]C. Shafer ‘Catheads [...] and Cho-Cho Sticks’ in Abernethy Bounty of Texas (1990) 217: writ writer, n. – anyone having knowledge of the law.
[US]Other Side of the Wall: Prisoner’s Dict. July 🌐 Writ-Writer: A jailhouse lawyer, or someone who writes a lot of law suits or prison grievance appeals.