Skip to content

Preserve or reject __proto__ in custom MCP configuration #544

Description

@dajiaohuang

Custom MCP configuration and secret patches use ordinary JavaScript records keyed by server/header/env names. The special key proto is accepted by the configuration path but is treated as a prototype setter or omitted when those records are assembled/persisted, so the configured entry/value disappears after reload or never reaches the adapter. Reject this key consistently at validation or use a safe key-preserving representation throughout the config and secret paths.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions