BASI-LABS / parseltongue

Parseltongue is a powerful prompt hacking tool/browser extension for real-time tokenization visualization and seamless text conversion, supporting formats like binary, base64, leetspeak, special characters, and multiple languages. Perfect for red teamers, developers, linguists, and latent space explorers.
MIT License
393 stars 31 forks source link

#8 Fixed: Implement Input Validation #9

Closed LVivona closed 3 months ago

LVivona commented 3 months ago

This pull request addresses the implementation of a mechanism to read and validate keys being typed in the chat interfaces. The previous implementation was insufficient for handling various chat interfaces, including those from Anthropic's Claude, and Google's Gemini, which use different components than the OpenAI chat interface. The new mechanism ensures compatibility across all mentioned interfaces.