Magento Open Source extension audit

A Magento Open Source extension audit inventories every third-party module, theme and language package, tests each one for security, code quality, upgrade compatibility and overlap, and ends with a keep, replace or remove decision for each.

On this page

Why a Magento Open Source extension audit comes before every upgrade

A self-hosted store that has run for years on accumulated third-party extensions faces a hard choice when it must move to a supported 2.4.x release or a new platform: which extensions survive the move, and which are removed or replaced. The extension audit makes that decision before any upgrade work is scoped, because every extension that stays must be checked for compatibility, security and code quality on the target version. Adobe's upgrade guide names customizations, extension count, third-party integrations and coding practices as drivers of upgrade effort, so the audit is the step that shows which of those drivers are present in your store and how large each one is.

Timing matters because Adobe's upgrade guide recommends upgrading every patch cycle to stay secure and PCI compliant. A store that falls behind carries unpatched code and a larger gap to close later, and abandoned extensions make that gap wider because nobody is shipping fixes for them. Overlap is the harder problem: two extensions that both rewrite checkout totals, both add a product attribute, or both post to the same cron job can work in isolation and conflict after the move. These overlaps rarely appear in a module list, so the audit must trace what each extension changes in the database, the layout files, the events it observes and the Composer dependencies it pulls in. Confirm each extension's last release date, its support status with the vendor, and whether it declares compatibility with your target 2.4.x version, since the Upgrade Compatibility Tool and the Adobe Commerce upgrade guide overview cover the core checks but not the vendor's own claims.

Treat the audit as an input to the upgrade plan, not a substitute for testing. Its output is a keep, replace or remove decision for each extension, with reasons, owners and the security findings that must be fixed first. Those decisions then drive the test scope: staging installs, regression runs on checkout, payments and integrations, and performance checks on the target PHP and service versions. An audit that says an extension looks clean still has to be proven by running the store on the new stack. Ask whoever runs the audit to deliver the list of extensions with their evidence, the replacement candidates and the open risks, so the upgrade team can plan against them directly.

Which extension parts an audit has to inspect

An extension can touch far more than the storefront. Each part below can change behavior, expose data or alter upgrade effort, so the audit should inspect every one of them rather than only the extension's front end output. Confirm the exact file layout and component types against your own codebase before you start.

Modules under app/code

Modules are the main way third-party code extends Magento Open Source, and they follow a PSR-4 compliant structure. Review each module's registration file, composer metadata and namespace to confirm it loads from the path it claims. Look first for code that writes to the database directly, calls external services, or sits in a vendor namespace that no longer maintains the package. Check the namespace and author on every module.

PHP development docs

Themes

Themes control the templates, layout XML and JavaScript that render checkout, product pages and the admin. A theme extension can inject scripts into payment pages, which matters for PCI DSS scope and for Content Security Policy behavior. Review inline scripts, third-party tags and any template overrides that duplicate core templates, since those usually break on upgrade.

Language packages

Language packages add translated strings and locale files. They look low risk, but a poorly built package can override core strings, carry unreviewed text into checkout messages, or ship stale translations that mislead customers after an upgrade. Check which locales are installed, who maintains each package and whether any package adds executable code beyond translation files.

Dependency injection configuration

Plugins, preferences and observers are declared in di.xml and events.xml files and change how core classes behave at runtime. A preference silently replaces a core class, so every later upgrade must reproduce that replacement. Map each plugin and preference to the core method it intercepts, and flag any preference that replaces a class used by checkout, pricing or authentication.

Cron jobs and indexers

Cron jobs and indexers run in the background, often with database write access and no visible user action. A misconfigured job can lock tables, reprocess orders or send data outside the store on a schedule nobody monitors. List every job declared in crontab.xml, its schedule and its effect, and compare the indexers it adds against the ones the store actually needs for catalog and price accuracy.

Exposed REST and GraphQL endpoints

