Skip to content

gate: keep the user-agent policy under an unverified claim - #32

Merged
jaschadub merged 1 commit into
mainfrom
fix/gate-claim-policy
Nov 4, 2026
Merged

jaschadub merged 1 commit into
mainfrom
fix/gate-claim-policy

Conversation

@jaschadub

Copy link
Copy Markdown
Contributor

An unsigned or invalid Signature-Agent claim set the attribution to the claim and skipped the user-agent lookup, so with agent_actions.meta_muse: block and default_agent_action: allow, a muse-agent/1.0 request that added a bogus Signature-Agent header was allowed. The user-agent policy is now always evaluated for unverified requests and the stricter of the two policies applies. Only a cryptographically verified identity bypasses the user-agent check.

Regression test: unsigned_claim_cannot_lift_a_user_agent_block.

An unsigned or invalid Signature-Agent claim set the attribution to the
claim and skipped the user-agent lookup, so a request naming a blocked
agent in its user agent was decided by the claim's default policy. The
user-agent policy is now always evaluated for unverified requests and the
stricter of the two applies.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 4, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-04T19:57:23.987885Z 50c587d PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@jaschadub
jaschadub merged commit 10b5b60 into main Nov 4, 2026
1 check passed
@jaschadub
jaschadub deleted the fix/gate-claim-policy branch November 4, 2026 21:44
jaschadub added a commit that referenced this pull request Nov 4, 2026
gate: keep the user-agent policy under an unverified claim
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.

2 participants