Live data from Hacker News

Slightly safer vibecoding by adopting old hacker habits

addxorrol.blogspot.com

21–30 of 110 posts

Re: Slightly safer vibecoding by adopting old hacker habits

#21
post #16

Earlier quoted context omitted.

The part that worries me here is the diff. Does it happen in the host or in the guest? What code gets run when you run `yoloai diff`?

It actually runs git (with hooks disabled) to generate the diff. It happens on the host when using copy mode, and inside the sandbox when using overlay mode. The above example doesn't specify workdir mounting mode, so it would be copy, not overlay.

If it runs inside the sandbox and the guest is compromised, can't the guest just lie?

Re: Slightly safer vibecoding by adopting old hacker habits

#22
post #21

Earlier quoted context omitted.

It actually runs git (with hooks disabled) to generate the diff. It happens on the host when using copy mode, and inside the sandbox when using overlay mode. The above example doesn't specify workdir mounting mode, so it would be copy, not overlay.

If it runs inside the sandbox and the guest is compromised, can't the guest just lie?

Absolutely. That's why overlay is not the default.

Re: Slightly safer vibecoding by adopting old hacker habits

#24
post #21

Earlier quoted context omitted.

If it runs inside the sandbox and the guest is compromised, can't the guest just lie?

Absolutely. That's why overlay is not the default.

That's... uh, an interesting approach to security.

Re: Slightly safer vibecoding by adopting old hacker habits

#25
post #6

Earlier quoted context omitted.

I believe the author's idea is to do dev work from a Github account that only has access to the fork, but not to the main repo. Then, as a contributor, you'd open PRs from your fork to the main repo. I think this would only work if your Github account doesn't have write access to the main repo, though. I know you can use 'deployment keys' to give read-access to a single repo using an SSH key, but not sure if you can…

Oh, a separate GitHub account that has its own forks of the repos the agent is working on. Yeah, that's probably the most secure, isolated, and safest. The merge to the canonical repo then needs to go through a human, or at least separately controlled, process via a GitHub pull request.

[deleted]

Re: Slightly safer vibecoding by adopting old hacker habits

#28
I’m building a claw / vibe coding platform that’s business safe at https://housecat.com and am also finding all the old Unix tricks working as well as ever…

- user and home directory for data

- crontab for scheduled jobs

- cgi for serving user space apps

- rsync for backups

We even rediscovered email patches but with agent to agent help making and applying them.

It’s simpler for us to operate and the agent to figure out.

Re: Slightly safer vibecoding by adopting old hacker habits

#30
OrcaBot does this with the VM but whereas the author mentions the risk of GitHub keys being leaked, OrcaBot uses a key broker to ensure the LLM doesn’t have access to any keys. It even works on the API keys to the LLMs themselves. https://orcabot.com/blog#breaking-the-lethal-trifecta
Post reply on HN