Extensions can add REST routes and GraphQL schema fields that are reachable from the public internet, sometimes without authentication or with broader access than the admin intends. Review each route's declared ACL resource, whether it is anonymous, and which customer or admin data its responses include. Confirm the exact endpoint list against your own environment, because a single extension can add several.

How to run the audit in sequence

The sequence turns an unknown set of installed extensions into a documented decision list, with each extension tied to a business function, a compatibility result and a recorded owner sign-off before the upgrade or migration starts.

  1. Build a full extension inventory

    Start by listing every third-party module the store runs. Read the requirements in composer.json, compare them with the modules registered in app/etc/config.php and the files under app/code and vendor, and check the module status and version recorded in the database. Record the module name, vendor, version, source (Composer or manually copied), enabled status and the Magento release it was last tested against where the vendor states it. Look for modules present on disk but disabled, and for code copied into the project that no Composer entry explains. The inventory sheet is complete when every module found in the three sources appears once, and each gap between them has a stated reason or an open question for the team.

  2. Map each extension to a business function

    For each row in the inventory, write down the business process it supports, such as tax calculation, shipping rates, payment capture, ERP order export, product feeds, reviews or marketing tags. Ask the merchandising, finance, operations and development leads which functions they rely on and which they have never used. Mark extensions with no owner, no named function or no active use as candidates for removal. The output is the inventory sheet with a function column and an owner column filled in, and a short list of extensions nobody can explain.

  3. Run the Upgrade Compatibility Tool against the target release

    Run Adobe's Upgrade Compatibility Tool against the codebase with the 2.4.x target release you plan to move to, and save the full report. The tool is referenced in Adobe's upgrade guide and checks code against the target version. Note which findings come from third-party modules and which come from custom code or the core. Confirm the target release against the Adobe lifecycle and released versions pages before you run it, and check the matching system requirements for PHP, database, search and cache versions. The compatibility report, with findings grouped by module, is the artifact for this step.

  4. Review extension code for security and maintenance risks

    Review each third-party module for direct overrides of core classes or templates, which often break on upgrade. Search for raw SQL built from request input, unparameterized queries, and hardcoded API keys, passwords or tokens in PHP, XML, JavaScript and config files. Check the composer dependency tree for packages with no recent releases, known vulnerabilities or licenses your legal team has not approved. Confirm whether the vendor still publishes patches for the Magento versions you run. A security engineer or senior developer should do this review, and the result is a findings log with a severity and a file path for each issue.

  5. Identify functional overlap between extensions

    Group the inventory by function, and flag any function served by two or more modules, such as two shipping calculators, two cache or performance tools, or two SEO or sitemap generators. Overlap often causes conflicting plugins, duplicated observers and unexpected checkout behavior. Test which module actually handles each event in a staging copy by checking plugin and observer declarations in di.xml and events.xml. The overlap map, with each duplicated function and the module that currently wins, is complete when every shared function has a single named candidate to keep.

  6. Score each extension and assign keep, replace or remove

    Score every extension on the same criteria: business need, security findings, compatibility result, code quality, vendor support for the target release, and overlap. Use a simple scale your team agrees on before scoring, and record the reason for each score. Assign one of three decisions: keep if the extension is needed, compatible and maintained; replace if the function is needed but the extension fails on security, compatibility or support; remove if no function depends on it. Add a replacement candidate for each replace decision, and a removal plan for each remove decision that lists the data and configuration it stores. The decision register is the artifact for this step.

  7. Confirm decisions with the business owner and record them

    Send the decision register to the business owner for each function, and ask them to confirm or challenge each keep, replace and remove decision in writing. Capture any disagreement and the agreed resolution, including who accepts the risk of keeping a module with open findings. Record the confirmation date, the approver's name and the version of the register they approved. Store the signed register with the upgrade or migration plan. The step is done when every extension has a recorded owner decision, and no decision is still waiting on an unanswered question.

Keep, replace or remove: choosing the outcome for each extension

