Maybe something like a red border or diagonal stripes for ships/stations that are actively hostile (will attack player and player ships?
Here are a few of images to show what I mean:
Standard Map: Factions ON
It is not easily possible to determine friend or foe, without individually selecting ships with the objects list
Spoiler
Show

It is not easily possible to determine faction without looking at names
Spoiler
Show

Faction and hostility is visible
Spoiler
Show

Faction and hostility is visible
Spoiler
Show
