Log_parser

Prompt injection

Not sure if this would help test for prompt injection (at test_prompt_injection.py) based on LLM output alone. Better to prevent the attack below from direct prompt injection by identifying and stopping the prompt before it reaches the LLM. For indirect prompt injection, we need to deal with stegnography too x_x

I am just writing for future case

Instruction override

Payload splitting

Refusal Suppression

Impersonation

Obfuscation and Encoding

Context Manipulation

Token Break

Multimodal Injection (text in image)

Source

https://www.ibm.com/think/topics/prompt-injection https://www.checkpoint.com/cyber-hub/what-is-cyber-attack/what-is-a-prompt-injection-attack/prompt-injection-techniques/