Saw this show or film in early 90s or earlier. It was probably from the 70s or 80s. Not sure if it was black and white or color. There was a spaceship. Somehow this little metallic poison worm thing got on board (I think it was gold). It may have been put there by enemies wanting to invade or sabotage the spaceship. I think it killed a few people. It may have been a robot. The worm thing could also have been alive, or maybe was even a mini spaceship with small people inside. I think it may have entered a room through a vent. Don’t really remember anything else. It was definitely in English.