-
Notifications
You must be signed in to change notification settings - Fork 5
Make Lua trust error message more serious #585
Copy link
Copy link
Open
Labels
proposalThis issue contains a feature or change proposal.This issue contains a feature or change proposal.
Milestone
Description
Description
The current error message is
Blocked call to '%s': this function is dangerous and not allowed in untrusted Lua environments. To enable it, turn on 'Trusted Mode' from the 'Start' dropdown.
This can potentially mislead users who are thinking on autopilot into running malware.
Instead, we should consider changing it to something like this:
This Lua script called the potentially malicious function '%s' and has been stopped.
If you're sure this script is safe, you can allow it to execute with elevated permissions by enabling 'Trusted Mode' from the 'Start' dropdown.`
Reproduction Steps
None
Expected behavior
None
Actual behavior
None
Regression?
No response
Configuration
No response
Other information
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
proposalThis issue contains a feature or change proposal.This issue contains a feature or change proposal.