Security & Vault

Your agents get the data. Your keys stay in the vault.

Zero plaintext keys in ~/.claude.json, .env, or LLM prompts.

Markdown for agents
Credential isolation boundary
01 · AGENT & LLM
Revocable token only

0 raw supplier keys on disk or in prompts.

02 · DUANG VAULT
Decrypt, check SSRF & sign

Injects key on outbound hop; redacts responses.

03 · SUPPLIER API
Data + exact USD receipt

Recorded in your append-only team ledger.

Zero-key injection boundary

Secrets decrypt only on the outbound server hop—never in LLM context, prompts, or laptops.

Per-team envelope encryption

Each team is isolated with envelope encryption; revoke agent tokens or OAuth grants in one click.

Zero silent billing fallback

Expired team accounts halt with a reconnect link—never silently switching providers or charging your wallet.

SSRF & private-IP blocking

Every outbound request blocks private networks and protects against DNS rebinding.

Append-only micro-USD ledger

Atomic reservations and immutable ledger entries with itemized supplier receipts; failed calls cost $0.

Source-available core

Audit every security check on GitHub or self-host the core engine on your own servers.

Security FAQ

Do AI models like Claude or GPT ever see my provider API keys?

No. Credentials stay encrypted in Duang’s server vault and are injected only when Duang makes the outbound HTTP call to the supplier. Agents hold scoped, revocable tokens.

How does Duang prevent surprise charges on team accounts?

Team connections never silently fall back to paid billing, wallets have no auto-recharge and reject calls above available balance, and upstream/platform failures cost $0.

Can we audit the credential handling code or self-host Duang?

Yes. The core engine is source-available at https://github.com/fastagent-sh/duang and can be self-hosted with your own PostgreSQL database and team credentials.

Audit the core or start free.

Zero analytics or session replay ever run on auth, vault, OAuth, or billing routes.