SPIN: Self-Supervised Prompt INjection