How can I prevent the new indexing bug from creating useless pages on Google?

Another crawl and more collections/all SPAM URLs appearing around +/- April 30th. (sample links attached)

Spammy links are now also appearing in the “Duplicate without user-selected canonical” category in GSC