We do not currently know of any antonyms for attractive nuisance.
The noun attractive nuisance is defined as:
In the legal area of torts, a hazardousobject or condition that is likely to attract children who are unable to appreciate the risk posed by the object or condition, and to whom the landowner can therefore be held liable for injuries.