Safari (and other browsers) is safe. The issue is terminal tools such as curl and git