upvote
I work on a FOSS identity-based sandbox platform on Kubernetes, Cordium (see https://github.com/octelium/cordium ). It eliminates use of credentials/secrets (e.g. API keys, SSH keys/passwords, mTLS privat keys, etc.) by assigning an identity to each sandbox to provide zero-trust secretless remote access to resources via identity-aware proxies and L7-aware policy as code (namely CEL and OPA). It's simply a sandbox platform + a ZTNA/remote access VPN in one solution.
reply
This looks a lot more advanced than any similar platforms I've seen (e.g. ACA Sandboxes), but I think it's still a level lower than what I would have the capacity to maintain.

I think I would still have to build a management UI for scoped GitLab access and some way to stage outputs (as very few services I know have safe/undoable write APIs). And then I don't think I can have users use the cordium UI directly because they shouldn't have control over the HTTP allow/deny list, nor be able to control images, etc.

I'm tempted to try Octelium for my personal setups, although I'm sure it's overkill, would be interesting to play with zero-trust.

reply
Currently both Cordium and Octelium have an AI assistant in the web portals, running inside Cordium sandboxes. You don't really have to actually know Octelium CEL or OPA and write ABAC rules by hand. You can actually tell the agent something like "Create a policy that allows read-only access to /api/v4/projects prefix paths for Gitlab and only during weekdays from 9 to 5 according to Paris time" and most LLMs including not so-frontier LLMs are now smart enough to write the CEL rules correctly. See some examples in the "AI assistant" tab in the demo website https://demo.octelium.com/console as well as in https://demo.octelium.com/cordium

You can also tell it to access any Octelium Service (e.g. API, database) and act on your behalf. It's simply running inside its own Cordium sandbox and can just do anything as long as your Octelium policies allow it to do so. And you can also tell the Cordium agent something like: "run an archlinux Workspace/sandbox, clone github.com/org/repo and run the tests and show me a report". Also note that you don't really need a complicated multi-node k8s cluster to use Octelium and/or Cordium, you can install both on a single VM/VPS via the quick installation guide script on top of k3s that can run on any single machine.

reply
there is a project that is a sandbox for agents that uses eBPF and is policy based

https://github.com/nolabs-ai/nono

but not sure how high level you can limit )

reply
I've seen nono, but it really seems a level (or two!) too low. As far as I can tell it's a library I could use to build the system we would use. I'm looking for that system :) Azure Container Application Sandbox is also a "library" we can use, and that at least has some UI.
reply
Nono isn't (just) a library, they ship a binary and built-in profiles. To run `pi` in a nono sandbox, just exec:

`nono run --profile nolabs-ai/pi -- pi`

If you're looking for a hosted solution, like Azure offers, then Nono will not help but it will enhance hosted sandbox solutions by giving you more control and observability

(Not affiliated, just a user)

reply
[dead]
reply