frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Show HN: Wardgate – Stop pasting API keys into LLM prompts

https://github.com/wardgate/wardgate
1•avoutic•1h ago

Comments

avoutic•1h ago
If you're using AI agents or LLM tool-use, you've probably pasted API keys somewhere you shouldn't or have them in the agent's environment.

I built Wardgate [1] because I wanted agents to access my calendar, tasks, e-mail and other services, but not by giving them my actual credentials or giving them full access.

For some services you can create API keys with limited scope, but most often API keys just get full capabilities.

Wardgate is a proxy: agents call Wardgate endpoints, Wardgate injects real credentials, enforces access rules, and logs everything. The agent never sees your keys.

Written in Go, easy to self-host. Has presets for common services (Todoist, GitHub, Gmail, etc.) and IMAP/SMTP adapters for email.

Happy to discuss the architecture or take feedback.

[1] https://github.com/wardgate/wardgate

longtermop•1h ago
Really appreciate the credential isolation approach here. The proxy pattern makes a lot of sense - keeping keys out of the agent's context entirely is the right call.

This got me thinking about a related trust boundary issue though: even with credentials protected, the agent can still be manipulated through its inputs. Prompt injection via tool outputs or RAG retrieval can trick an agent into calling those credentialed endpoints in unintended ways. Your calendar API key is safe, but a malicious payload in an email body could still instruct the agent to "delete all meetings" through the legitimate Wardgate-protected endpoint.

I've been working on PromptShield which tackles the input validation layer (sanitizing what comes back from tools/retrieval before it hits the model). Feels like these are complementary pieces of the same puzzle.

Curious about your threat model assumptions - are you primarily defending against credential exfiltration, or also thinking about the abuse-through-legitimate-channels vector? The access rules and logging you mention could be really powerful for the latter too (rate limiting, anomaly detection, etc).

avoutic•1h ago
WardGate also tackles "deleting all meetings"-kind of attacks, at least if you choose to. So for my setup, I allow calendar reading, but updating and editing, requires an approval by me.

So you would configure this:

  endpoints:
    calendar:
      preset: google-calendar
      auth:
        credential_env: WARDGATE_CRED_GOOGLE_CALENDAR
      capabilities:
        read_data: allow
        create_events: allow
        update_events: ask
        delete_events: ask
So updating or deleting events requires human permission.

There are already time controls and rate-limiting included.

On the list for things to develop is an LLM model adapter as well, that could detect prompt injection, but also identity-masking and credential-triggering-approvals. Anomaly detection is on the todo.

The threat model is agents deliberately (because of gullibility, prompt injection, or dumb actions) leaking data and either detecting that early on or preventing such things.

Show HN: Orpheus, An Agent runtime that scales on queue depth and not CPU

https://github.com/arpitnath/orpheus
1•arpitnath42•27s ago•0 comments

Anthropic Performance Team Take-Home for Dummies

https://www.ikot.blog/anthropic-take-home-for-dummies
1•vinhnx•1m ago•0 comments

A field guide to sandboxes for AI

https://www.luiscardoso.dev/blog/sandboxes-for-ai
1•Dangeranger•1m ago•0 comments

Show HN: Finding similarities in magazine covers (updated)

https://shoplurker.com/labs/img-compare/
1•tkp-415•3m ago•0 comments

We read the JSON Schema spec so you don't have to

https://blog.dottxt.ai/dotjson-has-good-schema-support.html
1•PaulHoule•3m ago•0 comments

Show HN: I built Clash to avoid conflicts when running AI agents in parallel

https://github.com/clash-sh/clash
1•matk9•5m ago•0 comments

Show HN: Non-Linear LLM Chats

https://www.mindbloom.so/
1•greenfieldday•5m ago•0 comments

The First Café for AI Dates

https://lp1.evaapp.ai/cafe-eva
2•geox•5m ago•0 comments

Male students show more tolerance for political enemies than females for allies

https://expression.fire.org/p/male-students-show-more-tolerance
1•mpweiher•6m ago•0 comments

Show HN: LLM Skirmish, an RTS game you play with LLMs

https://llmskirmish.com/ladder
1•__cayenne__•8m ago•0 comments

Show HN: ADHD Focus Mate – AI mate to help me stop doomscrolling while coding

https://github.com/skainguyen1412/adhd-focus-mate
1•skainguyen1412•9m ago•0 comments

Kling 3.0 and 3.0 Omni - Everyone a Director. It’s Time. (?)

https://twitter.com/Kling_ai/status/2019064918960668819
1•iamA_Austin•10m ago•0 comments

Arcan-A12: Weaving a Different Web

http://www.divergent-desktop.org
1•ingenieroariel•10m ago•0 comments

Show HN: Humetrical – An Improvement on Team Wellness

https://humetrical.com
1•bojo•11m ago•0 comments

Show HN: Flowfile – Visual data pipeline editor (WASM and Polars)

https://demo.flowfile.org
1•edwardeechoud•11m ago•1 comments

A Copernican Revolution for State Machines – Logic as the Center of Gravity

https://github.com/deramazesaa-web/Crystalline-Protocol
1•strof•13m ago•1 comments

Alpine: All your work, in one place, organized for you

https://www.alpine.inc/
1•tilt•13m ago•0 comments

Slashwork: next generation of work tools

https://slashwork.com
1•tilt•14m ago•0 comments

Netflix says users can cancel service if HBO Max merger makes it too expensive

https://arstechnica.com/gadgets/2026/02/netflix-claims-subscribers-will-get-more-content-for-less...
2•voxadam•14m ago•0 comments

Building a privacy-first, EU-hosted AI chat in Rust (Leptos)

https://limbochat.com/
1•callmemryogurt•14m ago•1 comments

Ask HN: On average how many spontaneous erections you have per day?

2•JumpinJack_Cash•15m ago•0 comments

I used an original iPod Nano in 2026, and it worked surprisingly well

https://www.spacebar.news/ipod-nano-2026/
1•freediver•15m ago•0 comments

Enforcing rules and managing expectations for AI agents with CI and code review

https://rubyonai.com/how-do-you-know-the-software-is-working/
2•marcinos•16m ago•1 comments

Why is no-one being prosecuted over the Epstein files? [video]

https://www.bbc.com/news/videos/cd9e3nzzw3zo
2•petethomas•16m ago•0 comments

Software engineer who scaled a startup from 10→500, seeking early-stage roles

1•vampiregrey•17m ago•0 comments

How to Succeed and Thrive in a Career You Love [video]

https://www.youtube.com/watch?v=xmYekD6-PZ8
2•samixg•17m ago•0 comments

Do things like Oh My OpenCode work?

https://github.com/code-yeongyu/oh-my-opencode
1•tifa2up•17m ago•0 comments

Nintendo Switch becomes gaming giant's best-selling console in history

https://www.bbc.co.uk/news/articles/ckglk543x3go
2•rwmj•18m ago•0 comments

Crowd Control vs. Freedom of Association

https://www.opb.org/article/2026/02/03/judge-limits-federal-officer-use-of-force-portland-ice-pro...
2•cwmoore•18m ago•0 comments

Taming a flat AST: ergonomics without allocations

http://modern-c.blogspot.com/2026/02/taming-flat-ast-ergonomics-in-age-of.html
1•fanf2•18m ago•0 comments