Wouldn’t it be safe to continue using possibly contaminated onions in cooked dishes? Just wash your hands after cutting them, and don’t use the knife/cutting board for any other raw ingredients after cutting the onions and you should be fine. Fall is soup/chili/stew season, no reason to throw out onions that can be…