Better HN
topnewbestaskshowjobs
Log inSign up

xinbenlv

27 karma · joined Mar 10, 2012 (14y ago) · 79 submissions

[ my public key: https://keybase.io/xinbenlv; my proof: https://keybase.io/xinbenlv/sigs/g60PZyDaNSrkRlBRpF8ZSbpEZfmY1VWqDydq3SxAb-4 ]
Submissions

1.

Show HN: Propose and Dual-Control for DNS Changes(loom.com ↗)

2 points · by xinbenlv · 3mo ago · discuss

comment 3mo ago · link · parent

I have something embarrassing to share: my computer was compromised, and I don’t know whether my keys were leaked.

It was an old computer that I had stopped using and let my family use. Most of the sensitive things had already been cleared, but still, when they told me they had “mistakenly run some scripts, only to realize they might not be safe,” I was like... damn...

What followed that bad news was what you can imagine: rotating passwords and cleaning things up. Not knowing how bad it was, we decided to simply wipe and reinstall the entire machine.

But this incident was the last straw. I can’t stand it anymore. I consider myself very cautious and diligent in my security setup, and yet this caught me cold. Looking back, I have used 1Password and Infisical, not to mention cloud IAMs and the macOS Keychain.

But still, due to the need to run local agents and harnesses, and all the inconveniences and tradeoffs I summarized in the blog post, I decided to put some low-sensitivity credentials—API keys for LLMs and analytics, for example—in .env.local or other local files.

And God, Claude is stupid: it keeps printing credentials despite its own guardrails, my prompts, AGENTS.md, etc.

And what's worse, the OpenClaw uses MacOS Keychain which keeps asking for permission, making it extremely annoying and unuseful like the old Windows XP's "need administrator approval"

I am fed up. I decided to start building a secret broker/manager/proxy—whatever you call it. Basically, it’s meant to be a vault where my local agents can get secrets, and it should not be complicated. It should not require cloud storage or freemium nonsense, it should work reliably, and, most importantly, it should be auditable.

It should be auditable because I think agents should be able to tell the vault why they’re accessing it and what project scope they’re working within, and the vault should record that and give them the credentials.

That’s why I started building what I call “GuestSafe.” It’s not meant to be super safe, but it should do a few things really well:

- Local-first

- ffline-first

- Should enforce auditability

- Should have a scope and justification when agents request credentials

As I’m starting to build the thing, I’d like to share it with HN first and get some early feedback. You can check out the blog post I linked there.

(Disclosure: this post is hand typed with ChatGPT spell-check and grammar fix. The URL linked blog-post was written with more Codex help with my 50+ rounds of prompts)

3.

Ask HN: Has anyone tried a minimal AGENTS.md that grows with you repo?

1 points · by xinbenlv · 3mo ago · discuss

comment 4mo ago · link · parent

Thanks, that's helpful. Do you use gitleaks or other library to do pre-commit protection? @toomuchtodo

5.

Ask HN: Best practice to prevent credentials/secrets commit to Git repo

2 points · by xinbenlv · 4mo ago · 3 comments

comment 4mo ago · link · parent

And if you are interested in testing it please let me know

7.

Show HN: 3-line calendar for Apple Watch – free, open source, no sign-in(threelinecal.apps.zzn.im ↗)

2 points · by xinbenlv · 4mo ago · 1 comment

8.

Ask HN: Does OpenClaw need a re-architecture to be usable?

4 points · by xinbenlv · 9mo ago · 4 comments

9.

Ask HN: Too many skills, how do you pick?

1 points · by xinbenlv · 9mo ago · 2 comments

10.

Show HN: CancelShouldBeEasy – Generate and co-sign consumer complaint letters(cancelshouldbeeasy.com ↗)

1 points · by xinbenlv · 9mo ago · discuss

comment 10mo ago · link · parent

Thanks @pjjpo, exactly. My bad to confuse people, no we don't put real prod-prod credentials in .env. We use mechanisms to ensure separation of secrets. Thank you for saying that it's a simple yet effective implementation. If you try it and let us know your feedback.

comment 10mo ago · link · parent

That's a good idea too, thanks for the suggestion

comment 10mo ago · link · parent

Good points

comment 10mo ago · link · parent

I am interested, that said, there are many memory and context services. What makes this one different?

15.

Ask HN: Do you "micro-manage" your agents?

7 points · by xinbenlv · 10mo ago · 8 comments

comment 10mo ago · link · parent

It happened multiple times to me on Claude Code too, next time I caught it I will try to record its history and show it here

17.

Tell HN: Cursor agent force-pushed despite explicit "ask for permission" rules

7 points · by xinbenlv · 10mo ago · 9 comments

comment 10mo ago · link · parent

My question is not about on or off storage, is more about when you give agent access, it assume the environment agent runs is safe

comment 10mo ago · link · parent

What if you simply need to give them access. E.g if you want them to do code review you have to at least give them code repo read access. But you don't know if the environment where agent runs will be compromised

comment 10mo ago · link · parent

is the permission device+client based or role based?

comment 10mo ago · link · parent

Any prompt injection attack could by pass this by simply do a base64 or any encoding, I guess?

comment 10mo ago · link · parent

Xoogler here too, yes, we used Gmail and Google Workspace at Google.

You can search for an exact string if you use quotes. I think you can also filter out logos

123