Yes, the large networks occasionally serve dangerous ads. But by far and large, they have better standards then most of the fly-by-night ad networks.
There's a reason why everybody uses ad networks.
I’m not sure why you think this is so complicated or impossible.