frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Ask HN: How do you keep secrets out of your AI agents' context?

2•timbowhite•10h ago

Comments

tensward•10h ago
In most harness it's already built in not to print the secrets, you can use also services like AWS secretes or 1password that allow using temporary access
provablesecurit•9h ago
Personally I've built a service that runs the harness inside a microVM where I inject the secret value via a separate service so the harness only ever sees an arbitrary value. My goal is to separate the network request from the harness logic so we can keep it secure.

In general I find that anything you put in the harness is likely to be owned, compromised or at risk. I just don't think the security primitives are widely there for these tools no matter what we're told. Agents will find a way to do something if they're given access in the harness and to the LLM.

waximabbax•8h ago
I'd seperate "the agent never receives the secret" from the "agent can use the secret".

What I find particularly useful is secrets never leave the local machine of the user and are never saved. The safest thing of course is agent can never see and or use the secret but then running tests and experiments could be hard.

How do you keep up quality when you vibe-code?

17•nkcodes•4h ago•17 comments

Ask HN: What are you working on? (November 2026)

290•david927•2d ago•1029 comments

ChatGPT Desktop forwards your SSH agent to remote machines

214•DenGorbachev•1d ago•77 comments

Ask HN: How do you manage your AI agents' context across clients and projects?

97•Michel_Aventin•3d ago•56 comments

Ask HN: Do you still enjoy coding in C++?

57•hasley•1d ago•83 comments

Ask HN: Is misaligned AI less dangerous than AI controlled by a bad actor

2•InfiniteRand•7h ago•4 comments

Ask HN: How do you evaluate the skills your AI agents use?

20•enesalatas•1d ago•6 comments

Tell HN: Another GitHub Major Outage

16•sergiotapia•1d ago•5 comments

Tell HN: Notion AI chat sessions have been exposed via Fireworks AI hack

15•RamblingCTO•17h ago•1 comments

Ask HN: Anyone else notice Fable 5.2 making grammar errors?

4•linearza•12h ago•2 comments

Ask HN: How did you convince family and friends to join your XMPP/Matrix server?

100•mtlynch•3d ago•96 comments

CoderPad Reports a Security Breach

6•werrett•19h ago•1 comments

Ask HN: What in the world is taking Ubuntu so long?

219•linsomniac•4d ago•143 comments

uBlock Origin Can't Block Facebook Ads

12•anidsiam•1d ago•5 comments

Tell HN: A flood of reports of Opus 5.5 being nerfed

28•b--l•1d ago•15 comments

Ask HN: Are companies making money by using AI?

4•vanh4lt•19h ago•11 comments

Ask HN: What should a stranger know first about your unfinished project?

5•toddy_flogsit•1d ago•6 comments

Ask HN: Is Google Site Search Broken?

2•CM30•1d ago•2 comments

Ask HN: How do you keep secrets out of your AI agents' context?

2•timbowhite•10h ago•3 comments

Tell HN: Some of My Recent Ideas

2•onaclov2000•1d ago•2 comments

Ask HN: Remote island can only have 1 PC, 1 book, 1 programming language

3•kbrannigan•1d ago•9 comments

Fable 5.2 Available in Claude Desktop

3•calgaryeng•1d ago•0 comments

Ask HN: Share your best blog/videos on learning about LLMs in depth

3•mrburton•1d ago•2 comments

Ask HN: Do you have daily voice conversations with AI?

3•rtp4me•1d ago•9 comments

P2P inference using WebGPU libp2p and IPFS

3•gnarbarian•1d ago•1 comments

Ask HN: How your SEO traffic doing? Up or down?

4•bigmuzzy•1d ago•0 comments

Claude usage credits purchased after Dec 7 will expire 12 months after purchase

18•bbg2401•3d ago•10 comments

Ask HN: Will Humans Become Useless?

4•misano•1d ago•16 comments

Those who have lost their job to AI what was your job?

2•dev_grex•1d ago•8 comments

Ask HN: What are your advice for a CS/IT student for the future?

6•L0in•2d ago•20 comments