Green’s Dictionary of Slang

shit-eating grin n.

also cat-eating-shit grin, crud-eating grin, shit-eating smile, shit-eater grin
[shit-eating adj.]

[1950s+] (orig. US) a smug, self-satisfied smile.