News for hackers. Stuff that matters.
Re:Design Guidelines for Domain Specific Languages by Too on Thursday November 09, 2023 @11:43AM (#38207320)
One more from me

- Any expression that may likely include a user-generated variable should have a strategy for how to inject it safely. To avoid sql injection class of attacks. Native templating is the best. If string templating is the only way out, the rules for escaping should be clearly defined and ideally functions for doing so provided by the reference implementation.

Not like the geniuses at Atlassian who came up with JQL that refuse to document how it works, instead delegates all security to the user model and “don’t run queries with any data that you didn’t provide yourself”.

There are no comments on this comment yet.