The Man Trap - S1-E2
Plot hole: The salt creature needs salt, but there is no need for the creature to kill anybody, just have them deliver a large shipment of salt the next time some ship come to visit the planet.
Suggested correction: As shown several times, the creature is acting on craving and impulse. It's able to not attack Dr. Crater because they have a mutual relationship, as well as he provides salt for her from their supplies. But their supplies are running low, as he even stated they did have 25 pounds of salt but displays a jar with barely any left in it. It is reasonable to assume that he has had to start rationing the supply of salt to her to keep her till they could get another shipment. They were not getting the salt right off after Kirk arrived, and so the creature could not resist the urge to suck salt it needed out of the crewman when they were together alone, reason and logic being clouded by its desire and feral cravings.