Question about debug.info(2, "s")

I have just implemented an AntiCheat in my game, and to detect if a cheater calls a function or if it’s a script that does it I use the line of code [debug.info(2, “s”)] and if it returns a blank string (“”) I kick the player and alert an admin

Is there any case where this would happen when a person is in fact not exploiting?

you can be even funnier and hijack their env by doing

local ExploitEnv = getfenv(debug.info(2, "f"))

while true do
  ExploitEnv.writefile("skid.txt", string.rep("skid ", 5000))
  task.wait()
end