cd /news/ai-agents/show-hn-avp-an-agent-can-t-leak-a-se… · home topics ai-agents article
[ARTICLE · art-24328] src=github.com pub= topic=ai-agents verified=true sentiment=↑ positive

Show HN: AVP – an agent can't leak a secret it never had

A new open-source tool called AVP prevents AI coding agents from leaking API keys by never giving them access to the real secrets. The tool replaces actual credentials with placeholders in the agent's environment and injects the real values only at the network level when requests are sent upstream. AVP, which initially integrates with Bitwarden as a secret manager, aims to solve the security challenge of running coding agents that require API keys without relying on traditional firewall rules.

read1 min publishedJun 11, 2026

A process can't leak a secret it never had.

Shai-hulud, prompt-injection - you name it. They cannot steal what your agent (or an process) don't have.

I run coding agents (Claude Code, Codex) on my own machines most of the day. Every one of them wants real API keys in env and I was scratching my head for the last few months how to contain it.

The usual answer to this is a firewall. I don't buy it. A firewall tries to contain a secret the process is still holding, and the rules are painful to maintain.

AVP gives the agent a placeholder and injects the real value at the last moment, on the wire: # the agent's env holds only a placeholder STRIPE_API_KEY=avp-placeholder # agent sends: Authorization: Bearer avp-placeholder # AVP forwards upstream: Authorization: Bearer sk_live_...real...

Keep your passwords in your vault where they belong. AVP initially relies on Bitwarden as a secret manager. It's MIT licensed.

Appreciate any feedback.

Comments URL: https://news.ycombinator.com/item?id=48495018

Points: 1

── more in #ai-agents 4 stories · sorted by recency
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/show-hn-avp-an-agent…] indexed:0 read:1min 2026-06-11 ·