If you include a fight, make the enemy hard to see and hit. And almost impossible to kill.
Because there's nothing scary about evil ghosts or crazy droids when you can down them with two hits.
Let NPCs die in a fountain of blood when PCs aren't looking and when they turn to face whatever just ripped Jimmy to shreds, everything's quiet and noone's there.
If you include an astromech like RLogue suggested, maybe have the ships log say they sold precisely that droid at their last stop, so why the heck is he back on board?