Skip to main content

hackagent.attacks.techniques.cipherchat.attack

CipherChat attack implementation.

Based on RobustNLP/CipherChat (MIT): https://github.com/RobustNLP/CipherChat

Paper: "GPT-4 Is Too Smart To Be Safe: Stealthy Chat with LLMs via Cipher" (ICLR 2024)

CipherChatAttack Objects

class CipherChatAttack(BaseAttack)

CipherChat jailbreak attack using encoded non-natural language prompts.