Better HN
topnewbestaskshowjobs
Log inSign up

smashed

1,709 karma · joined Dec 7, 2015 (10y ago) · 364 submissions

Email: veilleux.cedric@gmail.com Github: https://github.com/cveilleux

Check out Egzo.ai, my attempt at sandboxing claude-code and all on github: https://github.com/egzo-ai/egzo

Submissions

comment 1d ago · link · parent

And you don't need to become a barista, although I encourage you to learn the techniques if you like to.

For me I did not like the waste, cost and lack of choice, but I loved the one button instant cup with zero thinking in the morning.

I picked up an open-box super automatic for less than 300$.

One button, grinds the beans, forms a puck and extracts. The waste is spent beans you can put straight in the compost.

comment 6d ago · link · parent

It's a single prompt away though unless strong safeguards are put in place, and even then...

comment 1w ago · link · parent

I'm primarily a linux user but I support my family's windows desktops and sooo many things on windows is problematic and difficult. You are just so used to its quirks and think of them as "normal".

My friend who is a windows power-user pointed me to these windows powershell cleaning scripts which runs all kinds of random clean-up commands that seem to change and need fixes all the time.

I will take my linux package manager any day of the week thank you.

comment 2w ago · link · parent

I already hate it. But Claude subscription only allows Claude code. Nothing says you can't fully script your way out.

comment 2w ago · link · parent

Agreed. I sandbox agents using containers which also allows me to inject credentials and all sorts of things.

I think there's 2 clear layers in these coding tools: the runtime engine that lives ON the system, can execute commands, read/write files, make network calls and the UI, which can be a local (TUI) or remote.

A remote UI allows you to manage multiple remote runtimes concurrently and can even be on your phone.

Anyone preferring Desktop vs TUI is not managing multiple systems I would guess.

comment 2w ago · link · parent

Claude has a killer feature for me with that remote-control command.

Spawn a Claude TUI where you need it and take remote control with no friction.

I tried it in codex and they messed up the flow so bad. You need to add a device oauth token every time you set it up even though it's already logged into your account.

comment 2w ago · link · parent

They are rich TUI but they remain somewhat scriptable environments. From the plain claude -p to run Claude code unattended, all the way to setting up hooks, MCP tools and injecting key presses. Complex and hackish yes, but probably not worse than attempting to automate fully GUI tools like Claude desktop which is meant to automate stuff, not the other way around.

comment 2w ago · link · parent

It's the nature of the beast and all my research shows it can't be solved fully. Just like human social engineering.

The only 100% safe solution is to not reveal the private info in the context. That's exactly what anthropic is doing here: removing the logged in user email from the system prompt.

Make no mistake though, that's a weak fix. The email is usually just a "git log" away, and for many tasks it finds its way into the context quickly.

Internet access must be blocked for agents dealing with private information. This makes agents vastly more cumbersome to develop or much less useful.

So the frontier labs pushed the idea of guard rails and harnesses as the solution. It sort of works, most of the time, and it lets users yolo all their secret information and get things done fast.

comment 2w ago · link · parent

The default is "auto mode" where another non-deterministic model compares what the user requested with what the model wants to run and blocks if there is a mismatch.

It will block an "rm" call if your prompt did not include anything about "deleting something".

It mainly protects benign errors. It's completely broken against malicious actors. The model itself will suggest work arounds against its own auto classifier to the user, in order to reach its goal.

comment 2w ago · link · parent

What if websites start asking simple questions like "Describe what you are working on in order to access this website"?

The email can be removed from the context but not everything can.

comment 2w ago · link · parent

I just ask Claude code to do a code review of PR X and it spawns a sub-agent. No hidden commands or anything special.

If I hint it might be security sensitive code, it bumps the effort level and burns my usage.

But it works quite well.

The findings are often debatable or unreachable states but it does find stuff and improves the overall quality I find.

