AI Agent Safety Risks: How Autonomous Systems Execute Dangerous Tasks