Skip to content

Embedded apps: document postMessage command whitelist #122

Open

Description

@sridharkalaibala

Parent: #34

Problem

Sandboxed embedded apps need a tiny approved message contract so they can request context, navigation, and toasts without controlling Posnic.

Boundary

Do not implement iframe hosting in this issue. Define the allowed messages first.

Acceptance criteria

  • Document allowed message names, payload shapes, and response shapes.
  • Include explicit rejection cases for unknown commands and oversized payloads.
  • State that embedded apps cannot access tokens, DOM internals, or unrestricted APIs.
  • Link to Embedded apps: design sandboxed iframe page host #102 for the iframe page host.

Activity

  1. added
    documentation
    help wanted
    needs design
    size: small
    area: app platform
    area: marketplace
    security
    on Sep 1, 2026
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

    area: app platformarea: marketplacedocumentationhelp wantedneeds designsecuritysize: small

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions