Pepper spray, whose purpose is to cause bodily harm, was included in the list of ingredients, so the described booby trap would, indeed, be a prohibited “intended to cause bodily harm” one. (Actually, not only do the general laws on booby traps come into play, but using pepper spray other than in immediate self-defense in California is a crime.)