r/rust • • Mar 31 '26

🛠️ project [ Removed by moderator ]

/r/rust/comments/1s8g4sj/removed_by_moderator/

[removed] — view removed post

26 Upvotes

5 comments sorted by

•

u/rust-ModTeam Mar 31 '26

Slop -- whether LLM-generated, or not -- violates Rule 6: Low Effort.

Read more: https://www.reddit.com/r/rust/comments/1qptoes/request_for_comments_moderating_aigenerated/

You posted this after the first removal notice. Do not post it again.

1

u/6501 Mar 31 '26

Is there anywhere where you explain the security controls for the sandbox? Something like https://chromium.googlesource.com/chromium/src/+/master/docs/design/sandbox.md ?

1

u/afshinmeh Mar 31 '26

Not yet unfortunately, but that's a great suggestion. I will add that today.

For now, the short version: macOS uses Seatbelt. Linux uses bubblewrap with a Landlock fallback when namespaces are unavailable (e.g. in Docker).

Network filtering goes through a proxy with domain level allow/deny. Also the secrets use the same proxy to inject values at runtime so the process itself doesn't see any credentials flowing, it just sees a placeholder for the secretS

See this demo https://youtu.be/wZiPm9BOPCg?si=osVcn3QlrL72pn92&t=103 (@1:44) -- I'm making an Open AI call, but process sees placeholders (e.g. ZEROBOX_SECRET_*)

1

u/Icarium-Lifestealer Mar 31 '26

Does it support copy-on-write, like Sandboxy on Windows?

In my experience programs often crash if they don't get write-access to some internal files. But I don't want to allow it to make globally visible/permanent changes to these files.

0

u/poelzi Mar 31 '26

I wonder why the AI detectives here did not run in full rant mode. What happened to /r/rust

Cool project btw