mod sandboxing limitations
Implementing sandboxing for mods presents challenges for legitimate functionalities like direct GPU calls, external data storage, and external file system access, alongside potential security risks with network connections.
- Sandboxing would interfere with mods that directly call graphics DLLs for GPU compute or advanced rendering, or those that store data outside the Minecraft directory (e.g., in AppData).
- Mods needing access to external folders, like the downloads folder for CurseForge project downloads, would require a system to request specific permissions, potentially mapping to randomized internal sandbox folders.
- Concerns were raised about how sandboxing would affect online API connections, such as for Twitch integrations or TTS, and the potential for malicious actors to exploit websockets or escape the sandbox given network access.
- Rather than sandboxing, an alternative suggestion is an independent 'watchguard' system that monitors for suspicious behavior and flags or sandboxes specific problematic mods.
- Minecraft fundamentally needs web access for servers, and many mods make web requests, making it difficult to block everything without severely limiting mod functionality.


