I passed the AgentExchange (AppExchange) Security Review in 11 days. Here is everything I submitted.

10 min read

A first-hand account: the timeline, the five documents, what the scanners found, the fee surprise, and the checklist I would use again.

AgentExchange (formerly AppExchange) Security Review passed in 11 days, first attempt: 5 documents, 1 + 9 scanner findings, 1 USD, next to the Partner Console status Your submission passed
Contents10 sections
  1. 01The app that was reviewed
  2. 02The timeline
  3. 03What I submitted
  4. 04What the scanners found
  5. 05One fix I made before submitting
  6. 06The fee surprise
  7. 07What slowed me down
  8. 08My checklist
  9. 09Why I am giving this away
  10. 10Questions people ask

A few years ago I asked someone more experienced a simple question: how does the AppExchange Security Review actually work?

Are you asking me for my million-dollar know-how?

That was the whole answer.

I did not get my answer that day, but I got a lesson. I decided that if I ever went through the process myself, I would write everything down and give it away. In November 2026 my first app, Org Overview 360, passed the review on the first attempt. So here is the know-how. It turns out it fits on one page.

A note on the name. Salesforce renamed AppExchange to AgentExchange in 2026, and listings, mine included, now carry the AgentExchange name. The Partner Console screens during my review in November 2026 still said AppExchange, so you will see both names on this page. It is the same security review.

Org Overview 360, a free, read-only, 100% native Salesforce app, was submitted for the AgentExchange (formerly AppExchange) Security Review on November 9, 2026 and approved on November 20, 2026: 11 days, first attempt. The submission was five documents and one test org. The scanners reported one security finding and nine code quality findings, and every one of them was explained in a false positives document. Total cost: 1 USD.

Submit to approval
11 days
4 days verification, 7 days testing
Documents
5
six pages written by me, plus the scanner report
Scanner findings
1 + 9
one security, nine quality, all explained
Fee paid
1 USD
the submit page first showed 999 USD

The app that was reviewed

Context matters, because the size of the app decides the size of the review. Org Overview 360 is one Lightning page that summarizes a Salesforce org: users, record counts, flows, objects, storage and the things that need attention. It is built with Apex and Lightning Web Components only. It makes no external callouts, runs no DML, stores no data and ships no custom objects.

Org Overview 360 dashboard in a demo Salesforce org: active users, total records, active flows, custom objects and data storage at the top, a data summary of objects with record counts, and a needs attention list
Org Overview 360 in a demo org. A read-only app like this has a small attack surface, and that is the main reason the review was quick.

A simpler architecture means a shorter review. Do not expect the same speed for an app with its own servers, integrations or a web front end.

The timeline

  1. Nov 5Scans and documents readyCode Analyzer clean, source scanner run, five documents written.
  2. Nov 9SubmittedStatus: "We received your security review submission".
  3. Nov 13Verification finished4 days. Status: "Your submission is ready to test".
  4. Nov 20Approved7 days of testing. Status: "Your submission passed".
All dates are 2026. The review itself runs from November 9 to November 20.

The review has two working stages. In submission verification the team checks that your documents and test environment are complete. The estimate I was given for this step was about two weeks; it took four days. In testing the team tests the security of the app in your test org. That took seven days and ended with "Your submission passed".

AppExchange Security Review status in the Salesforce Partner Console: Prepare and Submit and Submission Verification complete, Testing in progress, Done not reached yet
The status page after verification: the first two stages are green and testing has started.
AppExchange Security Review status in the Salesforce Partner Console showing Your submission passed, all four stages complete and Approved on November 20, 2026
November 20, 2026: all four stages green, "Your submission passed". The date is in Turkish because of my browser language.

What I submitted

Five documents, all short. The four I wrote myself add up to six pages.

$ ls submission/
  • architecture-and-usage.pdf2 pagesWhat the app does, which objects and APIs it reads, which permission set gives access, and how a reviewer can open every screen.
  • api-callouts.pdf1 pageOne statement: the app makes no external callouts. If a section does not apply, say so in writing instead of leaving it empty.
  • code-analyzer-report.pdf1 pageSalesforce Code Analyzer with the AppExchange and Security rule selectors: zero violations.
  • source-scanner-reportexportThe Checkmarx scan from the Partner Security Portal, exactly as the portal produced it.
  • false-positives.pdf2 pagesEvery scanner finding, mapped to the code, with an explanation of why it is safe.
