I think my mechanics idea would work, just cable tie a couple of baits that have the hole through them under your bonnet somewhere. It has the added bonus of seeing if it's been touched while you were away.
But having said that, I'd prefer not to attract them in the first place. Damned if you do and damned if you don't ?????