
image scaling attacks for multi-modal prompt injection
Anamorpher (named after anamorphosis) is a tool for crafting and visualizing image scaling attacks against multi-modal AI systems. It provides a frontend interface and Python API for generating images that only reveal multi-modal prompt injections when downscaled. Refer to "Weaponizing image scaling against production AI systems" for more information on this attack vector.
Anamorpher is in active beta development. We welcome feedback and contributions!
![]() | ![]() |
| Frontend Demo | Gemini CLI Attack Demo |
uv sync
uv run python backend/app.py
frontend/index.html in a web browserWindows: Use WSL2 due to TensorFlow dependencies.