Skip to content

Managed startup profile rejects schema-owned messaging webhook field #9610

Closed

Description

@ericksoa

Investigation Summary

The complete unfiltered E2E run at candidate a4f9b59aa64f88532a3e64e949dd1b4068aa1f1e rejects the stock Microsoft Teams render object before sandbox startup.

Reproduction

  1. Run attempt 3 of the complete unfiltered E2E workflow.
  2. Run the OpenClaw channel stop/start target with the stock Microsoft Teams channel selected.
  3. Observe managed startup profile construction reject messaging.plan.agentRender[10].value.webhook as a credential-shaped field name.

Evidence

Root Cause

The Microsoft Teams channel manifest owns a JSON render at channels.msteams. Its stock value contains webhook: { port, path }, where port is an integer TCP port and path is /api/messages.

The managed startup credential-field scanner treats webhook as a credential-shaped field name. The validator has no structural authorization for this channel-owned, credential-free object.

Acceptance Criteria

  • Accept webhook only in the exact stock Microsoft Teams OpenClaw render entry.
  • Require the channel, render, hook, handler, agent, target, and configuration path to match the channel-owned contract.
  • Require the webhook value to contain only an integer TCP port from 1 through 65535 and the exact /api/messages path.
  • Continue to reject raw credentials, secret-looking values, string webhooks, malformed webhook objects, extra webhook fields, and webhook at unowned paths.
  • Add focused positive and negative regression tests at the managed startup profile boundary.
  • The OpenClaw channel stop/start target reaches its messaging lifecycle assertions after the repair.

Relationships

This issue tracks a distinct uncovered schema path and is not classified as a duplicate.

Out of Scope

No scanner weakening, generic name-based allowlist, documentation, dependency, image, CI, retry, Brave, or unrelated messaging changes.

Activity

  1. ericksoa commented on Aug 19, 2026

    @ericksoa
    MemberAuthor

    The residual reproduces after the cutover branch refresh from current main.

    • Refreshed cutover head: 8e2fd4325fb95c73cc3733c82d7b87d9459d61a7
    • Integrated main: b1c0e21d4de5436a8fc5aba8596592a0fca0f986
    • Reproduction: compile the stock Microsoft Teams OpenClaw render with planAgentRender, including the manifest-owned integer webhook port and /api/messages path, then validate it in a managed startup profile.
    • Result: validation rejects messaging.plan.agentRender[0].value.webhook as a credential-shaped field name.

    This confirms the webhook object remains uncovered after current-main integration and needs the narrow stacked repair on #9323.

  2. self-assigned this
    on Aug 19, 2026
  3. added a commit that references this issue on Aug 19, 2026
    b5f3063
  4. added
    area: messaging
    area: security
    integration: openclaw
    on Nov 3, 2026
  5. added theissue type on Nov 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: messagingarea: securityintegration: openclaw

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions