Green’s Dictionary of Slang

hacker n.5

[hack n.3 (4)]

(US prison) a prison guard.

[US]Bentley & Corbett Prison Sl. 96: Hacker [...] A prison guard.