Synthetic routes to drug products typically introduce several potentially mutagenic impurities (PMIs) which require controlling to a safe level in the final drug substance, generally directed by the control options within the ICH M7 guideline. These impurities are most commonly introduced due to their specific synthetic utility; however, the formation of a PMI can also occur indirectly from a combination of otherwise non-mutagenic sources, as was the case for NDMA within valsartan. Identifying these formation risks currently relies on manually assessing the synthetic route, a process requiring extensive knowledge and potentially liable to oversight. Herein, we report on the development of functionality within an in silico risk assessment tool to facilitate the identification of synthetic stages which introduce the risk of formation of PMIs for industrial and/or regulatory users.