How to Protect a Patient Booking Chatbot Like Doctolib From Hidden Prompt Injection
How to Protect a Patient Booking Chatbot Like Doctolib From Hidden Prompt Injection TL;DR: Prompt-based filters can be jailbroken. Post-generation moderation lets forbidden content leak before detection. reskSecure acts at the logits level, blocking or penalizing forbidden phrases before they are emitted, and forces EOS on a complete match. Here is how you would wire it into a patient booking chatbot for a service like Doctolib. Imagine you build the patient booking chatbot for a service like Do
🎯 Vulnerability: Remote Code Execution (RCE)
💡 Defense Fix: Avoid executing shell commands via system(). Use parameterized APIs and strict input sanitization.