Overview of Anamorpher
mainAnamorpher is a tool designed for crafting and visualizing image scaling attacks against multi-modal AI systems. It allows users to generate images that hide multi-modal prompt injections, which only become visible to the AI when the image is downscaled.
Key capabilities include:
- Generating payloads for specific downscaling algorithms (bicubic, bilinear, and nearest neighbor).
- Comparing payload effectiveness via a frontend interface that supports implementations from OpenCV, PyTorch, TensorFlow, and Pillow.
- Extending the tool with custom image downscaling implementations via a modular Python API.