Skip to content

Prevent wrong service validation from consuming agent passes#11

Open
jescalan wants to merge 1 commit intomainfrom
je.prevent-wrong-service-validation
Open

Prevent wrong service validation from consuming agent passes#11
jescalan wants to merge 1 commit intomainfrom
je.prevent-wrong-service-validation

Conversation

@jescalan
Copy link
Contributor

Fixes an Authority validation bug where a Service with a valid assertion but the wrong origin could burn another Service's AgentPass before the audience check ran. It adds a non-consuming AgentPass lookup plus audience-aware consumption in the storage layer, updates the validation flow to check service.origin before consume, and adds a regression test proving the wrong Service gets 403 while the intended Service can still validate the same pass afterward.

@jescalan jescalan requested a review from colinclerk March 18, 2026 21:23
@vercel
Copy link

vercel bot commented Mar 18, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agentpass Ready Ready Preview, Comment Mar 18, 2026 9:23pm

Request Review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant