They are called meat spots or blood spots depending on location. They are ugly but safe to eat..
According to ..
https://www.incredibleegg.org/nutrition/articles/food-safety-disclaimer#:~:text=Blood or meat spots are,the wall of the oviduct.
"
Does a blood spot mean an egg is contaminated?
No. You can’t see bacteria with the naked eye. Blood or meat spots are occasionally found on an egg yolk or in the albumen and are merely an error on the part of the hen. They’re caused by the rupture of a blood vessel on the yolk surface when it’s being formed or by a similar accident in the wall of the oviduct. Most eggs with blood spots are detected by electronic sensors during washing and packaging and never reach the market. However, even with mass scanners, it’s impossible to catch them all. Both chemically and nutritionally, eggs with blood spots are fit to eat. You can remove the spot with the tip of a knife, if you wish."
An excellent article regarding different egg quality concerns.. including those you're facing now.. which yes, many of us have seen this!
https://www.backyardchickens.com/articles/common-egg-quality-problems.65923/
Since I was able to identify which hens were doing it.. they were eliminated from my flock as it kept me from being able to comfortably share my eggs with family, friends, and neighbors. They also do not hatch well.
I too however resorted to cracking in a bowl first and feeding any specked ones to the dogs, chickens, and other animals. They don't mind at all!

Being loaded with nutrients, I still limit them as treats since eggs are 34% protein but a whopping 64% fat.