Pen tests show AI security flaws far more severe than legacy software bugs