Freighters are not allowed to be armed, according to international maritime law. That law exists to preclude an invasion force being launched under the guise of cargo. Therefore, one solution would be to have a military force of escort vessels, but that will significantly inflate the costs associated with shipping, and consumers of the goods being shipped are not inclined to choose goods shipped with military escort over that shipped without military escort, even though it would better protect the lives of the people who worked to bring the consumers what they consume.
