Does it have to be a coastal cavern?
A typical pirate cavern system for Sci-Fi would be an asteroid hideaway.