macOS sandbox preventing dotnet build CSSM_ModuleLoad() Error
Open 💬 5 comments Opened Oct 8, 2025 by Meowzz95
What version of Codex is running?
codex-cli 0.45.0
Which model were you using?
gpt-5-codex high
What platform is your computer?
Darwin 25.0.0 arm64 arm
What steps can reproduce the bug?
Ask codex to build a dotnet solution
• Ran dotnet build Main/Main.sln
└ failed in sandbox: CSSM_ModuleLoad(): One or more parameters passed to a function were not
valid.
I get this output from codex
but somehow codex is able figure out a way to circulate this, but it always fail at first and try multiple times. I think it is a waste of token/compute, so filing a bug report here.
What is the expected behavior?
It should be able to run dotnet build
Or at least provide a clear instruction on what folder we need to whitelist in writable_roots to allow it to work
What do you see instead?
failed in sandbox: CSSM_ModuleLoad(): One or more parameters passed to a function were not
valid.
Additional information
_No response_
This issue has 5 comments on GitHub. Read the full discussion on GitHub ↗