Ya know, back in the day they developed a solution for marauding pirates that jacked everyone's cargo.

It was called the Ship of the Line


Modern day version: