News for hackers. Stuff that matters.
Re:Show HN: DTL: a language and JavaScript lib to transform ... by cyanydeez on Thursday April 21, 2022 @10:05PM (#31117435)
Has this been tested for security?
Re:Show HN: DTL: a language and JavaScript lib to transform ... by jk0ne on Thursday April 21, 2022 @11:44PM (#31117946)
It has been used in applications that have been security tested.

The module itself doesn’t use the JavaScript parser at all and has no mechanism for making JavaScript calls from within the DTL expressions. This is by design and part of DTLs original requirements was to prevent arbitrary code execution, and great care has been taken to maintain that safety.

That said, it carries the same risk as using any publicly available js module, and you should definitely investigate yourself and not take my word for it.

Re:Show HN: DTL: a language and JavaScript lib to transform ... by cyanydeez on Monday April 25, 2022 @07:05PM (#31161990)
I think if you're aiming for adoption, a IDE environment would be necessary, otherwise the hurdle to learn a DSL is too high.