Navigating the perils of artificial intelligence