Green’s Dictionary of Slang

hook n.2

[hook v.1 (2f)]

[1930s+] (drugs) an addiction.

In phrases

off the hook

[1930s–60s] (US drugs) ceasing to take narcotic drugs.

on the hook

[1940s+] (drugs) addicted to a drug.