From eede13003553a6ba6fbbfc076ecf656aaf4a0b67 Mon Sep 17 00:00:00 2001 From: Erica Marigold Date: Thu, 16 May 2024 11:17:12 +0530 Subject: [PATCH] fix(module): sandbox escape with getmetatable --- modules/sandbox.luau | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/sandbox.luau b/modules/sandbox.luau index 5fd354a..8b1541f 100644 --- a/modules/sandbox.luau +++ b/modules/sandbox.luau @@ -83,6 +83,7 @@ end local function constructProtectedMt(library: T) return { __index = library, + __metatable = "Locked", __tostring = function() return stdio.format(library) end,