This table compares the five outcomes available for an installed extension: keep it, keep it with a patch or fork, replace it with a maintained extension or custom module, replace it with a core feature or newer release, or remove it. Read each row against the extension's maintenance status, its compatibility with your target Magento Open Source release, and the operational work it leaves your team with. The main takeaway is that keeping an extension is only cheap while its vendor keeps releasing compatible versions.

OutcomeChoose it whenOperational cost
Keep as isThe vendor actively maintains it, publishes releases for your target 2.4.x line, and it passes your regression tests on that lineRoutine updates each patch cycle, retesting after every core and PHP change, and monitoring the vendor's release notes
Keep with a patch or forkThe extension is still needed, but a defect or security gap blocks the upgrade and the vendor has not fixed itYour team owns the diff, must reapply it on every update, and carries the risk of drifting from upstream
Replace with a maintained extensionA current, maintained alternative covers the same function and confirms support for your target releaseMigration of settings and data, a new vendor dependency, and a fresh security review before installation
Replace with a custom moduleNo maintained extension fits the business rule, or the extension does more than you use and a narrow module is simplerCustom code to maintain through every upgrade, documentation, and your own test coverage for the module
Replace with a core feature or newer releaseThe extension duplicates functionality now in Magento Open Source or in a release you plan to move toConfiguration changes and retesting of the core feature, plus reviewing whether the newer release is on your upgrade path
RemoveThe extension is unmaintained, overlaps other tools, or serves no current business processData cleanup, removing its database tables and configuration, checking for dependent customizations, and retesting affected flows
Mage-OS as the target distributionYou are evaluating the community distribution built on Magento Open Source, which states upstream compatibility with Magento 2 extensionsConfirm compatibility for each of your extensions before assuming it carries over; the stated compatibility does not replace your own testing

How audit findings feed the keep, replace or remove decision

The audit starts with a full inventory of installed extensions, including each module's vendor, version and whether it is still in use. Four review tracks then run in parallel: security, code quality, upgrade compatibility and functional overlap. Their findings meet at a scoring step, where each extension is marked to keep, patch or fork, replace, or remove. Every branch ends with a retest on a staging copy of the target release, so no decision goes live untested.

Four review tracks feed one scoring step, and each decision is retested on staging.

What drives the audit effort and how to keep it down

This table lists the factors that raise the effort of a Magento Open Source extension audit, how each one does so, and one practical way to reduce it. Read it before scoping the audit so you can cut work that does not affect the upgrade or migration target.

DriverWhy it raises effortHow to keep it down
Number of installed extensionsEach extension needs a code review, a compatibility check against the target version and a decision on keep, replace or remove, so effort grows with every addition.Remove unused or abandoned extensions before the review starts and confirm each remaining one has a clear owner and purpose.
Core overrides and custom codeRewritten core classes, plugins that touch many methods and undocumented preferences break on upgrade and need line-by-line review.Export a list of overrides and preferences first, then review those files before reading general extension code.
Payment, shipping and tax integrationsThese sit on checkout and money flows, so each one needs functional and security testing and often vendor confirmation of supported versions.Prioritize payment and checkout paths in the first pass and confirm vendor support for the target PHP and Magento versions early.
ERP and other third-party integrationsCustom connectors carry credentials, queues and data mappings that must be traced end to end, and their failure modes are often undocumented.Map each integration's data flows and credentials on one page so the reviewer can test sync and failure handling together.
Missing or inconsistent documentationWithout install notes, configuration records or change history, reviewers must reverse-engineer intent before judging risk.Ask the vendor or original developer for version, configuration and support status, and record gaps as findings instead of guessing.
Age of current release relative to targetA larger gap between the installed 2.4.x line and the target means more deprecated APIs, PHP changes and extension rewrites to assess.Run the Upgrade Compatibility Tool on the current codebase and use its results to narrow manual review to flagged items.
Number of environments to testEach environment such as staging, performance and integration needs its own test pass, configuration check and data set.Agree in writing which environments are in scope and test the highest-risk extension behavior on one representative environment first.

Security checks for each extension

