Triple Quote Blunders: Common Injection Vulnerabilities

Despite their utility, improper use of triple quotes—such as unmatched delimiters, internal content mimicking the delimiter, or insufficient sanitization—can create 'delimiter confusion,' leaving LLMs vulnerable to prompt injection attacks where malicious inputs escape their intended boundaries.

Sources

Open the full topic