frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: Do you trust AI agents with API keys / private keys?

5•devendra116•2h ago•5 comments

Ask HN: Anyone using Nostr as a lightweight back end/DB for rapid prototyping?

2•wasimsk•4h ago•0 comments

Ask HN: What should I do with my app? 130 downloads 3 real subscribers

2•oyaa52•4h ago•2 comments

Ask HN: Former grok-code-fast-1 users, what coding model are you using now?

2•whycombinetor•7h ago•2 comments

Ask HN: Any interesting niche hobbies?

478•e-topy•6d ago•726 comments

Is the pitch deck culture making founders worse at building businesses?

11•chinhqtran•22h ago•5 comments

Ask HN: Best books on building a programming language

15•ezzato•1d ago•7 comments

Ask HN: Hiring in the age of AI-assisted coding: what works?

26•nitramm•1d ago•15 comments

Ask HN: Agentic Permutation of Testing Paths In A System

4•davidajackson•13h ago•0 comments

Ask HN: What are you building that's not AI related?

142•meander_water•3d ago•191 comments

Tor Browser on Android leaks IP in desktop mode

13•shchess•18h ago•2 comments

Ask HN: Why Databases Instead of Filesystem?

12•uticus•1d ago•19 comments

Do founders' political views affect how you see a product?

4•rishikeshs•23h ago•3 comments

Ask HN: How do you handle marketing as a solo technical founder?

144•lazarkap•5d ago•106 comments

Any Open Source projects in need of documentation writer?

21•tree666•2d ago•13 comments

My AI workflow evolved from prompts to a near-autonomous workflow

4•hoangnnguyen•1d ago•8 comments

Ask HN: Has anyone reconsidered Antivirus software after recent security news?

4•pants2•12h ago•3 comments

I collected startup ideas. It changed how I think about ideas completely

9•vibecoder21•1d ago•11 comments

Is VC the new PMF strategy?

3•networkOne•1d ago•5 comments

Ask HN: Should AI credits be refunded on mistakes?

19•ed_elliott_asc•3d ago•19 comments

Zooming UIs in 2026: Prezi, impress.js, and why I built something different

101•tinchox6•5d ago•44 comments

Open Source card game cuttle.cards has its world championship Saturday at 1pm ET

4•aleph_one•1d ago•0 comments

Hybrid Attention

40•JohannaAlmeida•4d ago•9 comments

Ask HN: How do you manage your digital legacy for after you die?

15•orbanlevi•3d ago•15 comments

Ask HN: Are you encountering AI-related questions in the hiring market?

7•somthingwrong•2d ago•2 comments

Ask HN: Local-first meetings recorder and transcriber?

6•dandaka•2d ago•1 comments

Yuku – A fast, spec-compliant JavaScript parser written in Zig

6•arshadyaseen•2d ago•0 comments

You've reached the end!

Open in hackernews

Ask HN: Do you trust AI agents with API keys / private keys?

5•devendra116•2h ago
are you ok sharing secrets or api keys to you ai agent via .env?

or is there any other tool or mechanism that one use to safegaurd from potential exploit or leaks

Comments

10keane•2h ago
nope. too dangerous - i'm personally working for an agent project and i know from personal experience they do collect your session log - especially in china lol. one approach i use for my own agent is that to use keyring to store all secrets. agent will call a tool to request for it, and it will be something like <secret:gmail.password>. the substitution happens at tool execution time so the llm never sees or logs the actual value.
devendra116•1h ago
keyring is one of solution but even substituting values at excution does not gaurantee the security as agents can read the process itself.

im building a safe agent execution layer, A runtime where agents can act, but cannot access secrets. kinda sidecar that is callable by agent for using api keys, secrets, private keys, etc and plus one can add policy on how and what a agent can do.

does this seems good?

jvqv•1h ago
As a precaution I would probably never pass secrets directly to the agent at all. Something like a placeholder format where the actual substitution happens at execution time so the LLM never sees the real value. Keeps things cleaner if something ever goes wrong.
devendra116•1h ago
is there any tool that can do this ?
para_parolu•1h ago
I use mitmproxy outside of agent vm