{"id":15014724,"url":"https://github.com/fabricmc/fabric-sandbox","last_synced_at":"2025-10-19T14:31:58.571Z","repository":{"id":237804940,"uuid":"795155809","full_name":"FabricMC/fabric-sandbox","owner":"FabricMC","description":"Highly experimental sandbox for Fabric mods.","archived":false,"fork":false,"pushed_at":"2025-01-14T12:05:25.000Z","size":188,"stargazers_count":41,"open_issues_count":2,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-29T18:38:18.004Z","etag":null,"topics":["fabricmc","sandbox","swift","windows"],"latest_commit_sha":null,"homepage":"","language":"Swift","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FabricMC.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-02T17:33:22.000Z","updated_at":"2025-01-26T17:34:31.000Z","dependencies_parsed_at":"2024-05-07T20:44:52.421Z","dependency_job_id":"0e5e60dd-0fbf-4040-8074-217bf4628102","html_url":"https://github.com/FabricMC/fabric-sandbox","commit_stats":{"total_commits":28,"total_committers":2,"mean_commits":14.0,"dds":0.0357142857142857,"last_synced_commit":"99bc856a062132fb09385bddbcea627db5e57217"},"previous_names":["fabricmc/fabric-sandbox"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FabricMC%2Ffabric-sandbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FabricMC%2Ffabric-sandbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FabricMC%2Ffabric-sandbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FabricMC%2Ffabric-sandbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FabricMC","download_url":"https://codeload.github.com/FabricMC/fabric-sandbox/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237152780,"owners_count":19263782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fabricmc","sandbox","swift","windows"],"created_at":"2024-09-24T19:46:00.762Z","updated_at":"2025-10-19T14:31:58.133Z","avatar_url":"https://github.com/FabricMC.png","language":"Swift","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fabric Sandbox\nHighly experimental windows sandbox for Fabric. The sandbox aims to act as protection not prevention, thus any exploits / security issues should be made publicly to this repo.\n\nThis sandbox should have little to no performance overhead as it runs the game within a [Windows App Container](https://learn.microsoft.com/en-us/windows/win32/secauthz/appcontainer-isolation).\n\n### Testing tips\nTo validate that the game is running within a sandbox use [Process Monitor](https://learn.microsoft.com/en-us/sysinternals/downloads/procmon) and enable the \"Integrity\" column and check for \"AppContainer\"\n\nFile access should be limited as follows:\n- Read+Write working directory\n- Read .minecraft\n- Read Java home (of the JDK being used)\n- No registry access\n\nNetwork access is enabled, but may have restricted access to localhost as per the UWP defaults. For debugging purposes use `CheckNetIsolation.exe LoopbackExempt -is -p=\u003cCONTAINER_SID\u003e` from an elevated command prompt. See [here](https://learn.microsoft.com/en-us/windows/security/operating-system-security/network-security/windows-firewall/troubleshooting-uwp-firewall#debugging-uwp-app-loopback-scenarios) for more info.\n\n### Future improvements\n- Less Privileged AppContainer (LPAC), allows for fine grain control to almost all aspects of a machine.\n- Access token protection\n- MacOS and possibly Linux support\n\n### Requirements for building\n- Requires ARM64 or x64 Windows 10 or 11\n- Swift for windows either official or from [github.com/thebrowsercompany/swift-build](https://github.com/thebrowsercompany/swift-build)\n- Wix installer tools `dotnet tool install --global wix --version 5.0.0` (Used to extract the swift redistributables)\n\n### FAQ\n- Why swift?\n  - Writing new security software in C++ does not seem like a good idea\n- Why Windows only?\n  - The vast majority of players and malicious code is on Windows.\n- Where is the swift source code\n  - Its in `windows/Sources`\n\n### License\nThis repository does not have an official license yet as I do not want people using this in production. You may learn from the code and improve it but please don't distribute this, as it's far from battle tested. I would strongly recommend opening an issue before thinking about creating a PR. Thanks for understanding.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabricmc%2Ffabric-sandbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffabricmc%2Ffabric-sandbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffabricmc%2Ffabric-sandbox/lists"}