The story
Initially a reference to weasels' practice of making small holes in eggs and then eating the contents, leaving the shell; later sometimes taken as a reference to the weasel's "wriggling, evasive character".
Etymology from Wiktionary, CC BY-SA 4.0.