|
|
|
|
|
by rlonn
1568 days ago
|
|
I write a little about it in the blog post: https://supershields.io/blog/1 TL;DR is that most Lua engines seem to offer pretty weak support for sandboxing, unfortunately. Gopher-lua, that Supershields is using, makes it hard to adopt a whitelist-approach where you disable more or less everything and then enable just the functionality you want. Blacklisting (where you specify everything you want to disable) is fairly simple though, but not as secure of course. For Supershields I have used a combination of blacklisting and running the scripts on serverless instances (AWS Lambda), which limits the impact of a breach. |
|
[1] https://docs.aws.amazon.com/lambda/latest/dg/runtimes-contex...