The complete submission package. File names are simplified.

The architecture document is the one I would spend the most time on. The reviewer has never seen your app, so it opens with how to reach every screen, then lists every component and how data is accessed:

First page of the architecture and usage document submitted for the AppExchange Security Review: usage steps for the reviewer, what the app does, components table and data access model
Page one of my architecture and usage document. Steps for the reviewer come first, then the components and the data access model.

Plus a test environment: a separate Developer Edition org with the released package installed, a permission set assigned and an admin login for the review team. Keep that org and its password unchanged until the review is done.

One detail that cost me time: the org where you registered your namespace cannot be the test org, because a managed package cannot be installed into the org that owns its namespace.

What the scanners found

I ran Salesforce Code Analyzer locally until it was clean before touching the official scanner, because the number of source scanner runs is limited.

terminal
$ sf code-analyzer run --rule-selector AppExchange --rule-selector Security \
    --workspace force-app --output-file report.csv
$ wc -l report.csv
       1 report.csv
# one line: the header row. Zero violations.
The local scan on November 5, 2026. The exported report has a header row and nothing under it.
Salesforce Code Analyzer HTML report for an AppExchange app showing zero violations at every severity, from critical to info
The Code Analyzer HTML report from the same run: zero at every severity.

The Checkmarx source scanner then reported one security finding and nine code quality findings.

Checkmarx Force.com Source Scanner results for an AppExchange Security Review: one SOQL SOSL Injection finding, nine Queries With No Where Or Limit Clause findings, no issues for every other query
The source scanner summary. The scan id and the scanner account are removed; nothing else is changed.
Scanner findingCountTypeMy answer
SOQL SOSL Injection1SecurityFalse positive. The object name is validated against the org schema before the query is built.
Queries With No Where Or Limit Clause9Code qualityBy design. They are COUNT() queries that return a single number.

This is the line behind the security finding. The app counts the records of the objects you pick, so the query is built at run time:

OrgOverviewController.cls
for (String name : apiNames) {
    Schema.DescribeSObjectResult d = described.get(name);
    if (d == null || !d.isQueryable() || !d.isAccessible()) {
        counts.put(name, -1);
        continue;
    }
    // d.getName() is the schema-validated name, never the raw input
    counts.put(name, Database.countQuery(
        'SELECT COUNT() FROM ' + d.getName(), AccessLevel.USER_MODE));
}
The flagged query, with its error handling trimmed for length. The name that reaches it comes from the schema describe, not from the browser.

That is a false positive, but "trust me" is not an answer. This is what I wrote in the false positives document, shortened:

The value concatenated into the query is DescribeSObjectResult.getName() returned by Schema.describeSObjects, not the client string. A name that is not a real, accessible sObject never reaches the query. An attacker cannot add clauses, quotes or other objects: the only possible query shape is SELECT COUNT() FROM <existing sObject API name>, and it runs in user mode.

[The nine count queries] do not return rows, so a LIMIT clause would not reduce data exposure; counting the whole object is the purpose of the dashboard.

From my false positives document.
Part of a false positives document for the AppExchange Security Review explaining why a dynamic SOQL count query is not a SOQL injection and why COUNT queries have no WHERE or LIMIT clause
The same answers in the PDF I submitted.

My takeaway: a clean report is not the goal. A report where every line has an honest explanation is.

One fix I made before submitting

Error handling. The first version showed raw exception messages on screen. Internal details should not leak into the user interface, so I replaced them with plain messages, sent the detail to the debug log, and shipped that as the version I submitted.

OrgOverviewController.cls
  } catch (Exception e) {
-     throw new AuraHandledException(
-         'Org Overview could not be loaded: ' + e.getMessage());
+     System.debug(LoggingLevel.ERROR,
+         'getOverview failed: ' + e.getTypeName() + ' ' + e.getMessage());
+     throw new AuraHandledException(
+         'Org Overview could not be loaded. Click Refresh to try again; '
+         + 'if it keeps failing, contact your Salesforce administrator.');
  }
