News for hackers. Stuff that matters.
Re:Launch HN: Alter (YC S25) – Access control for multi-user... by avikonduru on Wednesday October 21, 2026 @03:20AM (#50177172)
How do you handle permissions when the downstream service only offers a shared API key? For example, two sales reps can use the same CRM endpoint but should only access their own accounts. Does Alter check record ownership, or does the developer still need to supply that logic?
Re:Launch HN: Alter (YC S25) – Access control for multi-user... by simfinii on Wednesday October 21, 2026 @03:49AM (#50177372)
We allow end users to add API keys directly via the alter connect SDK. If the API key needs to be shared then developers can map it on their end using the grant ID abstraction that we provide. Feel free to go through the docs here: https://docs.alterauth.com/concepts/credentials/
Re:Launch HN: Alter (YC S25) – Access control for multi-user... by verdverm on Wednesday October 21, 2026 @01:51PM (#50184915)
> We allow end users to add API keys directly

This seems like a bad idea to me these days. Companies doing this make themselves a target and then get hacked like OpenCode. Customer accounts get drained or bills run up.

Run your own gateway behind a firewall / vpn. I personally use GoModel + Tailscale.

https://news.ycombinator.com/item?id=50133401 (OpenCode hacked story)

Re:Launch HN: Alter (YC S25) – Access control for multi-user... by kdodhia on Thursday October 22, 2026 @10:03PM (#50203675)
Yeah we've put most of our effort so far into security, this part especially. Keys are encrypted in a dedicated secrets vault and once saved nobody can read them back, not even the dev who set them up. In proxy mode the key never even reaches the agent, we inject it on our side and only into requests going to hosts that are allowlisted for that provider. Every use gets checked against policy and logged with who used it and on whose behalf

Every change we ship gets scanned for supply chain attacks and goes through static code scanners too. We've been pen tested by two separate firms and we're in the observation period for SOC 2 type 2, details are at trust.alterauth.com. We're also planning open sourcing the full platform soon so you'll be able to look at the code yourself.

Re:Launch HN: Alter (YC S25) – Access control for multi-user... by verdverm on Friday October 23, 2026 @04:14PM (#50214688)
> nobody can read them back

how are they sent to the upstream vendor?

it's bad practice to upload such important keys to new vendors, OpenCode has their certs and trust page too, they got their user keys hacked

Re:Launch HN: Alter (YC S25) – Access control for multi-user... by simfinii on Saturday October 24, 2026 @12:52AM (#50218441)
Hey! Great question. So here when we say nobody can read them back we mean no user/developer can read them back. During the time of the request the backend code retrieves the credential from the vault and auto injects it in the request path.

We will be open sourcing our codebase soon so you can examine the code yoursef!

Re:Launch HN: Alter (YC S25) – Access control for multi-user... by heyvaldemar on Thursday October 22, 2026 @04:46PM (#50200805)
Measured on an agent I run, before it knew whose request it was serving: 7 of 10 checks failed. Acting for an account manager, another manager's customer record came back in full. Acting for first-line support, who may not send email, it sent one. What fixed it was putting the ownership rule at the one door every call goes through, the tool server, not in the records service, which only ever sees the server's key. Every call carries two tokens, the agent's and the person's, both checked by the API server.

The agent may do only what both are granted, and a customer outside the person's own is answered exactly like one that does not exist, so nobody can enumerate by asking. The gap I still have: the model gateway behind it knows only the agent, so one person can spend the whole agent's token budget.