The test also showed that Claude is significantly better at finding security flaws than at writing code to exploit them.