Each installed extension is a piece of code with access to customer data, admin sessions and, in some stores, payment pages. The checks below give every package the same questions and the same evidence, so the keep, replace or remove decision rests on records rather than memory. Run them before the upgrade or migration starts, and rerun them for any extension that changes version.

Confirm source and license

Record where each package came from, its vendor, its license and the exact version installed. Compare the installed code against the vendor's published release so that modified or unofficial copies are found early. Check that the license permits your intended use and that no package depends on an abandoned or unknown repository. Packages without a traceable origin go to the remove or replace list until the vendor can be confirmed. Ask the vendor for a written statement of the license and the release channel used.

Check direct access to payment data

Identify every extension that reads, stores, logs or renders cardholder data, or that injects scripts or forms into checkout, payment or admin payment pages. Any such package widens the PCI DSS scope of the store, so record it explicitly for the assessor. Look for code that posts payment fields to a third party, writes card-related values to logs or database tables, or loads external scripts on payment pages. Where a payment method can be moved to hosted payment fields, note that option as a replacement path.

Review controller and API authorization

Review each controller, REST endpoint and GraphQL resolver the extension adds, and confirm that each one checks both authentication and authorization. Look for routes that return customer or order data without a session check, admin actions reachable by a customer role, and endpoints that accept input without validation. Test the most sensitive routes with an unauthenticated request and with a low-privilege account. Record each finding with the route, the expected behavior and the observed result, and send unresolved routes to the vendor or the replace list.

Review credential and secret handling

Check how the extension stores admin credentials, API tokens, third-party keys and webhook secrets. Secrets should not be hard-coded in PHP, templates or JavaScript, written to logs, or saved in plain text in configuration tables that anyone with admin access can read. Confirm whether the extension supports environment-based configuration and who can view or rotate the keys. Record where each secret lives, who holds access to it and how it would be rotated if the package were compromised.

Check Content Security Policy compatibility

From 2.4.7, Content Security Policy runs in restrict mode by default on storefront and admin payment pages, so an extension that injects inline scripts or loads scripts from new domains may break checkout or admin payment screens. Test each extension that touches front end or payment pages with the policy in restrict mode, and record every blocked resource. Inline script blocks, unlisted CDN hosts and third-party widgets are the usual causes. Fixes may involve moving scripts into bundled assets or adding a reviewed policy entry, and each change should be recorded.

CSP docs

Confirm continued security fixes

Confirm that the vendor still publishes fixes for the Magento versions you plan to run, including the version you will upgrade to. Check the release history, the vendor's support statement and whether the extension has been updated since the most recent platform release. An extension without recent fixes is a risk even if it works today, because a later platform patch can break it or leave a known flaw open. Record the last release date, the supported platform range and the named contact for security reports.

How to confirm the audit held up after the upgrade

The test of an extension audit is whether the decisions still hold once the store runs on the target Magento Open Source release. Build a staging copy on that release with the same extension set after the keep, replace and remove decisions are applied, then re-run the Upgrade Compatibility Tool against it and read its output as a checklist of what still conflicts. Confirm the target version and its PHP, MySQL or MariaDB, OpenSearch and Redis or Valkey versions against the Adobe Commerce system requirements before you test, since an extension that passes on one stack can fail on another.

Functional testing should follow the revenue paths. Checkout, payment, customer account, catalog and any ERP sync each need scripted test cases that cover the replaced extensions first, because those are where the audit changed behavior. Confirm that payment methods still authorize and capture, that tax and shipping calculations match the pre-upgrade store, and that ERP orders, stock and price updates arrive once and not twice. Review the admin for modules that are disabled, throwing errors in the system log or missing from configuration pages, and check that the decisions you made about removed extensions did not leave orphaned database tables, configuration rows or cron jobs behind. Ask your developer to list those artifacts before removal and to compare the list after it.

