Skip to content

security: OPENCODE_SERVER_PASSWORD is kept in process env post consumption #14567

Closed

Description

@judepereira

Description

OPENCODE_SERVER_PASSWORD continues to be stick around in the process's env. When running headless in docker, the only way to set OPENCODE_SERVER_PASSWORD is to put it in the env at start, but this should be removed once consumed, as a security measure to avoid potential future leakage into spawned processes.

Plugins

No response

OpenCode version

v1.2.10

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

Docker

Terminal

No response

Activity

  1. changed the title [-]OPENCODE_SERVER_PASSWORD is kept in process env post consumption[/-] [+]security: OPENCODE_SERVER_PASSWORD is kept in process env post consumption[/+] on Feb 21, 2026
  2. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    on Feb 21, 2026
  3. github-actions commented on Apr 23, 2026

    @github-actions
    Contributor

    To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcoreAnything pertaining to core functionality of the application (opencode server stuff)

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions