AI Firewalls, like Cloudflare's AI Security for Apps, act as a real-time gateway, inspecting LLM traffic and assigning an 'LLM Injection score' (1-99, where 1 indicates high likelihood of attack) to detect prompt injection attempts and enforce dynamic security policies.