Skip to content

Comments

fix(opencode): remove OPENCODE_SERVER_PASSWORD from the env after read#14568

Open
judepereira wants to merge 2 commits intoanomalyco:devfrom
judepereira:opencode/glowing-forest
Open

fix(opencode): remove OPENCODE_SERVER_PASSWORD from the env after read#14568
judepereira wants to merge 2 commits intoanomalyco:devfrom
judepereira:opencode/glowing-forest

Conversation

@judepereira
Copy link

Issue for this PR

Closes #14567

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Clears the env variable OPENCODE_SERVER_PASSWORD from the process, as s security measure to prevent it from leaking into sub processes.

How did you verify your code works?

Unit tests.

Screenshots / recordings

If this is a UI change, please include a screenshot or recording.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

@github-actions
Copy link
Contributor

Hey! Your PR title security: remove OPENCODE_SERVER_PASSWORD from the env after read doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@judepereira judepereira changed the title security: remove OPENCODE_SERVER_PASSWORD from the env after read fix(opencode): remove OPENCODE_SERVER_PASSWORD from the env after read Feb 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

security: OPENCODE_SERVER_PASSWORD is kept in process env post consumption

1 participant