I have very little knowledge on this but I tried to help out on this post Security Context Link
found this link from roblox.fandom that talks about security context and I think this might help out
This is more than incorrect, Studio runs with two identity systems: Permissions and Identity Level, neither of which have any discernible pattern.
There are 8 identity levels within Studio, each of which can be read through the deprecated function printidentity
Script Identify itself is an unsigned 8 bit integer that can have a value between 0 and 255, however only 1 through 8 have any set permissions.
Identities 1 and 8 are unused, however 8 may be the identity used by a secret internal tool that will not be named, you can find out what SECRET TOOL is with some clever googling
Identity 3 is scripts running under an approved Roblox game
Its also worth noting that CoreScripts run at identity 7 and executors run at identity 6, the same as Studio’s core plugins
To further secure Studio, each of these identities also run within their own enclosed Luau VMs