Green’s Dictionary of Slang

punk n.2

[? US punk, rotten wood or a fungus growing on it]

[mid-19C+] nonsense, rubbish.