openai / openai/codex-security
Multi_agent_v2 fails against Bedrock Mantle Endpoint
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 10.8k
- Forks
- 801
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 257
Description
codex-security version 0.1.20
When I am trying to use Bedrock Mantle as my model provider
codex-secruity scan test-repo/ --provider amazon-bedrock --model openai.gpt-5.6-terra --headless --verbose
I end up seeing an error of
codex-security: debug: runtime.cleanup.started
codex-security: debug: runtime.cleanup.completed
codex-security: debug: scan.failed classification="unknown" partial_output=true
{"error":{"code":"validation_error","message":"invalid request body: Invalid 'input': value did not match any expected variant","param":null,"type":"invalid_request_error"}}
Partial output was kept at /state/codex-security/scans/test-repo/codex-security-test-repo-ijcmCp
This is related to https://github.com/openai/codex/pull/39804, I have found a workaround of using
codex-secruity scan test-repo/ --provider amazon-bedrock --model openai.gpt-5.6-terra --headless --verbose --codex features.multi_agent_v2.max_concurrent_threads_per_session=1
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported codex-security scan with the Bedrock Mantle provider and then compare it with the workaround setting max_concurrent_threads_per_session=1. Trace the multi_agent_v2 request path and the invalid input validation response; done means the original command succeeds without requiring the concurrency override.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cli, cloud
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100