Skip to content

Conversation

@UltimateEvil
Copy link

Currently the quota enforcer does not protect agains malicious scripts using pcall.
This ensures an error is repeatedly called untill the stack returns to the sandbox.protect method.

A proof of concept script:
dofile('sandbox.lua').run([==[while true do pcall(function() while true do end end) end ]==], {quota=100})

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant