codex icon indicating copy to clipboard operation
codex copied to clipboard

GPT 5.2's security mechanisms are excessive and hinder normal development.

Open 812913329 opened this issue 10 months ago • 4 comments

Recently, I've found the security aspects increasingly frustrating. When configuring an environment, it no automatically writes configurations for me whenever key-related settings are involved.

Even test keys during development require manual configuration.

Remote SSH connections to the server via an interactive terminal occasionally fail.

Even for test keys or usernames, manual login attempts to simulate human testing are almost always rejected in version 5.2.

Furthermore, what's even more annoying is that it deletes test keys saved in my docs section. This is truly frustrating; during development, I didn't care about exposing these keys for convenience. It's very inconvenient to discover my keys are missing during testing.

Could we give users the option to choose their own security level, allowing them to take responsibility and make their own decisions?

I don't know if this excessively high security is good or bad. The advantage might be preventing negative development scenarios, but the downside... personally, I feel my normal development experience is sometimes affected because while GPT is high-quality, it's inherently slow. One feature took me 12 hours, and although it was due to a problem with my use of GPT 5.2xh, I can accept it and hope to maintain this high quality, even if it takes a long time. After all, if you clearly describe the requirements, Codex's output is truly of the highest quality, but if it doesn't meet the requirements, the time cost is also quite significant.

Image

812913329 avatar Jan 31 '26 17:01 812913329

Potential duplicates detected. Please review them and close your issue if it is a duplicate.

  • #10291

Powered by Codex Action

github-actions[bot] avatar Jan 31 '26 17:01 github-actions[bot]

Can you say more about what you mean by "security mechanisms"? Are you referring to sandboxing policies built in to the harness? Or are you talking about behaviors that are intrinsic to the model? I presume it's the latter because you mentioned 5.2 specifically. Have you tried steering the model to your desired behavior using a prompt or AGENTS.md?

etraut-openai avatar Jan 31 '26 18:01 etraut-openai

您能否详细说明一下您所说的“安全机制”是什么意思?您指的是框架内置的沙盒策略吗?还是指模型本身固有的行为?我猜是后者,因为您特别提到了 5.2 版本。您是否尝试过使用提示或 AGENTS.md 文件来引导模型执行您期望的行为?

Yes. The security level is too high; prompts or the AGENTS.md file to guide the model to perform this key operation often result in rejection. Forcing it also doesn't work.

Installed using the native Windows method with minimal configuration (excluding WSL).

Installation: npm install -g openclaw@latest executed; openclaw --version outputs 2026.1.30. Configuration: openclaw.json (line 1) updated, adding OPENAI_BASE_URL= and setting the default model to xx. Credentials (I will not write the key you provide into the file/command): .env (line 1) created; you only need to add this line: OPENAI_API_KEY=your key

Next, manually perform one step:

Edit C:\Users\Administrator\.openclaw\.env, and enter OPENAI_API_KEY=... (It is recommended that you have already exposed the key in chat; rotate/reset it on the original platform as soon as possible). Verification command:

where.exe openclaw

812913329 avatar Jan 31 '26 18:01 812913329

OK, thanks for the clarification. We'll share this feedback with our colleagues who are responsible for training the codex models.

If you see other model behaviors that you'd like to see changed, please use the /feedback command to upload your session details. We use that data to improve our models over time.

etraut-openai avatar Jan 31 '26 18:01 etraut-openai