Out of interest which small town do you live in? It's still not easy to find out where somebody lives through their car. If you had the registration and the make and colour of the car you might and it's a big might, walk past a house and spot that very car parked outside but it's a slim chance that's going to happen. A determined thug would just sit outside a station and follow somebody home if they really wanted to do harm.
Every job where you come into contact with the public you face that risk and threat. From a shop worker confronting a shoplifter to a doorman on a nightclub. They must get numerous threats every weekend from punters.
I lived in two very small places, Hollyhead in Anglesey and Dover in Kent and don't recollect any incidents of a police officer being attacked at home.