Navigating the Risks: A Survey of Security and Privacy Threats in LLM-Based Agents | Synapse