If,as the pilot alleges, the "weapon" had been in his bag for some considerable time, he could now co-operate with the authorities and give the entire list of airports that he had passed through without detection. The hundreds, if not thousands of security guards and their managers can then be charged with culpable negligence and whatever other breach of the regulations the police can come up with.
Needless to say, all of those people who may be implicated in this dereliction of duty must be immediately suspended until they can prove that they are not part of an international conspiracy to assist captains in hi-jacking their own aircraft and until they can face a federal court to explain their actions.
As to the supervisory and monitoring agencies who have allowed this slap-happy security situation to flourish over the months, they too must now suspend themselves and file charges under the relevant regulations.
...unless of course their original intention was just to impress the public rather than impose an effective security system.