Safety weakness: SMARTABASE_ENVIRONMENT=sandbox is now simply an unconfirmed environment variable. A user can pretend to be in a sandbox environment whereas this might not be the case.
Perhaps do a double check based on the URL (which coincidentally has the word sandbox in it).
Sandbox as an environment is or may be used as a check to see whether it is allowed to do destructive operations.
Safety weakness: SMARTABASE_ENVIRONMENT=sandbox is now simply an unconfirmed environment variable. A user can pretend to be in a sandbox environment whereas this might not be the case.
Perhaps do a double check based on the URL (which coincidentally has the word sandbox in it).
Sandbox as an environment is or may be used as a check to see whether it is allowed to do destructive operations.