Plan for failure before you cut over. A safe failure has a tested rollback path that restores the code and database snapshot taken before the upgrade, a feature flag or disabled module for any replacement that misbehaves, and a documented known-issue list that names each open defect, its workaround and its owner. Keep the list in the project record so the operations team and any later assessor can see what was accepted at go-live. Agree with the vendor or partner in writing who decides whether a defect blocks cutover, because that decision is what keeps a single failing extension from becoming an outage.

How the audit changes by target platform and deployment

An in-place upgrade on a self-managed Magento Open Source store keeps the same codebase, hosting and data, so extensions run against a new core and new service versions at the same time. The audit must confirm that each extension still works with the target 2.4.x release and its required stack. Adobe's system requirements for 2.4.9 list PHP 8.5, MySQL 8.4 or MariaDB 12.3 (recommended) or 11.8, OpenSearch 3, Redis or Valkey 9, RabbitMQ 4.3, Composer 2.10 and nginx 1.30, and Adobe supports only the listed combinations.

  • Varnish configuration: Check whether the extension ships its own VCL, cache-tag logic or full_page cache exclusions that conflict with Varnish, which Adobe documents as the full-page cache accelerator for self-managed installations.
  • Redis or Valkey usage: Confirm which cache or session backends the extension writes to, including key prefixes and database numbers, and whether it flushes the whole cache on save.
  • Content Security Policy: Verify that the extension's scripts and inline payment or widget code work with CSP restrict mode, which runs by default on storefront and admin payment pages from 2.4.7.
  • Dependency and PHP compatibility: Ask for the PHP and Composer version range the vendor tested against the target release, not only the current one.
  • Upgrade Compatibility Tool results: Run the tool and record which extension findings remain open.

Ask the vendor which 2.4.x releases they have tested, whether they will provide a patch within your upgrade window, and what they change in cache and configuration files between versions.

What to record and recheck after the audit

The audit is only worth its cost if the team can reuse it at the next patch cycle without starting over. Keep four records: an extension register with one row per installed package and columns for owner, purpose, vendor, installed version, license, decision (keep, replace or remove) and decision date; a compatibility report showing which extension versions were tested against which Magento Open Source and PHP combinations; a list of core overrides and custom patches with the file, the reason it exists and the extension or customization that depends on it; and the security review notes and retest results for each extension that stayed. Store them in version control or the same document system as the upgrade plan, not in someone's mailbox, so the next reviewer can see what changed and why.

Adobe's upgrade guidance recommends upgrading every patch cycle to stay secure and PCI compliant, and it names extension count and third-party integrations as drivers of upgrade effort. That makes a recurring check the practical way to keep the register current. At each Adobe patch cycle, confirm the release and the matching system requirements in the Adobe Commerce released versions list, rerun the Upgrade Compatibility Tool against the register, and retest only the extensions and overrides flagged as affected. Record any extension vendor that has stopped publishing compatible releases as a replacement candidate, not as a surprise at upgrade time.

Require a re-audit before any new extension is installed, even one the team considers trivial. The check should compare the candidate against the register for overlap with existing functionality, confirm its license and vendor are acceptable to the security team, review its code for direct database writes, unsafe file handling and changes to core classes, and test it in a staging copy. Add the approved extension to the register on the same day it is installed. Ask the vendor which Magento Open Source versions it supports, and confirm that answer in writing before procurement signs off, because vendor claims about compatibility are not a substitute for your own test results.

Questions buyers ask about a Magento Open Source extension audit

What does a Magento Open Source extension audit cost?

The cost depends on how many extensions are installed, how much custom code sits around them, how many integrations they touch, and how many environments must be tested. A fixed-scope audit is priced from a written scope, so the quote should list the extension inventory, the review depth for each extension (configuration, code, and runtime behavior), the test environments, and the deliverables. No public figure applies here, so ask any provider to itemize these inputs. Recurring costs are separate: if you keep an extension, you may pay for its license, vendor support, and future compatibility fixes.

How long does an extension audit take?

