fix(security): mask resolved run secrets#218
Conversation
393f29b to
1187250
Compare
ReviewOverviewCompletes audit finding S3. Collects per-run resolved secret values from three injection sources (literal task env matching secret patterns, Strengths (verified in diff)
Suggestions (priority order)
Risks (none severe)
Security
Performance
Conventions
VerdictApprove with the two test additions (end-to-end masking + OIDC collection). Code is correct, well-threaded, and closes audit S3 including the disk-wire divergence and the centralization the audit asked for. The main gap is test coverage of the outputs (not just the collection) — fix that and this is rock-solid. |
Collect resolved task secret values per run and use them at occurrence, notification, attestation, and team run-summary boundaries. Centralize secret key pattern matching and redact structured secret-like keys. Co-Authored-By: Codex <codex@openai.com>
1187250 to
3b4a8a7
Compare
|
Addressed the review gaps in commit 3b4a8a7. Changes:
Local verification:
|
Summary
Review fixes
Verification
Audit note
Verified S3 against current code: occurrence enrichment and outbox only collected engine env values, while secret_refs, OIDC credentials, and literal task env secrets were injected at execution time and not threaded into masking boundaries.