Skip to content

Require least privilege external consent - #279

Merged
ariobarin merged 1 commit into
mainfrom
agent/require-least-privilege-consent
Jul 24, 2026
Merged

Require least privilege external consent#279
ariobarin merged 1 commit into
mainfrom
agent/require-least-privilege-consent

Conversation

@ariobarin

Copy link
Copy Markdown
Owner

External tenant changes should not request broader consent than the effective route requires. This adds a Codex standing rule and binds it in policy validation.

@ariobarin ariobarin left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Current-head review at afd6298fab209983931c5ab2444f4bbe8f1c8245: no blocking findings. The least-privilege consent rules are specific, positively actionable, and mechanically bound in policy-contracts.json. portable checks run 1055 completed successfully, with no existing review comments or unresolved threads. Ready for merge under the user's explicit authority.

@ariobarin
ariobarin marked this pull request as ready for review July 24, 2026 14:44
@ariobarin
ariobarin merged commit 3efce61 into main Jul 24, 2026
5 checks passed
@ariobarin
ariobarin deleted the agent/require-least-privilege-consent branch July 24, 2026 14:44

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: afd6298fab

ℹ️ 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".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

"Prefer a locally authenticated CLI over a connector when both cover the task.",
"Keep redundant connector plugins disabled or uninstalled so they do not distract tool selection."
"Keep redundant connector plugins disabled or uninstalled so they do not distract tool selection.",
"Before requesting consent or changing a live external tenant, explain the effective authorization grant and why it is needed.",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Pin the route confirmation in the policy contract

This adds only the first sentence of the new consent bullet to codex-cli-first-external-tools, so validate-policy-contracts still passes if the Confirm that approval applies to that exact route requirement is removed from codex/AGENTS.md. Because this contract is the source-side guard for the new live-tenant consent behavior, include that sentence in required or make External Tool Routing exact so future drift is caught.

AGENTS.md reference: AGENTS.md:L51-L52

Useful? React with 👍 / 👎.

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