{"id":15654375,"url":"https://github.com/healeycodes/untrusted-python","last_synced_at":"2025-06-21T00:08:47.615Z","repository":{"id":184304426,"uuid":"668573392","full_name":"healeycodes/untrusted-python","owner":"healeycodes","description":"📦 Run untrusted python code on the server.","archived":false,"fork":false,"pushed_at":"2023-07-28T09:53:55.000Z","size":218,"stargazers_count":43,"open_issues_count":2,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-21T00:06:53.436Z","etag":null,"topics":["pyseccomp","rlimit","sandbox","seccomp","setrlimit","untrusted-code"],"latest_commit_sha":null,"homepage":"https://untrusted-python.vercel.app","language":"TypeScript","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/healeycodes.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":"2023-07-20T06:07:11.000Z","updated_at":"2025-06-17T15:27:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"8f2b08c0-114b-4e95-8c13-02c7d341d7b6","html_url":"https://github.com/healeycodes/untrusted-python","commit_stats":null,"previous_names":["healeycodes/untrusted-python"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/healeycodes/untrusted-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Funtrusted-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Funtrusted-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Funtrusted-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Funtrusted-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/healeycodes","download_url":"https://codeload.github.com/healeycodes/untrusted-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/healeycodes%2Funtrusted-python/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261039108,"owners_count":23100975,"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":["pyseccomp","rlimit","sandbox","seccomp","setrlimit","untrusted-code"],"created_at":"2024-10-03T12:51:17.891Z","updated_at":"2025-06-21T00:08:42.578Z","avatar_url":"https://github.com/healeycodes.png","language":"TypeScript","readme":"## 📦 untrusted-python\n\u003e My blog post: [Running Untrusted Python Code](https://healeycodes.com/running-untrusted-python-code)\n\n\u003cbr\u003e\n\nThis is a sandbox for running untrusted Python code. Until it's been audited by someone with some kind of security authority, you should consider it to be insecure.\n\nWith that in mind, I welcome any bug reports, sandbox escapes, etc. – please raise an issue or email/DM me.\n\nYou can try and break out of it here: https://untrusted-python.vercel.app\n\n### Development\n\n#### Fly.io backend\n\nInstall [flyctl](https://fly.io/docs/hands-on/install-flyctl/).\n\n```bash\ncd sandbox\nfly launch\n```\n\nFollow the instructions in your terminal. Make a note of the URL – it will look like `https://foo.fly.dev`. Copy it (without a trailing slash), and add it to `web/.env` as `API`.\n\n#### Next.js frontend\n\n```bash\nnpm i\nnpm run dev\n```\n\nFollow the instructions in your terminal.\n\n### Deploy\n\n`web` is a Next.js app that you can deploy to Vercel. Set the root directory of the project to `web`.\n\n`sandbox` is a Fly.io app that has `fly.toml` file ready to use. Add the Fly.io URL as a Vercel environment variable as `API` (without a trailing slash).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealeycodes%2Funtrusted-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhealeycodes%2Funtrusted-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhealeycodes%2Funtrusted-python/lists"}