{"id":2528,"date":"2026-11-05T13:00:00","date_gmt":"2026-11-05T07:30:00","guid":{"rendered":"https:\/\/swapnilzambare.com\/blog\/appexchange-security-review\/"},"modified":"2026-11-15T22:00:47","modified_gmt":"2026-11-15T16:30:47","slug":"appexchange-security-review","status":"publish","type":"post","link":"https:\/\/swapnilzambare.com\/blog\/appexchange-security-review\/","title":{"rendered":"AppExchange Security Review and Managed Packages"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The AppExchange Security Review is the check every package passes before it can be listed for other companies to install. It is not a formality. Reviewers run a scan, read your answers about how the app handles data, and fail submissions that leave a real hole open.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Most first submissions to the AppExchange Security Review fail on something small. A single unescaped merge field in a Visualforce page, a query without sharing, or a secret left in a class. All of them are cheap to fix before you submit and expensive to discover after.<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/appexchange-security-review-diagram-1.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/appexchange-security-review-diagram-1-1024x640.png\" alt=\"AppExchange Security Review diagram showing build, test, submit and listing steps\" class=\"wp-image-2526\" srcset=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/appexchange-security-review-diagram-1-1024x640.png 1024w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/appexchange-security-review-diagram-1-300x188.png 300w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/appexchange-security-review-diagram-1-768x480.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Caption: The review comes after the package already installs cleanly in a fresh org, not before.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Managed, Unlocked and Unmanaged Packages<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Type<\/th><th>What it is for<\/th><\/tr><\/thead><tbody><tr><td>Managed<\/td><td>A commercial app, with hidden code and enforced upgrades<\/td><\/tr><tr><td>Unlocked<\/td><td>Your own org or a client project, with visible code<\/td><\/tr><tr><td>Unmanaged<\/td><td>A one time template, with no upgrade path at all<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Only a managed package can be listed on the AppExchange, and only a managed package goes through the AppExchange Security Review. The others are deployment tools rather than products.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A managed package needs a namespace, registered once in a Developer Edition org, and that namespace prefixes every component you build.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sf package create --name CoursePro --package-type Managed --path force-app\nsf package version create --package CoursePro --installation-key-bypass --wait 20\nsf package install --package 04t... --target-org testOrg --wait 20\nsf package version promote --package CoursePro@1.0.0-1<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Step<\/th><th>Why it exists<\/th><\/tr><\/thead><tbody><tr><td>Create the package<\/td><td>Registers the package in your Dev Hub<\/td><\/tr><tr><td>Create a version<\/td><td>Builds a beta you can install<\/td><\/tr><tr><td>Install in a clean org<\/td><td>Proves it works from nothing<\/td><\/tr><tr><td>Promote<\/td><td>Marks the version as released, which is what you submit<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That clean org step is not optional in practice, and it comes before the AppExchange Security Review. A package that works in the org it was built in can still fail on install, because that org has fields and permissions the package does not carry.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What the AppExchange Security Review Checks<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The AppExchange Security Review scan looks for a short list of real problems, and almost every failure is one of these.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Finding<\/th><th>What it means<\/th><\/tr><\/thead><tbody><tr><td>SOQL injection<\/td><td>A query built from user input without escaping<\/td><\/tr><tr><td>Cross site scripting<\/td><td>Output rendered without escaping<\/td><\/tr><tr><td>Missing CRUD and FLS checks<\/td><td>Reading or writing fields the user cannot access<\/td><\/tr><tr><td>Sharing not enforced<\/td><td>A class without the sharing keyword<\/td><\/tr><tr><td>Hard coded secrets<\/td><td>A key, token or password in code or metadata<\/td><\/tr><tr><td>Insecure callouts<\/td><td>HTTP rather than HTTPS, or an unverified endpoint<\/td><\/tr><tr><td>Unescaped merge fields<\/td><td>A Visualforce expression without escaping<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">The Three Fixes That Clear Most Findings<\/h3>\n\n\n\n<pre class=\"wp-block-code\"><code>\/\/ Sharing enforced at the class level\npublic with sharing class CourseService {\n\n    \/\/ Field and object access enforced by user mode\n    public List&lt;Course__c&gt; search(String term) {\n        String like = '%' + String.escapeSingleQuotes(term) + '%';\n        return [\n            SELECT Id, Name, Fee__c\n            FROM Course__c\n            WHERE Name LIKE :like\n            WITH USER_MODE\n            LIMIT 50\n        ];\n    }\n}<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Three things in that short class answer most of the AppExchange Security Review scan. The sharing keyword, the bind variable rather than string concatenation, and user mode on the query. The posts on <a href=\"https:\/\/swapnilzambare.com\/blog\/apex-secure-coding-xss-csrf-injection\/\">secure coding<\/a> and <a href=\"https:\/\/swapnilzambare.com\/blog\/apex-crud-and-fls-user-mode\/\">CRUD and FLS<\/a> cover each in depth.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Preparing a Submission<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Running the AppExchange Security Review scan yourself first is the single biggest time saver. Salesforce provides a scanner, and Code Analyzer catches a similar set of issues locally.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Run Code Analyzer over the whole package and fix everything it reports<\/li>\n\n<li>Submit the code to the Salesforce scanner and read the full report<\/li>\n\n<li>Fix every finding, and write a short note for anything you believe is a false positive<\/li>\n\n<li>Install the promoted version in a brand new org and run through the app<\/li>\n\n<li>Complete the security questionnaires honestly, including outside services you call<\/li>\n\n<li>Submit, and expect questions<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Document asked for<\/th><th>What it covers<\/th><\/tr><\/thead><tbody><tr><td>Security questionnaire<\/td><td>How the app handles data and authentication<\/td><\/tr><tr><td>Architecture description<\/td><td>What runs where, and which services are involved<\/td><\/tr><tr><td>Test credentials<\/td><td>A working login so reviewers can use the app<\/td><\/tr><tr><td>Scan results<\/td><td>The report, with your notes on anything disputed<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Test credentials catch people out in the AppExchange Security Review. Reviewers need a way into your app with sample data in place, and a submission without a working path through the app comes straight back.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Managed or Unlocked<\/h2>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><a href=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/appexchange-security-review-diagram-2.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"640\" src=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/appexchange-security-review-diagram-2-1024x640.png\" alt=\"AppExchange Security Review comparison of managed and unlocked packages\" class=\"wp-image-2527\" srcset=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/appexchange-security-review-diagram-2-1024x640.png 1024w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/appexchange-security-review-diagram-2-300x188.png 300w, https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/appexchange-security-review-diagram-2-768x480.png 768w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Caption: The listing is the deciding factor, since only a managed package can be sold on the AppExchange.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Situation<\/th><th>Pick<\/th><\/tr><\/thead><tbody><tr><td>An app you will list and sell<\/td><td>Managed<\/td><\/tr><tr><td>Your own org, split into packages<\/td><td>Unlocked<\/td><\/tr><tr><td>A consulting deliverable for one client<\/td><td>Unlocked<\/td><\/tr><tr><td>Code you must keep hidden<\/td><td>Managed<\/td><\/tr><tr><td>Something you may need to patch in a customer org<\/td><td>Unlocked<\/td><\/tr><tr><td>A sample app or template<\/td><td>Unmanaged<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The hidden code row matters commercially. In a managed package, customers cannot read your Apex, and upgrades are controlled by you. With an unlocked package, customers can see everything and change it, which is fine for internal work and rarely acceptable for a product.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">A Real AppExchange Security Review Example<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The AppExchange Security Review failed us once. Bright Path Tutors built a course catalogue app and submitted it for listing. The first submission failed.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Finding<\/th><th>Where it came from<\/th><\/tr><\/thead><tbody><tr><td>Unescaped merge field<\/td><td>One old Visualforce page kept for printing<\/td><\/tr><tr><td>Missing FLS on two fields<\/td><td>A method written before user mode existed<\/td><\/tr><tr><td>A test API key in a class<\/td><td>Left over from development<\/td><\/tr><tr><td>No sharing keyword on a utility class<\/td><td>Nobody had noticed it<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Action<\/th><th>Result<\/th><\/tr><\/thead><tbody><tr><td>Ran Code Analyzer over the package<\/td><td>Found three of the four issues locally<\/td><\/tr><tr><td>Moved the key to a protected custom setting<\/td><td>Finding cleared<\/td><\/tr><tr><td>Rewrote the two methods with user mode<\/td><td>Finding cleared<\/td><\/tr><tr><td>Replaced the Visualforce page with an LWC<\/td><td>Finding cleared<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Measure<\/th><th>First attempt<\/th><th>Second attempt<\/th><\/tr><\/thead><tbody><tr><td>Findings returned by the review<\/td><td>4<\/td><td>0<\/td><\/tr><tr><td>Weeks from submission to listing<\/td><td>Failed, restarted<\/td><td>3<\/td><\/tr><tr><td>Time spent fixing<\/td><td>2 days<\/td><td><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Running the analyser locally would have found three of the four before the first submission. That is the whole lesson of the exercise.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Keeping a Package Reviewable<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Register the namespace early, since it cannot be changed<\/li>\n\n<li>Never put a secret in code, a static resource or a custom label<\/li>\n\n<li>Use protected custom settings or custom metadata for configuration<\/li>\n\n<li>Add the sharing keyword to every class as you write it<\/li>\n\n<li>Query in user mode by default and justify any exception in a comment<\/li>\n\n<li>Run Code Analyzer in your pipeline so findings appear on every pull request<\/li>\n\n<li>Install each promoted version in a fresh org before you submit anything<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">The pipeline step is what keeps a package ready for the AppExchange Security Review over years. A finding caught on a pull request costs ten minutes, and the same finding caught at review costs a submission cycle. The post on <a href=\"https:\/\/swapnilzambare.com\/blog\/salesforce-ci-cd-github-actions\/\">CI and CD<\/a> covers wiring it in.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Common Mistakes with the AppExchange Security Review<\/h2>\n\n\n\n<figure class=\"wp-block-table\"><table><thead><tr><th>Mistake<\/th><th>What happens<\/th><th>Fix<\/th><\/tr><\/thead><tbody><tr><td>Submitting without running the scan first<\/td><td>A failed cycle on findings you could have fixed<\/td><td>Run Code Analyzer and the scanner first<\/td><\/tr><tr><td>A secret left in code<\/td><td>An automatic failure<\/td><td>Move it to a protected setting<\/td><\/tr><tr><td>Classes without the sharing keyword<\/td><td>Multiple findings<\/td><td>Add it as you write each class<\/td><\/tr><tr><td>Old Visualforce pages left in the package<\/td><td>Escaping findings<\/td><td>Remove or rewrite them<\/td><\/tr><tr><td>No working test credentials<\/td><td>The submission is returned<\/td><td>Provide a login with sample data<\/td><\/tr><tr><td>Testing only in the development org<\/td><td>Install failures<\/td><td>Install in a fresh org every time<\/td><\/tr><tr><td>Disputing findings with no explanation<\/td><td>Delays and more questions<\/td><td>Write a short note per disputed item<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Best Practices for the AppExchange Security Review<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Treat the scan as a build step rather than a gate at the end<\/li>\n\n<li>Write every class with the sharing keyword and user mode queries from the start<\/li>\n\n<li>Keep configuration in protected custom settings or custom metadata<\/li>\n\n<li>Remove code you no longer ship, since it is still reviewed<\/li>\n\n<li>Document every outside service the app calls before you are asked<\/li>\n\n<li>Give reviewers a working login and data they can act on<\/li>\n\n<li>Promote a version and install it clean before submitting<\/li>\n\n<li>Budget time for a round of questions, because it is normal<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Most Asked AppExchange Security Review Interview Questions<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q1: Which package type can be listed on the AppExchange?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A managed package.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q2: What is an unlocked package for?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Your own org or a client project, where the code can be visible and changed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q3: What is an unmanaged package for?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A one time template, with no upgrade path.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q4: Does a managed package need a namespace?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yes, registered once, and it cannot be changed afterwards.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q5: Can customers read Apex in a managed package?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">No, which is one of the main commercial reasons to use one.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q6: What does the review consist of?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An automated scan, questionnaires about data handling, and a hands on check by reviewers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q7: Name four findings the scan commonly reports.<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">SOQL injection, cross site scripting, missing CRUD and FLS checks, and sharing not enforced.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q8: Which three code habits clear most findings?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The sharing keyword on classes, bind variables instead of concatenation, and user mode queries.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q9: How do you avoid a SOQL injection finding?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Use bind variables, and escape single quotes when dynamic SOQL is unavoidable.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q10: Where should an API key live?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In a protected custom setting, a named credential or custom metadata, never in code.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q11: Why do old Visualforce pages cause problems?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Unescaped merge fields are a common escaping finding, and the pages are still reviewed.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q12: What should you run before submitting?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Code Analyzer locally, then the Salesforce scanner, fixing everything both report.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q13: What do you do about a false positive?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Keep it, and write a short note explaining why it is not an issue.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q14: Why install in a brand new org?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Because the development org has components the package does not carry, which hides install failures.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q15: What does promoting a package version mean?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Marking it as released, which is the state a submitted version must be in.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q16: What do reviewers need from you besides code?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Questionnaire answers, an architecture description and working test credentials with sample data.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q17: Why are test credentials so important?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Without a usable path through the app, reviewers cannot assess it and the submission is returned.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q18: Do you have to declare outside services the app calls?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Yes. Where data goes is one of the main things the review covers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q19: How long does a review take?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Expect weeks rather than days, plus time for a round of questions.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q20: What happens if the review fails?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You fix the findings and resubmit, which costs a cycle, so prepare properly first.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q21: Is there a review for every new version?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Significant changes are reviewed again, so keep the package clean rather than cleaning it once.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q22: How do you keep a package clean over years?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Run the analyser on every pull request so findings appear while the code is being written.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q23: Scenario: the app works in your org and fails on install elsewhere. Why?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">A dependency that lives in your org and is not part of the package.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q24: Scenario: the scan flags a utility class you believe is safe. What now?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Fix it if you can, and otherwise explain clearly why it is safe.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q25: Scenario: a key is only used in a sandbox. Is it acceptable in code?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">No. A secret in code fails regardless of which environment it points at.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q26: Scenario: you need to patch a customer org urgently. Which package type helps?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">An unlocked package is more flexible, though a product normally stays managed and ships a patch version.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q27: Can an unlocked package be sold?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Not through the AppExchange, since listing requires a managed package.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q28: What is the cheapest way to shorten the review?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Submit with zero findings and complete answers, so there is nothing to go back and forth about.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Q29: What single habit prevents most failures?<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Write every class with sharing and user mode from the first line, rather than fixing it later.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Official Resources<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/developer.salesforce.com\/docs\/atlas.en-us.sfdx_dev.meta\/sfdx_dev\/\" target=\"_blank\" rel=\"noopener noreferrer\">Second Generation Packaging in the Salesforce DX Guide<\/a><\/li>\n\n<li><a href=\"https:\/\/developer.salesforce.com\/docs\/atlas.en-us.apexcode.meta\/apexcode\/\" target=\"_blank\" rel=\"noopener noreferrer\">Apex Developer Guide<\/a><\/li>\n\n<li><a href=\"https:\/\/trailhead.salesforce.com\/content\/learn\/trails\/isv_developer_beginner\" target=\"_blank\" rel=\"noopener noreferrer\">Build an AppExchange App on Trailhead<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">What Is Next<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Next, read <a href=\"https:\/\/swapnilzambare.com\/blog\/scratch-org-definition-org-shape\/\">Scratch Org Definition Files and Org Shape Explained<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The AppExchange Security Review is the check every package passes before it can be listed for other companies to install. It is not a&hellip;<\/p>\n","protected":false},"author":1,"featured_media":2525,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_swapz_level":"","_swapz_series_part":0,"_swapz_hide_toc":false,"_swapz_hide_featured":false,"_swapz_description":"","footnotes":""},"categories":[247,8,96],"tags":[68,129,17],"swapz_series":[],"class_list":["post-2528","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-devops-packaging","category-salesforce","category-salesforce-developer","tag-advanced","tag-packaging","tag-security"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.9 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>AppExchange Security Review and Managed Packages<\/title>\n<meta name=\"description\" content=\"The AppExchange Security Review checks a managed package before listing. Learn the package types, the scan, the common failures and how to prepare.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/swapnilzambare.com\/blog\/appexchange-security-review\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"AppExchange Security Review and Managed Packages\" \/>\n<meta property=\"og:description\" content=\"The AppExchange Security Review checks a managed package before listing. Learn the package types, the scan, the common failures and how to prepare.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/swapnilzambare.com\/blog\/appexchange-security-review\/\" \/>\n<meta property=\"og:site_name\" content=\"Swapnil Zambare - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-11-05T07:30:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-11-15T16:30:47+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/appexchange-security-review-featured.png\" \/>\n\t<meta property=\"og:image:width\" content=\"2400\" \/>\n\t<meta property=\"og:image:height\" content=\"1260\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Swapnil Zambare\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Swapnil Zambare\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/appexchange-security-review\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/appexchange-security-review\\\/\"},\"author\":{\"name\":\"Swapnil Zambare\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/person\\\/10b09224c8bcc562716e86789427592a\"},\"headline\":\"AppExchange Security Review and Managed Packages\",\"datePublished\":\"2026-11-05T07:30:00+00:00\",\"dateModified\":\"2026-11-15T16:30:47+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/appexchange-security-review\\\/\"},\"wordCount\":1934,\"publisher\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/appexchange-security-review\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/appexchange-security-review-featured.png\",\"keywords\":[\"Advanced\",\"Packaging\",\"Security\"],\"articleSection\":[\"DevOps and Packaging\",\"Salesforce\",\"Salesforce Developer\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/appexchange-security-review\\\/\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/appexchange-security-review\\\/\",\"name\":\"AppExchange Security Review and Managed Packages\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/appexchange-security-review\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/appexchange-security-review\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/appexchange-security-review-featured.png\",\"datePublished\":\"2026-11-05T07:30:00+00:00\",\"dateModified\":\"2026-11-15T16:30:47+00:00\",\"description\":\"The AppExchange Security Review checks a managed package before listing. Learn the package types, the scan, the common failures and how to prepare.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/appexchange-security-review\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/appexchange-security-review\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/appexchange-security-review\\\/#primaryimage\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/appexchange-security-review-featured.png\",\"contentUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/11\\\/appexchange-security-review-featured.png\",\"width\":2400,\"height\":1260,\"caption\":\"AppExchange Security Review featured image showing a package being checked before listing\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/appexchange-security-review\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"AppExchange Security Review and Managed Packages\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/\",\"name\":\"Swapnil Zambare - Blog\",\"description\":\"Salesforce &amp; Tech Guides\",\"publisher\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#organization\",\"name\":\"Swapnil Zambare - Blog\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/site-icon-512.png\",\"contentUrl\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/site-icon-512.png\",\"width\":512,\"height\":512,\"caption\":\"Swapnil Zambare - Blog\"},\"image\":{\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/theSwapnilZambare\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/#\\\/schema\\\/person\\\/10b09224c8bcc562716e86789427592a\",\"name\":\"Swapnil Zambare\",\"sameAs\":[\"https:\\\/\\\/swapnilzambare.com\\\/blog\"],\"url\":\"https:\\\/\\\/swapnilzambare.com\\\/blog\\\/author\\\/swapnil-zambare\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"AppExchange Security Review and Managed Packages","description":"The AppExchange Security Review checks a managed package before listing. Learn the package types, the scan, the common failures and how to prepare.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/swapnilzambare.com\/blog\/appexchange-security-review\/","og_locale":"en_US","og_type":"article","og_title":"AppExchange Security Review and Managed Packages","og_description":"The AppExchange Security Review checks a managed package before listing. Learn the package types, the scan, the common failures and how to prepare.","og_url":"https:\/\/swapnilzambare.com\/blog\/appexchange-security-review\/","og_site_name":"Swapnil Zambare - Blog","article_published_time":"2026-11-05T07:30:00+00:00","article_modified_time":"2026-11-15T16:30:47+00:00","og_image":[{"width":2400,"height":1260,"url":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/appexchange-security-review-featured.png","type":"image\/png"}],"author":"Swapnil Zambare","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Swapnil Zambare","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/swapnilzambare.com\/blog\/appexchange-security-review\/#article","isPartOf":{"@id":"https:\/\/swapnilzambare.com\/blog\/appexchange-security-review\/"},"author":{"name":"Swapnil Zambare","@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/person\/10b09224c8bcc562716e86789427592a"},"headline":"AppExchange Security Review and Managed Packages","datePublished":"2026-11-05T07:30:00+00:00","dateModified":"2026-11-15T16:30:47+00:00","mainEntityOfPage":{"@id":"https:\/\/swapnilzambare.com\/blog\/appexchange-security-review\/"},"wordCount":1934,"publisher":{"@id":"https:\/\/swapnilzambare.com\/blog\/#organization"},"image":{"@id":"https:\/\/swapnilzambare.com\/blog\/appexchange-security-review\/#primaryimage"},"thumbnailUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/appexchange-security-review-featured.png","keywords":["Advanced","Packaging","Security"],"articleSection":["DevOps and Packaging","Salesforce","Salesforce Developer"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/swapnilzambare.com\/blog\/appexchange-security-review\/","url":"https:\/\/swapnilzambare.com\/blog\/appexchange-security-review\/","name":"AppExchange Security Review and Managed Packages","isPartOf":{"@id":"https:\/\/swapnilzambare.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/swapnilzambare.com\/blog\/appexchange-security-review\/#primaryimage"},"image":{"@id":"https:\/\/swapnilzambare.com\/blog\/appexchange-security-review\/#primaryimage"},"thumbnailUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/appexchange-security-review-featured.png","datePublished":"2026-11-05T07:30:00+00:00","dateModified":"2026-11-15T16:30:47+00:00","description":"The AppExchange Security Review checks a managed package before listing. Learn the package types, the scan, the common failures and how to prepare.","breadcrumb":{"@id":"https:\/\/swapnilzambare.com\/blog\/appexchange-security-review\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/swapnilzambare.com\/blog\/appexchange-security-review\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/swapnilzambare.com\/blog\/appexchange-security-review\/#primaryimage","url":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/appexchange-security-review-featured.png","contentUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/11\/appexchange-security-review-featured.png","width":2400,"height":1260,"caption":"AppExchange Security Review featured image showing a package being checked before listing"},{"@type":"BreadcrumbList","@id":"https:\/\/swapnilzambare.com\/blog\/appexchange-security-review\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/swapnilzambare.com\/blog\/"},{"@type":"ListItem","position":2,"name":"AppExchange Security Review and Managed Packages"}]},{"@type":"WebSite","@id":"https:\/\/swapnilzambare.com\/blog\/#website","url":"https:\/\/swapnilzambare.com\/blog\/","name":"Swapnil Zambare - Blog","description":"Salesforce &amp; Tech Guides","publisher":{"@id":"https:\/\/swapnilzambare.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/swapnilzambare.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/swapnilzambare.com\/blog\/#organization","name":"Swapnil Zambare - Blog","url":"https:\/\/swapnilzambare.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/09\/site-icon-512.png","contentUrl":"https:\/\/swapnilzambare.com\/blog\/wp-content\/uploads\/2026\/09\/site-icon-512.png","width":512,"height":512,"caption":"Swapnil Zambare - Blog"},"image":{"@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.linkedin.com\/in\/theSwapnilZambare"]},{"@type":"Person","@id":"https:\/\/swapnilzambare.com\/blog\/#\/schema\/person\/10b09224c8bcc562716e86789427592a","name":"Swapnil Zambare","sameAs":["https:\/\/swapnilzambare.com\/blog"],"url":"https:\/\/swapnilzambare.com\/blog\/author\/swapnil-zambare\/"}]}},"_links":{"self":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts\/2528","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/comments?post=2528"}],"version-history":[{"count":2,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts\/2528\/revisions"}],"predecessor-version":[{"id":3409,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/posts\/2528\/revisions\/3409"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/media\/2525"}],"wp:attachment":[{"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/media?parent=2528"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/categories?post=2528"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/tags?post=2528"},{"taxonomy":"swapz_series","embeddable":true,"href":"https:\/\/swapnilzambare.com\/blog\/wp-json\/wp\/v2\/swapz_series?post=2528"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}