When you look at the ship menu, cargo is color coded. But when doing a transfer between ships it is not, so if you're purposely moving either suspicious, dangerous, illegal, or stolen goods, its all the same graytone.
I think this should be part of an update for QOL.