The biggest threat a Golden poses is licking you to death.
With Labs, it’s getting beat up by their tail.
Any dog has the potential to be dangerous if they perceive a threat or are hurt. I worked with a trainer with my German Shepherd & he said any dog should always be leashed because someone walking towards her could trip & she could interpret it as an attack. With the leash, you have some control.
We have a yellow lab & he’s got a great disposition but I would never walk him without a leash. We have a neighbor who has two mastiff type dogs that go ape sh!t when any dog walks by their yard. I carry a .380 just in case.