A sealed script runner anyone can host
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- docker, typescript
Research direction
Start with the runner in packages/bim-script-runner and the hosted sandbox reference at apps/mutinybim-web/src/script-sandbox.ts; identify how the runner is bundled and which resource caps it already enforces. Then build the container and docs, and add a test showing a script cannot reach the network while the requested filesystem and resource limits hold.
Written by the indexing model from the issue text.
Description
From the roadmap ("Next").
The local runner in packages/bim-script-runner runs your own scripts in a fresh, capped process. To host other people's scripts safely, the same runner files need to run in a container with a deny-all network.
What to build
- A container image and its build that bakes in the runner bundle.
- A deny-all network, a read-only filesystem except a scratch folder, and the kit's existing memory, time and output caps.
- Docs for running it, and a test that a script can't reach the network.
The hosted app already seals scripts with bubblewrap on its own machine (apps/mutinybim-web/src/script-sandbox.ts). That is a good reference.
- Dominant language
- TypeScript
- Stars
- 85
- Forks
- 10
- Avg merge
- 1h 28m
- Merged PRs (30d)
- 20
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from permitzip/mutinybim
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
area: docs documentation
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
area: web-app bug
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
permitzip/mutinybim#27 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
permitzip/mutinybim#66 · 2 comments ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 48/100
permitzip/mutinybim#65 · 2 comments ·
Maintainers usually reply within 1 day
All issues in permitzip/mutinybim
Similar issues
-
🐛 The Rulekeeper - An index run that gives up on the lock ends SucceededPossibly taken @github-actions claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
SSWConsulting/SSW.Rules#2809 · 1 comment ·
Maintainers usually reply within 1 day
-
automated-triage type/bug type/ci
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
📦 expo-router Android contributor: external needs review sdk-58 severity: medium
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Translate the READMEOpendocumentation good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
asasemahmed/openboard#68 ·
Maintainers usually reply within 1 day
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 72/100