Washing vegetables that I accidentally threw moldy tomato sauce on safe?
Washing the vegetables properly after getting the moldy sauce on them, and cooking them properly after should be fine. Your body is pretty well equipped to fight off small traces of most molds, you will only get sick if you ingest a substantial amount of mold.