Live data from Hacker News

Show HN: Katakate – Dozens of VMs per node for safe code exec

github.com

31–40 of 58 posts

Re: Show HN: Katakate – Dozens of VMs per node for safe code exec

#31

    name: project-build
    image: alpine:latest
    namespace: default
    egress_whitelist:
      - "1.1.1.1/32"      # Cloudflare DNS
      - "8.8.8.8/32"      # Google DNS
This is basically a wide-open network policy as far as data exfiltration goes, right?

Malicious code just has to resolve .evil.com and Google/CF will forward that query to evil resolver.

Re: Show HN: Katakate – Dozens of VMs per node for safe code exec

#32

name: project-build image: alpine:latest namespace: default egress_whitelist: - "1.1.1.1/32" # Cloudflare DNS - "8.8.8.8/32" # Google DNS This is basically a wide-open network policy as far as data exfiltration goes, right? Malicious code just has to resolve .evil.com and Google/CF will forward that query to evil resolver.

That's a config example.

Yes, blocking DNS exfiltration requires DNS filtering at cluster level. This is what will be added with the Cilium integration which is top-3 on the roadmap (top of readme).

DNS resolution is required for basic Kubernetes functionality and hostname resolution within the cluster.

That's said explicitly in several places in the docs: "DNS to CoreDNS allowed"

One thing I could do is make it exposed in config, to allow the user to block all DNS resolutions until Cilium is integrated. LMK if desired!

Re: Show HN: Katakate – Dozens of VMs per node for safe code exec

#33
post #11
post #9

Earlier quoted context omitted.

There are some providers that offer KVM nested virtualization, I think Google Cloud, Digital Ocean ... any others?

True! GCP does. I haven't tested it yet. I didn't know D.O does. If anyone knows others, I'm interested too!

We (NanoVMs) can run (both unikernel and normal linux) virtualized workloads on plain old ec2 instances (eg: t2.small).

Re: Show HN: Katakate – Dozens of VMs per node for safe code exec

#37

I would really like to see a good local sandboxing solution in this space, something that is truly local-first. This is especially important since many coding models / agentic builders will eventually become lightweight enough to run them on-device instead of having to buy tokens and share user data with big LLM cloud providers.

What about this: https://github.com/apple/container

Re: Show HN: Katakate – Dozens of VMs per node for safe code exec

#38

I would really like to see a good local sandboxing solution in this space, something that is truly local-first. This is especially important since many coding models / agentic builders will eventually become lightweight enough to run them on-device instead of having to buy tokens and share user data with big LLM cloud providers.

https://rstrict.cloud/ is a CLI built in Rust on top of the Landlock API for the Linux kernel.

It lets you narrow the permission scope of an executable using simple command line wrappers.

Re: Show HN: Katakate – Dozens of VMs per node for safe code exec

#39
post #32

name: project-build image: alpine:latest namespace: default egress_whitelist: - "1.1.1.1/32" # Cloudflare DNS - "8.8.8.8/32" # Google DNS This is basically a wide-open network policy as far as data exfiltration goes, right? Malicious code just has to resolve .evil.com and Google/CF will forward that query to evil resolver.

That's a config example. Yes, blocking DNS exfiltration requires DNS filtering at cluster level. This is what will be added with the Cilium integration which is top-3 on the roadmap (top of readme). DNS resolution is required for basic Kubernetes functionality and hostname resolution within the cluster. That's said explicitly in several places in the docs: "DNS to CoreDNS allowed" One thing I could do is make it expo…

> One thing I could do is make it exposed in config, to allow the user to block all DNS resolutions until Cilium is integrated. LMK if desired!

Yes, but it's not great for it to be an optional config option. Trivially easy to use data exfiltration methods shouldn't be possible at all in a tool like this, let alone enabled by default.

I want to recommend ppl to try this out and not have to tell them about the 5 different options they need to configure in order for it to actually be safe. It ends up defeating the purpose of the tool in my opinion.

Some use cases will require mitmproxy whitelists as well, eg default deny pulling container image except matching the container whitelist.

Re: Show HN: Katakate – Dozens of VMs per node for safe code exec

#40
post #35

Is this basically an open-source DIY version of E2B? If so, cool! AFAICT E2B is open-source licensed but tricky to setup.

hey, I work at E2B, anything we can do to improve the setup for you?

I dig E2B, it's a great service and very cost effective. Thanks for all your hard work!
Post reply on HN