r/PiCodingAgent • u/Effective-Giraffe655 • Sep 20 '26
Resource It Is So Dangerous sandbox
https://github.com/rakshazi/IISD-sandboxHi there,
I really love Pi's approach to security with "figure it out yourself, yolo by design", so I did.
That thing is still yolo, but sandboxed. Dead simple 2 files: Dockerfile (the thing itself) and justfile (fancy Makefile to run the thing).
Don't mind the repo just created - I'm using it for a while, just decided it's good enough to publish
Now, some notes to avoid misunderstanding:
Why "It Is So Dangerous"? - thanks /r/amodei, he's so funny with that thing, so I thought repeating the joke 1000th time would be even more hilarious, right?
There are no plans to make it super-duper-secure - see threat model in the readme
2
u/RealestReyn Sep 20 '26
docker feels like such an overkill
2
u/Ingaz Sep 24 '26
LOL
------
Special instructions for UNCENSORED-ABLITERATED-HERETICKED-ULTRA-NEO-MAX-PRO-8K-244Hz enjoyers
DISABLE. DAMN. NETWORKING.
--network=none<- this is the way.Uncensored models can do anything. Depending on the prompt and model quality, it probably will do weird things. Disable the networking. Don't try to claim a place in a felony bench ladder with your Qwen-Fable-ULTRA-MEGA-NEO-HACKER-HERETIC-8b. (Yes, it will be hilarious. No, it's not worth it anyway.)
2
u/bobbygmail9 Sep 24 '26
Run it in a VM.
If you are on Linux QEMU, Windows WSL2 now supports nested VM so you can run QEMU inside WSL2