Before and after. Check your own catch blocks before you send anything.

The fee surprise

My listing was set to Free, yet the submit page asked for 999 USD.

Submit page showed999 USDlisting pricing not approved yet
What I paid1 USDprocessing fee after the waiver
What a free app can show at submit time, and what it cost in the end.

The reason: the pricing of the listing had not been approved yet, so the system treated the app as paid. This is what I did:

  1. I did not pay.
  2. I opened a partner support case and asked for the fee to be checked.
  3. Support asked me to confirm that the app follows the free app policy. I confirmed.
  4. The listing was approved, and support sent a single-use waiver code.
  5. The code goes into the promotion code field on the payment page, not on the review form.
  6. A processing fee of 1 USD remained. That is what my security review cost.

If you see a fee on a free app, stop and ask support first.

What slowed me down

Not the review itself. Before I could build a package, linking my namespace to the Dev Hub simply did nothing: the Link Namespace window opened and stayed on "Loading...".

Namespace Registries list view in a Salesforce Dev Hub org with zero items and the Link Namespace button
The Namespace Registries list in my Dev Hub during that week: zero items, and the Link Namespace button that opened an empty window.

It took about a week with support to find the cause, a known issue: the Dev Hub org was missing a connected app named SalesforceDX Namespace Registry. Once that app was in place, the link worked about ten minutes later. If the Link Namespace button does nothing for you, open a case early and mention that.

My checklist

  • Run Code Analyzer with the AppExchange and Security selectors until it reports zero.
  • Remove raw exception messages from the UI.
  • Run your queries in user mode so sharing and field access are enforced by the platform, and say so in your documents.
  • Prepare a clean test org that is not your namespace org.
  • Write the architecture document for a reader who has never seen your app.
  • Explain every scanner finding in a false positives document.
  • Free app with a fee on the submit page? Open a case, do not pay.

Why I am giving this away

That answer stayed with me. Knowledge like this is not worth a million dollars. It is worth a few evenings of someone's time, and sharing it costs me nothing.

If you are preparing your own review and get stuck, write to me at info@sfupdates.com or on LinkedIn. I will help as much as I can.

Questions people ask

Is the AppExchange Security Review now the AgentExchange Security Review?

Yes. Salesforce renamed AppExchange to AgentExchange in 2026 and listings now show the AgentExchange name. The Partner Console screens during my review in November 2026 still used the AppExchange name, and the steps in this story (documents, scanners, test org, verification and testing) are the same review.

How long does the AgentExchange (AppExchange) Security Review take?

Mine took 11 days. I submitted on November 9, 2026, submission verification finished on November 13 (4 days, against an estimate of about two weeks) and the app was approved on November 20 after 7 days of security testing. The app is a small, 100% native package with no external callouts, so an app with its own servers or integrations should expect longer.

How much does the AppExchange Security Review cost for a free app?

I paid 1 USD. The submit page first showed 999 USD because the pricing of my listing had not been approved yet. I did not pay, opened a partner support case and confirmed that the app follows the free app policy. The listing was approved and support sent a single-use waiver code, which left a 1 USD processing fee.

What do you have to submit for the AppExchange Security Review?

I submitted five documents and one test environment: an architecture and usage document, a statement that the app makes no external callouts, a Salesforce Code Analyzer report, the source scanner (Checkmarx) report from the Partner Security Portal, and a false positives document. The test environment was a separate Developer Edition org with the released package installed and an admin login for the review team.

Do you need zero scanner findings to pass the Security Review?

No. My app passed on the first attempt with one security finding and nine code quality findings in the source scanner report. What matters is that every finding is explained: I mapped each one to the code in a false positives document and wrote down why it is safe.

Can the namespace org be the Security Review test org?

No. A managed package cannot be installed into the org that owns its namespace, so the test environment has to be a separate Developer Edition org with the released package version installed.

📅 Winter '27 Key Dates

Winter '27 Production Rollout
Live on all instances
The rollout is complete.

Spring '27 Sandbox Preview
Jan 8, 2027
Test new features safely before production.

Spring '27 Production Rollout
Jan 16, Feb 6 and Feb 20, 2027
Main release weekends, from Salesforce Trust.