Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[no squash] Refactor & enable Lua sandbox in main menu #15380

Merged
merged 2 commits into from
Nov 13, 2024

Conversation

sfan5
Copy link
Collaborator

@sfan5 sfan5 commented Nov 3, 2024

Note: while this can be bypassed due to mainmenu ultimately being a trusted context I still think it's reasonable defense-in-depth.

Separate commit review recommended.

How to test

do the following across Android, Linux, Windows and for RUN_IN_PLACE=1 or 0 builds:

  1. check general mainmenu function
  2. check world creation, joining, editing, etc.
  3. check server list
  4. check functionality of content tab

@sfan5 sfan5 added Maintenance Tasks to keep the codebase and related parts in order, including architectural improvements Feature ✨ PRs that add or enhance a feature @ Mainmenu Security Client/server, mod, network, authentication etc. labels Nov 3, 2024
@swagtoy
Copy link
Contributor

swagtoy commented Nov 3, 2024

Thank you for this! :) Will this help me with #14785 ?

@sfan5
Copy link
Collaborator Author

sfan5 commented Nov 3, 2024

It won't.

@sfan5 sfan5 marked this pull request as ready for review November 4, 2024 16:37
@sfan5 sfan5 changed the title [no squash] Enable Lua sandbox in main menu [no squash] Refactor & Enable Lua sandbox in main menu Nov 4, 2024
@sfan5 sfan5 changed the title [no squash] Refactor & Enable Lua sandbox in main menu [no squash] Refactor & enable Lua sandbox in main menu Nov 4, 2024
@sfan5 sfan5 added this to the 5.11.0 milestone Nov 4, 2024
@sfan5 sfan5 merged commit ea4ae55 into luanti-org:master Nov 13, 2024
34 checks passed
@sfan5 sfan5 deleted the mm_modsec branch November 13, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature ✨ PRs that add or enhance a feature @ Mainmenu Maintenance Tasks to keep the codebase and related parts in order, including architectural improvements One approval ✅ ◻️ Security Client/server, mod, network, authentication etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants