Okay, so this isn't entirely undetectable. But i turned this out for a 14 year old street-sammy and want to see if it checks out.
Ballistic flights are one of the hardest places to get a weapon. Jet Set describes security in and around such flights, Chemical sniffers, MAD sensors, Cyberware scans, and pat downs are all included. You even have to surrender your Com-link. Any implants considered too dangerous are either shut off by a hacker or you undergo voluntarily sedation. Only you, the cloths on your back, and a small personal effects bag may be taken on such flights. These flights have also proven to be one of the runners most vulnerable situations with at least one rather messy encounter defined in Jet Set. Here is how i propose to get a gun on such a flight... more for fun than anything else.
Take three ranks of restricted gear

...
Buy the PSK-3 collapsing heavy handgun...
Buy the PSK-3 silencer (same availability as the handgun)...
buy Ceramic/Plasteel Components 3...
Buy 10 rounds of Hi-c Plastic Ammunition...
Load eight into the PSK-3 magazine, shrug and throw the other two rounds into the air...
Place the magazine in a hermetically sealed box...
Throw some points into Disguise...
Walk through security...
Laugh when you open your complementary peanuts and find the other two rounds.
Chemical sniffers 4 roll 4, and need 2 hits to detect an explosive. Having only eight rounds on you means the sniffer doesn't get the extra die for having 10 rounds of ammo. The Hermetically sealed box puts the sniffer at a 1 die penalty as does being made from plastic. This means he needs 3 hits on 3 dice to detect the ammunition (about a 1 in 27 chance.) If you apply the disguise skill to the folded pistol I'm assuming you could pass it off as all kinds of things even if they did find it. You're more concerned with them finding the ammo than the weapon, and I'm still looking for some way to reduce those chances.
For those of you who do not know, the Jet Set encounter involves someone else attempting an assassination on board. The party is completely unaware of what's going on until he springs into action unless they make some good rolls.