This reminds me of the British SOE putting explosives in rats to be placed in coal, thinking the rat would get thrown into boilers with the coal. The Germans intercepted the first shipment, and then wasted time and energy on inspecting basically everything.
If I was a soldier I think I would now want to inspect and dissasemble everything I was asked to use as far as I could while being confident I could get it back together.
I believe those boobytrapped pagers that Israel used against Hamas were so well designed that X-rays of them didn’t show anything unusual. I think the explosives & detonator were incorporated into the rechargeable battery. A visual inspection likely wouldn’t have caught it either.