I’m unsure how to automate this properly, maybe an LLM is the best starting point.
Ultimately, you need someone to verify releases and that probably means paying for it. I know Sonatype paid solutions utilise their own internal research to allow/block new releases.
Risk is ensuring enough security researchers are finding these and quarantining these before that default cooldown lapses.