4 ms·
I think this should be safe: https://github.com/phoe/safe-read https://github.com/phoe/safe-read This doesn’t provide such functionality out of the box, but i
by fiddlerwoaroof 3y ago
I think this should be safe: https://github.com/phoe/safe-read https://github.com/phoe/safe-read
This doesn’t provide such functionality out of the box, but it makes it pretty trivial to produce a custom READ that only has the features you want: https://github.com/s-expressionists/Eclector https://github.com/s-expressionists/Eclector
It’s not exactly the right input format, and has a couple outstanding performance issues, but I wrote a parser for EDN which should be safe against code injection: https://github.com/fiddlerwoaroof/cl-edn https://github.com/fiddlerwoaroof/cl-edn
- schemescape 3y agoThanks! safe-read and this other one are what I’d seen before: https://github.com/mabragor/cl-secure-read https://github.com/mabragor/cl-secure-read I’ll look at them more closely.