Repository navigation
Closed
Labels
p1Priority: Critical (score 22-29)security-reviewTouches auth, provider routing, secrets, or security-sensitive surfacesworkflow-reviewNeeds maintainer review for workflow, automation, hooks, or CI behavior
Description
Problem
Release workflows are high-risk because they transform private CI secrets into build artifacts, app env files, Docker builds, release notes, logs, and crash/debug artifacts. PR #8717 adds important public-client secret boundary checks; we should ensure release workflow secret hygiene is complete and durable across all release paths.
Scope
Add or extend scanners/tests that prevent release workflows from writing server-only secrets into public client artifacts or logs.
If PR #8717 fully covers a sub-scope, this issue can become a follow-up tracker for remaining release paths and real artifact scans.
Proposed deliverables
- Scanner checks for dangerous patterns such as:
echo SECRET=$SECRET >> .envfor denied secret classesset -xaround secret-handling blocks- provider/server secrets passed as Docker build args for public images
- secret-looking values in generated release artifacts/log fixtures
- Allowlist for explicitly public client config variables.
- Fake sentinel tests that prove redaction/detection.
- Documentation for release workflow authors.
Acceptance criteria
- Public CI runs scanner/tests without private credentials.
- Scanner allows documented public config but rejects denied server-only secret classes.
- Tests cover mobile, desktop, web, plugin/Docker, and workflow fixture paths as applicable.
- Real release artifact scans are documented as maintainer-only post-build evidence where private artifacts are involved.
- The issue is closed only after confirming overlap with PR Harden public client secret boundaries #8717 and tracking any uncovered release paths.
Related context
Safety / agent notes
- Do not include raw secrets, tokens, provider keys, private keys, or user content in PRs, logs, fixtures, docs, or issue comments.
- Public code should run without production credentials. Prefer fake fixtures, dry-run/read-only modes, and
PASS/FAIL/SKIP_NO_CREDENTIALS/NOT_RUNoutputs. - Production writes, key rotation/revocation, deploys, traffic shifts, and break-glass actions require explicit maintainer approval outside this issue.
- If implementation changes setup, deploy commands, env vars, safety rules, service boundaries, or runtime contracts, update docs/AGENTS.md as appropriate.
Metadata
Metadata
Assignees
Labels
p1Priority: Critical (score 22-29)security-reviewTouches auth, provider routing, secrets, or security-sensitive surfacesworkflow-reviewNeeds maintainer review for workflow, automation, hooks, or CI behavior
Activity
[codex] Harden release secret hygiene scans (#8730)