-
Notifications
You must be signed in to change notification settings - Fork 0
feat(codex): update managed defaults #2074
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| @@ -1,7 +1,14 @@ | ||||||||||
| suppress_unstable_features_warning = true | ||||||||||
| web_search = "cached" | ||||||||||
| model = "gpt-5.6-sol" | ||||||||||
| model_reasoning_effort = "xhigh" | ||||||||||
| enabled-reasoning-efforts = ["medium", "high"] | ||||||||||
| model_reasoning_effort = "high" | ||||||||||
| approval_policy = "never" | ||||||||||
| sandbox_mode = "danger-full-access" | ||||||||||
|
Comment on lines
+6
to
+7
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P1: All managed Codex sessions now run without approval prompts and with unrestricted host access, so a mistaken or prompt-injected command can alter or expose files without confirmation. A safer managed default would pair Prompt for AI agents
Suggested change
|
||||||||||
| personality = "pragmatic" | ||||||||||
| model_verbosity = "low" | ||||||||||
| model_reasoning_summary = "concise" | ||||||||||
| notify = ["turn-ended"] | ||||||||||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
On top of that, this is redundant with the existing hook path — Recommend deleting this line (and the mirrored one in
Suggested change
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: Turn-end notifications will not invoke a notification hook because Prompt for AI agents |
||||||||||
| oss_provider = "lmstudio" | ||||||||||
|
|
||||||||||
| [features] | ||||||||||
|
|
@@ -82,3 +89,15 @@ env_key = "OPENROUTER_API_KEY" | |||||||||
| model = "qwen3.5-0.8b-optiq" | ||||||||||
| model_provider = "lmstudio" | ||||||||||
| model_reasoning_effort = "minimal" | ||||||||||
|
|
||||||||||
| [desktop] | ||||||||||
| preventSleepWhileRunning = true | ||||||||||
| show-context-window-usage = true | ||||||||||
| notifications-turn-mode = "always" | ||||||||||
| composerEnterBehavior = "cmdIfMultiline" | ||||||||||
|
Comment on lines
+94
to
+97
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The keys within the |
||||||||||
|
|
||||||||||
| [plugins."computer-use@openai-bundled"] | ||||||||||
| enabled = true | ||||||||||
|
|
||||||||||
| [plugins."browser@openai-bundled"] | ||||||||||
| enabled = true | ||||||||||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,14 @@ | ||
| suppress_unstable_features_warning = true | ||
| web_search = "cached" | ||
| model = "__GPT__" | ||
| model_reasoning_effort = "xhigh" | ||
| enabled-reasoning-efforts = ["medium", "high"] | ||
| model_reasoning_effort = "high" | ||
| approval_policy = "never" | ||
| sandbox_mode = "danger-full-access" | ||
|
Comment on lines
+6
to
+7
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Setting |
||
| personality = "pragmatic" | ||
| model_verbosity = "low" | ||
| model_reasoning_summary = "concise" | ||
| notify = ["turn-ended"] | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. P2: Turn-completion notifications will not run because Prompt for AI agents |
||
| oss_provider = "lmstudio" | ||
|
|
||
| [features] | ||
|
|
@@ -82,3 +89,15 @@ env_key = "OPENROUTER_API_KEY" | |
| model = "__QWEN_LOCAL__" | ||
| model_provider = "lmstudio" | ||
| model_reasoning_effort = "minimal" | ||
|
|
||
| [desktop] | ||
| preventSleepWhileRunning = true | ||
| show-context-window-usage = true | ||
| notifications-turn-mode = "always" | ||
| composerEnterBehavior = "cmdIfMultiline" | ||
|
Comment on lines
+94
to
+97
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The keys within the |
||
|
|
||
| [plugins."computer-use@openai-bundled"] | ||
| enabled = true | ||
|
|
||
| [plugins."browser@openai-bundled"] | ||
| enabled = true | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting
approval_policy = "never"in conjunction withsandbox_mode = "danger-full-access"presents a severe security risk. This configuration allows the language model to execute arbitrary commands on the host system without any user confirmation or sandboxing boundaries. If the model is subjected to prompt injection (e.g., via untrusted web search results or repository files), an attacker could achieve full remote code execution (RCE) on the host machine. Consider requiring approval for tool execution or using a restricted sandbox mode.