because.....
They have it in a shielded cargo bay that hide the illegalness.
They have a special licence to carry illegal cargo.
The components were originally "Universal Inoculant" that got changed to "Bio-Strength Enhancer" by the energy that damaged the freighter.