@sinbad Rule one: Never log out of the game while in an asteroid field if you have cargo.
It's pretty much 100% chance when you log in that if you are in an asteroid field a pirate ship will spawn near you and scan your cargo.
I've logged in, found my control mappings messed up and almost lost my Anaconda to a pirate before I rebound enough to either fight back or run away.