We used to use a peanut paste compo on fuse threads for some of our Brit military ordnance, back in the old days, as a thread lock & for anti-corrosion. It set like hard brown rubber- if I remember it correctly we used to stir in a hardener liquid and use it quick. That was before 'Loctite' muscled in. I bet it would seal an electrical joint just fine.
As to mousetraps, chocolate is the best bait. You also get to woff the rest of the bar, which can't be bad!