Piracy is generally a problem occurring near the coast of failed or poor states. Just as you wouldn’t want to build your beach home in a dangerous neighborhood, you wouldn’t want to park your cruise ship off their coasts either. Initial seasteads will be hosted in the territorial waters of secure nations who patrol their own waters. Private security firms that protect cargo ships passing through piracy waters right now can also protect seasteads in safe waters.
See our video Seasteading! What about Pirates?