Skip to content

Redaction bypass: GitHub App secrets are still exposed in MCP responses #65

Description

@KOSFin

The security issue from #26 is not fully fixed.

The documented redaction is disabled by default (DOKPLOY_REDACT_ENV=false). More importantly, the default field list does not cover the actual GitHub App response keys.

The redactor matches field names exactly, but Dokploy responses use:

  • githubPrivateKey
  • githubClientSecret
  • githubWebhookSecret

The default list only contains names such as privateKey, clientSecret, and secret. Therefore these GitHub App secrets remain exposed unless every MCP deployment manually adds the exact field names to DOKPLOY_REDACT_FIELDS.

I reproduced this in normal MCP responses from compose-one and compose-delete.

Please make redaction enabled by default and add exact GitHub App field names to the built-in denylist. Ideally, these fields should be omitted server-side rather than returned to MCP clients at all.

Related: #26

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