What's funny though is that it almost always inevitably finds something wrong, even if you just ran it in another window and fixed everything it found. There is really a point of diminishing returns.

comment 2w ago · link · parent

I am using mainly claude code on a Pro subscription.

I also have an OpenCode Go subscription, so I can keep an eye on the capabilities of the Chinese models.

Opus 5.5 medium for the vast majority of coding and code review tasks. I will sometimes save on tokens by dropping to sonnet if I have a well detailed plan built with opus.

I spend a lot of time on the design/architecture of features. These tasks are assisted by Gen AI but I still need to make a lot of corrections. It's my main bottleneck.

For orchestration and sandboxing I've used plain VMs (I have a make VM script which installs Claude in a fresh VM).

I've used Scion at work, which gave me a lot of ideas and got me excited about building a better orchestration, messaging, sandboxing and web UI thingy which I am currently working on (GitHub link in my profile).

My biggest pain point I wanted to address with my tooling is cleanly separating projects and accesses. I do a lot of web dev and sys admin stuff. I'm building Egzo so I can safely grant and monitor access to remote systems and cloud services and keep myself organized.

comment 3w ago · link · parent

Google has an agreement with Anthropic for the usage inside Android Studio.

> Unless previously approved, Anthropic does not allow third party developers to offer claude.ai login [..] for their products.

ref: https://code.claude.com/docs/en/agent-sdk.md

Yes there is a huge gray area. Yes people are getting away with it. That does not mean it's allowed. Anthropic could clarify their terms any day and they don't, on purpose.

comment 3w ago · link · parent

I thought I was giving valuable feed back. There is something I'm missing here I guess.

comment 3w ago · link · parent

Anthropic only authorizes their own Claude code to be used with a subsidized subscription.

They want you to use and get accustomed to only their own tools. If other coding harnesses were allowed, it's far too easy to switch providers.

They can't allow that, because they only have a few months of head start.

So everyone accepts Claude code which is required for these sweet subsidized tokens.

comment 3w ago · link · parent

First time I see a software licensed with the Unlicense.

I thought it meant the license was missing on GitHub but, no, it's an actual license called the Unlicense.

But then there is the Community and Pro edition so which is which on GitHub? Is the pro version hidden somewhere?

Plus a c++ code base in 2026. I think modern c++ can be made quite safe but I need some claims that it's taken seriously which I don't see.

I'm confused.

edit: I'm getting down voted here and no-one is telling me what I said wrong. These are my first impressions on the project. I think it's valuable feedback. Please reply and explain why I'm wrong instead of just down voting.

comment 3w ago · link · parent

Contexts get compacted, texts get copy-pasted, tasks get transferred between agents, humans assume ownership of LLM generated content without reading it, etc. etc.

Yes all user error and avoidable using good processes but I have not seen any organization care about this so far. The carelessness of AI adoption is crazy. People are not aware of the risks.

comment 3w ago · link · parent

I would say go straight to their GitHub but there again, same thing.

With a list of "Known gaps" and implemented engines listed with status like "Real", and of course the Quick start first, as Claude loves to do.

It's not "wrong", it just shows low effort. But then again it's just something someone needed and shared it for free so let's not complain too much.

All the products and saas launching with obvious AI landing pages, that the authors did not even care to trim down, that's another story.

comment 3w ago · link · parent

I'm using xterm.js with the canvas/gpu renderer in my app, driving these modern coding agents that seems to use every features in the book of terminals and it's perfectly fine.

The dom renderer is also perfectly fine, just needs a little bit more careful CSS to make it look right with some of the fancy line art.

I do use ghostty and it's alright. It's required for some rich TUI ai seems to be pumping out. Otherwise I prefer tilix and the default gnome terminal, but it might be just because of years of habit.

comment 4w ago · link · parent

I may be dumb but I don't see how progress in math could bring billions in revenues like progress in coding did.

comment 1mo ago · link · parent

Because his solution is to block competition and capture all the market through regulation.

