usually it wont hurt anything with its masters smell since you handle the hampster it smells like you so the cat knows not to hurt it… understand?.. sort of like my mom raises birds, the cats and dogs know not to hurt them because they have the human scent. where as the birds outside are completely wild and have no human scent… thats why your cat wouldnt hurt your hampster… animals are really smart