Duration follows the inventory and the testing scope more than the number of days in a calendar. A store with a short list of well-maintained extensions and clear owners moves faster than one with abandoned modules, overlapping features, and undocumented patches to core. Runtime testing on a staging copy takes longer than a code review alone, and the upgrade target matters: testing against a newer 2.4.x release and its PHP version adds compatibility work. Ask for a timeline that separates inventory, review, testing, and the keep, replace, or remove decisions.

What does our internal team need to provide for the audit?

The auditor needs four things: read access to the codebase and the Composer dependency list, admin access to review extension settings and roles, named business owners for each function the extensions support (such as tax, shipping, promotions, and ERP sync), and a staging environment that mirrors production closely enough to test. Without the business owners, decisions about replacing a feature stall. Without a staging copy, runtime checks such as checkout, payment callbacks, and cron jobs cannot be verified safely.

Can our in-house team run the extension audit alone?

Yes, if the team has someone who can read PHP and Magento module structure, someone who understands the store's order, payment, and ERP flows, and someone who can run security checks against a staging copy. The work needs a clear method: an inventory of every module and theme, a check of each vendor's release history and compatibility claims, a review of custom code that touches checkout or customer data, and a test plan for the upgrade target. Teams without security testing experience often miss injection paths and overly broad admin permissions, so they may bring in an outside reviewer for those steps only.

Can we run an extension audit without a planned upgrade?

Yes. An audit is useful on its own because extensions are a common source of security exposure, stale code, and conflicts, whether or not an upgrade is scheduled. Without an upgrade date, the audit can focus on risk: known vulnerabilities in installed versions, extensions that no longer receive updates, and permissions granted to admin users. The result is still a keep, replace, or remove list, but the compatibility tests against a target version come later, when the upgrade is planned.

What do we do with an extension whose vendor no longer responds?

First, confirm the vendor's status: check whether the extension still lists supported Magento versions, whether it receives patches, and whether the code is public. If the vendor is unresponsive and the extension is still needed, the options are to fork and maintain the code internally, have a developer patch it under your own license terms, or replace it with a maintained alternative or custom module. Removing it is often the lowest-risk choice when the feature is marginal. Whichever path you take, record the decision, the owner, and the test evidence so the next upgrade has a clear starting point.

Which parts of Magento Open Source should the audit check against?

Check each extension against the Magento Open Source version you run today and the version you plan to reach. Adobe's system requirements list the supported combinations of PHP, database, search, cache, and queue services for each release, and only those combinations are supported. Adobe's upgrade guide also names the extension count and third-party integrations as drivers of upgrade effort. Your audit should therefore record each extension's supported Magento and PHP versions, and flag any that depend on a version outside the target platform.

How DeployOpen scopes, runs and hands over an extension audit

DeployOpen plans, tests and documents self-hosted Magento Open Source platforms inside the client's own infrastructure. For an extension audit, we review each installed third-party extension against security, code quality, upgrade compatibility and overlap, then deliver a written keep, replace or remove decision list that your team can act on.

How we scope

  • Engagements are fixed-scope, with the extension list, deliverables and timeline agreed in writing before work starts.
  • The written scope names the Magento Open Source version you are on and the target 2.4.x release for the upgrade.
  • We confirm which extensions are in scope, including those installed in the codebase but not in active use.

How we build

  • We inventory each extension's modules, plugins, observers, preferences and database changes against the codebase.
  • We review code for security issues, deprecated core API use and risky patterns, and test compatibility on a staging copy.
  • We map overlapping extensions so each feature has one owner, and record which custom code depends on each extension.

How we hand over

  • You receive a keep, replace or remove register with the reasoning, risk level and effort notes for every extension.
  • Findings include reproduction steps, affected files and suggested fixes, so your developers can act without a second discovery phase.
  • We walk your engineering and compliance leads through the report and confirm the sign-off steps for removals.

How we support

  • Ongoing support, upgrades and continuous testing are available as retainers, so extension reviews can repeat each patch cycle.
  • A retest after fixes confirms that removed or patched extensions no longer create the reported issues.
  • Ask us to confirm retainer scope in writing, including how new extensions are vetted before installation.

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.