Rethinking Application Security for the AI Era