Skip to content

AppExchange security review as a Salesforce Platform API solution #602

Not planned

Description

@athvin

Product stack rank 20 of 37 · roadmap #1008 · priority P2 · release salesforce-launch

Salesforce distribution boundary

This ticket owns AppExchange security-review/distribution work for the Salesforce integration. It does not gate launching or selling the generic deduplication API, and it is distinct from a managed package (#517). Confirm current Salesforce requirements against official sources when executing the ticket; the historical details below are not newly verified by this roadmap edit. Preserve any approval prerequisites for submissions and fees.

Historical planning — superseded scope, ordering and estimates

This is the actual AppExchange gate, and it is not a managed package. Release mvp · estimate 3 eng-weeks of engineering plus review latency we do not control.

Salesforce names three distributable solution types: managed packages, Salesforce Platform API solutions, and Marketing Cloud Engagement API solutions. All three must pass a security review; only the first needs a package. Our connector is the second — an external service reaching the org through the Platform API (.claude/skills/er-server-control-plane/references/connectors.md §4).

So #517's 12 weeks of LWC/Apex/2GP packaging is a product decision about on-platform UX, not an entry requirement. #517 moved to post-appexchange; this card replaces it on the critical path.

What the review actually requires

Verified from Salesforce's own guidance:

  • Disclose in detail how the Connected App is used in the solution.
  • Document how secrets are secured — for us, per-org OAuth tokens in the secret store (.claude/skills/er-server-control-plane/references/connectors.md §4.1).
  • Submit working credentials for integrations including web apps and REST APIs, or the review stalls.
  • Avoid deprecated OAuth flows — device, implicit, username/password. Our web-server (authorization-code) flow is correct.
  • Least privilege on scopes; rotate client ID and secret regularly.
  • ⚠️ Every referenced external web service is penetration tested. Our own API is in scope, not just the Salesforce-facing edge — so Per-tenant runner ServiceAccounts #550 (shared runner role) is review exposure, not only internal hygiene. (Retire the S3 service access key in favour of the credential chain #549 the static-key exposure closed after this was written — the consumerless key was deleted by PR feat(infra): delete the static S3 lake key, which had no consumer (#549) #791.)

The top failure reason by a wide margin is object- and field-level security (CRUD/FLS) enforcement — which is a managed-package concern and mostly does not apply to us. The relevant ones for an external service are insecure dependency versions and the penetration test.

Why this is MVP and sized separately

The engineering is small — documentation, a credentials package, scope tightening. The latency is not, and it is not compressible by adding people: the review is queued, tested and validated by Salesforce's Product Security team. Start it as soon as #511's OAuth lands.

Unverified, and worth checking first

A search summary of a Partner Community page indicated PKCE and refresh-token rotation became mandatory for partner Connected Apps by 2026-05-11 — already past. That page is behind partner login and the public help article does not mention it. If true it constrains #511's implementation from the start rather than being later hardening. Check the Partner Community before building the OAuth flow.


Researched 2026-11-05 to resolve the conflict recorded on #517. Sources: submission guide · how the review works · CA/ECA guidance · top 20 vulnerabilities

Activity

  1. added
    mvp
    docs-backlog
    salesforce-launch
    and removed
    mvp
    on Nov 5, 2026
  2. added
    pruned
    on Nov 27, 2026
  3. athvin commented on Nov 27, 2026

    @athvin
    OwnerAuthor

    Closed in the 2026-11-26 board prune. The board now targets a deduplication tool that works the same whatever the data's source. This card is Salesforce-specific, so it isn't needed for that. It's labelled pruned and can be reopened if it becomes relevant.

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

    docs-backlogprunedsalesforce-launch

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions