Add manual K1e replay workflow#60
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 83bbd8934c
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| resolved_base_url="$SELECTED_BASE_URL" | ||
| if [ -z "$resolved_base_url" ]; then | ||
| resolved_base_url="$default_base_url" | ||
| fi |
There was a problem hiding this comment.
Restrict base URL overrides before using provider credentials
When a user with permission to dispatch workflows supplies an arbitrary base_url, this value becomes OPENAI_BASE_URL while the selected repository secret is exported as OPENAI_API_KEY; the replay client will therefore send that credential to the attacker-controlled endpoint. Limit overrides to trusted provider hosts, or require a separately scoped credential for custom endpoints, so dispatch access cannot exfiltrate provider keys.
Useful? React with 👍 / 👎.
No description provided.