Valve removed a video game from its online store Steam after users reported that a free demo for the game was installing malware on their computers.