This is a Random Event. Occurs in:
There appear to be a number of small stations nearby. Before you have time to scan them, warnings go off. A Rebel teleporter was used in one of the stations. You've been boarded!
This event is called "NEBULA_REBEL_BOARDING" in the datafiles.