Raw eggs may harbor Salmonella bacteria and cause illness. To safely use "raw" eggs, they need to be pasteurized first. The USDA does NOT give advice for pasteurizing eggs at home! They advise buying pasteurized eggs. But try to find those!
Easy to make fresh mayo and not have to worry about how long that opened jar has been in the frig. From seriouseats.com, comes together quickly - once pasteurized eggs are ready (do note that USDA has not recommended the popular sous vide pasteurization method that's readily found out on the Internet).