AI agents are becoming increasingly capable of performing tasks without constant human instructions, but that autonomy is also creating a new security problem.