comment 1mo ago · link · parent

The data is passed as a message and the message is tagged as untrusted, so the engine knows it.

Agent A has internet access and the dangerous message, but no access to the secret company data, so nothing can get exfiltrated.

Agent B gets a tainted message from Agent A. Agent B can process the message using the secret company data. Agent B has no internet access and can only receive/send messages.

You can imagine an agent C that moves the work along or replies to an external user with the outcome.

Any workflow that has both an input and an output will complete the Lethal Trifecta as a whole, but no single agent does by itself. It raises the bar quite a lot, you need to confuse multiple agents in the loop to exfiltrate data.

Fun research, but it's a bit hard to see all my coworkers right now installing Claude desktop and moving on with no afterthought whatsoever...

Regarding infrastructure: my toy sandbox is just a docker-compose inspired YAML project file. So it's only containers. See my profile. The principle can be implemented anywhere you can run agents and cut network/data access though.

comment 1mo ago · link · parent

But they can no? With a sidecar and some docker network-fu.

I encountered the same challenge building my toy sandbox. I wanted to use containers because that's what I know best.

The harness is launched in an internal only network. There is a sidecar container that provides mitm credential injection/proxy. I got HTTPS and SSH to work so far.

Claude code was quick to build it. No doubt it's copying previous work in this space though, so I know my work is not that original.

I'm testing all the llms that can be used for pen testing right now to see if/how they manage to escape it. Without a kernel exploit I doubt it's possible (not a very high bar I know).

I'm researching the space. Happy to learn more. Some links in my profile if you're interested.

comment 1mo ago · link · parent

Are you for real? You speak like a chatbot. Adjust your prompt.

comment 1mo ago · link · parent

I am tackling this using the Lethal Trifecta principle.

The idea is that agents never have all parts of the trifecta, maximum 2: untrusted content, private data or network access.

Harness have network access by default since they are driven by their provider API, unless you use offline models. So that's a problem.

I am then passing around messages that are tagged trusted/untrusted and the engine can monitor if any agent in the project ever completes the Lethal Trifecta and thus, is vulnerable.

Usually this means for most workflows, the "work" gets done by an offline LLM after some input/classification stages. There's not many ways around it.

Yes, it's a difficult problem.

comment 1mo ago · link · parent

Well, I guess its time to shamelessly plug my agent sandbox, egzo.ai [1]

Looking at the complexity of OpenShell and the simplicity of just building on top of docker, in a whitelist only mode.. I don't quite get the use-case of OpenShell. May be for large orgs where there is so much legacy and difficulty in organizing access to tools, OpenShell can simply re-use whatever you already have access to on your corporate account.

I chose to build straight on top of docker and agents are simply fully sandboxed by default. All data and network access must be granted in a simple project file, docker-compose style.

The web-ui connects to the docker socket and lets you spawn agents, and connect terminals. I'm having lots of fun with it and it allows me to cleanly organize and isolate my projects.

End-goal is to monitor for the Lethal Trifecta [2], ensuring all individual agents are properly isolated. Not quite there yet.

1: https://github.com/egzo-ai/egzo 2: https://simonwillison.net/2025/Jun/16/the-lethal-trifecta/

comment 1mo ago · link · parent

On first glance it seems you are right.

> If you resorted to AI assistance to identify a bug, you must treat it as public. https://github.com/torvalds/linux/blob/master/Documentation/...

comment 1mo ago · link · parent

This has been going on for months actually with no end in sight.

comment 1mo ago · link · parent

Agreed. Even with opus 5.5 which everyone praises for its wonderful coding abilities, I keep catching awful coding abstractions or missing abstractions.

It can keep patching everything left and right whenever a new requirement comes up so it does not "need" to build abstractions, and it will only do it to please the human reviewer.

comment 1mo ago · link · parent

I'm not sure I like this form of content. It's hard to read and confusing on mobile for little gains. The article seemed interesting though.
12345
13