Green’s Dictionary of Slang

mole n.1

1. the penis [the animal and the penis ‘burrow in’].

[UK]Peeping Tom (London) 40 160/2: And the wanton little mousey / Goes — where I will not say. / The cat no more it fears, / For it burrows like a mole.
[UK]Farmer & Henley Sl. and Its Analogues.

2. (Aus.) in pl., moleskin trousers.

[Aus]Sydney Sportsman (Surry Hills, NSW) 23 Jan. 1/3: When a clean crimean shirt and white moles were full dress.
[Aus]Sun. Times (Perth) 26 June 4/8: They wunst they’d ’essian patches on / their moles an’ dungarees.

3. (US prison) someone who tunnels into a bank to rob it.

[US]D. Clemmer Prison Community (1940) 334/1: mole, n. A bank robber who tunnels under the vault.

4. (US prison) someone who escapes by digging their way out of prison.

[US]Bentley & Corbett Prison Sl. 108: Mole An inmate who escapes by digging his way out of the prison.

In compounds