Repository navigation
Conversation
|
Codex review: needs real behavior proof before merge. Reviewed July 1, 2026, 5:55 AM ET / 09:55 UTC. Summary PR surface: Source +104, Tests +112. Total +216 across 4 files. Reproducibility: yes. source-level: a models.json-only provider with a plaintext apiKey can be migrated, then PR-head planning can return skip and leave the original plaintext file unchanged. I did not run a live repro because this review is read-only. Review metrics: 2 noteworthy metrics.
Stored data model Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof guidance:
Risk before merge
Maintainer options:
Next step before merge
Security Review findings
Review detailsBest possible solution: Land one rebased Layer 1 implementation that sanitizes root and plugin-owned generated catalogs, migrates legacy plaintext credentials into current SQLite auth profiles, forces sanitized rewrites, and includes redacted real setup proof. Do we have a high-confidence way to reproduce the issue? Yes, source-level: a models.json-only provider with a plaintext apiKey can be migrated, then PR-head planning can return skip and leave the original plaintext file unchanged. I did not run a live repro because this review is read-only. Is this the best way to solve the issue? No, not as submitted; generated-catalog redaction is the right boundary, but the branch must force sanitized rewrites after migration and be rebuilt on current SQLite auth-profile plus plugin catalog behavior. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against cf2efbe5d515. Label changesLabel justifications:
Evidence reviewedPR surface: Source +104, Tests +112. Total +216 across 4 files. View PR surface stats
Security concerns:
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
ClawSweeper PR egg 🎁 Pass real behavior proof to wake the egg and unlock a hatchable treat. Where did the egg go?
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Thanks for tackling both redaction and upgrade safety. We’re consolidating #11829 in maintainer-owned #87166. Since this branch was written, auth profiles moved from |
Fixes #11829.
This implements the Layer 1 hardening for
models.jsongeneration:apiKeyvalues before serializing agent-visiblemodels.jsonmodels.jsonkeys intoauth-profiles.jsonbefore redacting the generated file, so upgrades do not silently erase the only available credentialReal behavior proof:
ensureOpenClawModelsJson()was exercised through the existing models-config harness with a pre-existingmodels.jsoncontaining a plaintext provider key.models.jsonomits that plaintext key and the key is preserved inauth-profiles.jsonundercustom-proxy:models-json.OPENAI_API_KEYremains as a non-secret marker.Validation:
corepack pnpm exec vitest run --reporter=dot src/agents/models-config.applies-config-env-vars.test.ts src/agents/models-config.skips-writing-models-json-no-env-token.test.ts-> 4 files passed, 26 tests passedcorepack pnpm exec oxlint src/agents/models-config.ts src/agents/models-config.plan.ts src/agents/models-config.applies-config-env-vars.test.ts src/agents/models-config.skips-writing-models-json-no-env-token.test.tsgit diff --checkTaskBounty: https://www.task-bounty.com/task/fix-security-roadmap-protecting-api-keys-from-agen-uej5sq