News for hackers. Stuff that matters.
Re:Goodbye InnerHTML, Hello SetHTML: Stronger XSS Protection... by stvltvs on Tuesday February 24, 2026 @09:37AM (#47137703)
Honest question: Is there a way to get an LLM to stop emitting deprecated code?
Re:Goodbye InnerHTML, Hello SetHTML: Stronger XSS Protection... by fragmede on Tuesday February 24, 2026 @09:39AM (#47137740)
Theoretically, if you could train your own, and remove all references to the deprecated code in the training data, it wouldn't be able to emit deprecated code. Realistically that ability is out of reach at the hobbiest level so it will have to remain theoretical for at least a few more iterations of Moore's law.