A new method developed at MIT could root out vulnerabilities and improve LLM safety and performance.