News for hackers. Stuff that matters.
Re:Data notation in Clojure by adrusi on Thursday July 01, 2021 @02:12PM (#27702394)
The clojure reader supports the #= prefix before a form, which will cause the reader to read the following form, pass it to eval, and use the result as if it were part of the passed in data.

    (def #=(symbol "foo") :bar)
Gets read as

    (def foo :bar)
Re:Data notation in Clojure by wtetzner on Thursday July 01, 2021 @02:15PM (#27702431)
Yeah, so someone could provide a malicious input like:

    (read-string "#=(launch-the-missiles)")