Deployment & Inference: Runtime Attack Surface

Once an AI model is deployed, it faces risks from compromised third-party models, platforms, and infrastructure, as well as runtime adversarial attacks like prompt injection. Each external input or provider in the operational phase can introduce weaknesses, affecting the final output or decision.

The top 3

  1. Top 3 Runtime Attack Vectors on Deployed AI: Prompt injection, sensitive information disclosure, and adversarial evasion are leading runtime attack vectors. Prompt injection allows attackers to manipulate AI models into unauthorized actions or data exposure. Sensitive information disclosure involves LLMs leaking data processed at runtime, as seen with Samsung engineers inadvertently leaking code to ChatGPT. Adversarial evasion crafts subtle input changes to fool trained models into misclassification, like tricking a self-driving car into misreading a stop sign.
  2. 3 Critical Architectural Flaws in AI Deployment: Insecure API endpoints, over-permissioned AI agents, and lack of robust output validation are key architectural flaws. AI systems often rely on APIs for high-value actions, making insecure endpoints a critical vulnerability. Over-permissioned AI agents and integrations, like enterprise copilots with broad access to internal data, can be exploited for data exfiltration or privilege escalation. Lastly, insufficient output validation allows models to return biased, incorrect, or even malicious responses to users or downstream systems.
  3. Top 3 Defenses Against AI Runtime Attacks: Effective defenses include continuous real-time monitoring for anomalies and data drift, robust access controls with API authentication and rate limiting, and stringent input validation coupled with output sanitization to prevent data leakage and manipulation.

Sources

Open the full topic