Magento Open Source security hardening

A build and operations guide to hardening a self-hosted Magento Open Source store that takes payments, covering patching, admin access, CSP, extensions, WAF and malware monitoring.

On this page

Why Magento Open Source security hardening is a continuing job, not a one-time setup

Hardening a self-hosted Magento Open Source store is a recurring, patch-driven discipline, not a project you finish at launch. If your store takes card payments, your acquirer and any assessor will ask how you keep the platform current, who applies fixes, and how quickly. Those answers depend on the 2.4.x release line you are on and on the work you do after go-live, not on the hardening checklist you completed before opening the store.

The lifecycle sets the clock. Adobe's lifecycle policy gives each 2.4.x release three years of standard support from general availability, with end of regular support on August 11, 2026 for 2.4.6, May 31, 2027 for 2.4.7, May 31, 2028 for 2.4.8 and May 31, 2029 for 2.4.9. Adobe's upgrade guide recommends applying every patch cycle to stay secure and PCI compliant. Confirm the end-of-support date for your exact version in the Adobe Commerce lifecycle policy, and put the next patch window in your team's calendar before you need it.

What makes this harder than it looks is that the store is a combined system. Core code, the PHP and database versions it runs on, Redis or Valkey, OpenSearch, RabbitMQ, nginx, your theme, every third-party extension and the hosting layout all change on their own schedules. A core patch can break an extension, and a PHP upgrade can break a module you wrote. Before each cycle, confirm which versions your environment matches in Adobe's system requirements, and record who owns the patch, the regression test and the rollback for each layer.

How the hardening layers fit around the store

The diagram starts with a visitor or admin request reaching the WAF and edge, then passes to nginx and PHP-FPM on the application server. Admin requests pass through two-factor sign-in before reaching the back office, while storefront responses carry CSP headers that limit which scripts run on the page. Inside the trust boundary, the database, OpenSearch, Redis or Valkey, RabbitMQ and Varnish hold store data and must be reachable only from the application tier. The payment provider sits outside the boundary, so the review should confirm which payment page scripts and fields touch card data.

Request path through edge, application server and backing services, with the payment provider outside the boundary.

Which parts of the stack carry security controls

A Magento Open Source store is a stack of components, and each one holds part of the security boundary. Hardening works only when the core, runtime, admin area, browser policy, extensions and edge layer are reviewed together, because a gap in one can bypass controls in another.

Magento core and patch level

The core code sets the baseline for every other control. Confirm which 2.4.x release and patch level you run, and compare it with Adobe's lifecycle dates before you plan changes. Check the patch level on every environment, including staging and any standby node, because a store that is patched in production but not in a clone can still expose the same flaw. Adobe's guidance is to apply each patch cycle to stay secure and PCI compliant.

2.4.8 end of support
May 31, 2028
Lifecycle policy

PHP and nginx runtime

The PHP and nginx versions must be on Adobe's supported list for your release, and Adobe supports only the listed combinations. Check the PHP version, the PHP-FPM pool user, the disabled functions list and the nginx configuration that blocks direct access to private directories. Unsupported runtimes are a common reason a patched core still fails a review.

2.4.9 PHP version
PHP 8.5
System requirements

Admin area and its URL

The admin panel is the highest-value target in the store because it controls products, orders, payment settings and users. Change the default admin path, enforce two-factor authentication for every admin account, restrict admin access by network where your team allows it, and review the admin user list on a fixed schedule. Confirm with your own environment which admin login options your edition and extensions support.

Content Security Policy configuration

CSP limits which scripts can run on payment and account pages, which matters when a skimmer injects code into checkout. Magento Open Source supports CSP headers from 2.3.5, and from 2.4.7 the policy runs in restrict mode by default on storefront and admin payment pages. Review every allowlisted script source, especially third-party tags added by marketing extensions, and test checkout after each change.

CSP documentation

Third-party extensions and themes

Extensions and themes run with the same privileges as core code, so each one is part of your attack surface. Inventory every module and theme, record its source and last release, and remove anything no longer used. Adobe names extension count and third-party integrations as drivers of upgrade effort, so an unvetted module also raises the cost of the next patch.

Edge layer: WAF and Varnish

The edge layer sits between visitors and the store and can filter traffic before it reaches PHP. Varnish is the full-page cache for self-managed installations, so its rules decide which requests reach the application and which cached pages are served. Confirm which rules bypass the cache for admin, cart and checkout paths, and that the web application firewall is tuned for your store rather than left at defaults.

Varnish cache guide

How to harden a Magento Open Source store in sequence

The sequence starts with knowing which release line the store is on and ends with monitoring that would catch a compromise. Each step depends on the one before it, so a store that skips ahead ends up hardening a version it is about to lose support for.

  1. Confirm the current 2.4.x line and end of support date

    The platform owner or lead developer records the installed Magento Open Source version, the PHP, database, search, cache and queue versions in use, and the end of regular support date for that line. Adobe's lifecycle policy sets three years of standard support from each release's general availability, with end dates such as August 11, 2026 for 2.4.6 and May 31, 2028 for 2.4.8. If the line ends within the planning horizon, the upgrade moves to the front of the queue. Done when the team has a one-page record of version, support end date and owner, checked against the lifecycle policy page.

  2. Apply the latest patch with matching PHP and service versions

    The engineering lead applies the latest patch for the installed line in a staging copy first, then in production. Adobe's system requirements list the PHP, MySQL or MariaDB, OpenSearch, Redis or Valkey, RabbitMQ, Composer and nginx combinations it supports for each release, and it supports only the listed combinations, so service versions are checked at the same time as the code. Illustrative example: a store on 2.4.8 would confirm 2.4.8-p5 requirements before changing anything. Done when staging passes the storefront, checkout and admin smoke tests and the production version output matches the tested build.

  3. Lock down file permissions and the deployment user

    The systems administrator separates the account that deploys code from the web server account that runs PHP, so the web process can read the application and write only to the directories it needs, such as media, generated and var. Code directories should not be writable by the web user in production, and the env.php file that holds database and key settings should be readable only by the accounts that need it. Done when a scripted check of owners and modes on the installation root returns no world-writable application files and the deployment account is documented with its scope.

  4. Move the admin URL and enforce two-factor authentication

    The platform owner changes the default admin path using the configured admin URL setting, then enables two-factor authentication for every admin role and removes accounts that no longer need access. Adobe's security guidance covers both controls, and the team should confirm the exact configuration keys in the version they run. Moving the path reduces automated noise but is not an access control, so the step also restricts admin access by network where the hosting setup allows it. Done when a login attempt on the old path fails, each admin account requires a second factor, and the admin user list matches the approved roster.

  5. Enable and tune CSP in restrict mode for payment pages

    The front end developer turns on Content Security Policy headers and tunes the policy on storefront and admin pages, starting with the checkout and payment pages where card data is handled. Adobe's developer documentation states that from 2.4.7, CSP runs in restrict mode by default on storefront and admin payment pages, so the team tests each third-party script the payment flow loads and records why it is allowed. Done when checkout and payment pages load with no blocked required scripts in the browser console, and the policy file lists every external origin with its owner.

  6. Vet extensions and remove those that are not needed

    The developer lead inventories every third-party module and theme, checks each one's source, maintenance status and compatibility with the current version, and removes any that are unused or unmaintained. Modules that touch checkout, payments, customer data or admin login get a code review before they stay, since they run with the same privileges as core code. Adobe's upgrade guidance names extension count and third-party integrations as drivers of upgrade effort, so the list also shortens future work. Done when the module list is signed off, removed packages are gone from the codebase and lock file, and each remaining extension has a named owner.

  7. Place a web application firewall in front of the store

    The infrastructure engineer routes public traffic through a web application firewall, either a managed service or a self-hosted product that fits the client's network design. Rules should cover common web attacks and be tuned on the store's real traffic in monitor mode before blocking is enabled, with admin paths restricted where possible. Confirm with the chosen vendor which rule sets and Magento-specific protections it provides, since capabilities differ. Done when a test request with a known attack pattern is blocked or logged as configured, normal checkout traffic passes, and the firewall logs reach the team's monitoring.

  8. Enable malware and file-integrity monitoring

    The security engineer enables a file-integrity monitor and a malware scanner on the web tier, baselines the installed code after the patch and extension changes, and sets alerts to a team channel that someone reads. Changes to core files, env.php or the admin user table should raise alerts, and the baseline is rebuilt only after an approved deployment. Done when a test change to a non-production file triggers an alert within the monitor's normal reporting cycle, and the team has a written response step for a confirmed finding.

Choosing the right controls for your store's risk profile

A web application firewall can sit at the network edge as a managed service, or run on the host or web server as rules your team maintains. A managed edge service inspects traffic before it reaches your infrastructure and is usually the faster way to block known attack patterns and bot traffic, but it adds a third party to the request path and a recurring fee that you should confirm in writing. Host-level rules keep inspection inside your environment and give you full control over rule tuning, logging and data flow, but someone on your team must write, test and update those rules as Magento and its extensions change.

  • Fit for edge services: teams with no dedicated security operations staff and a need to filter traffic before it reaches the store.
  • Fit for host rules: organizations with strict data residency terms or an internal security team that wants direct control over logs.
  • Operational cost of edge: configuration reviews, false-positive handling on checkout and admin paths, and contract terms for logs and data location.
  • Operational cost of host rules: rule authoring, regression testing after each patch, and log storage and review.
  • Hybrid option: some teams run both, with the edge filtering volume and the host enforcing admin-specific restrictions.

Before choosing, confirm with your provider which requests are logged, where logs are stored, and how exceptions are requested for checkout and payment callbacks.

How Content Security Policy protects checkout pages

Content Security Policy (CSP) is the browser-enforced allowlist that tells a shopper's browser which scripts, frames and connections a checkout page may load, and Magento Open Source supports CSP headers from 2.3.5. From 2.4.7, CSP runs in restrict mode by default on storefront and admin payment pages, so a policy that was previously only reported is now enforced there. Confirm in your own environment which release line you run and whether any CSP settings were changed from defaults, because a store upgraded from an older line may behave differently from a fresh install. The developer documentation on content security policies is the starting point for the configuration keys involved.

Before tightening anything, inventory every script source the checkout loads. That list includes the theme and Magento's own bundles, third-party tags such as analytics and tag managers, fraud and device-fingerprinting scripts, and the payment provider's hosted fields or redirect scripts. Ask the payment provider which domains, frames and connect endpoints its checkout needs, and ask each extension vendor the same question. Capture the list by walking the full checkout path in a staging copy with the browser console open, including address entry, shipping selection, payment and the order confirmation page, since some scripts only load on a specific step.

A missed script usually fails quietly. The shopper sees a payment form that does not render, a button that does nothing, or a card field that never submits, and the browser console shows a blocked-resource message. Test each payment method, each shipping method that calls an external service, and both guest and logged-in checkout, and run the policy in report-only mode first where your setup allows it. Record the blocked sources, add only the ones you can justify, and retest. Where a finding traces to an extension you do not recognize, treat that as a signal for the extension review described elsewhere on this page, not as a reason to widen the policy.

Hardening controls that protect admin and file access

Admin access and file access are where most self-hosted Magento stores are compromised, and the controls here reinforce each other. Each card covers one control, what it does and what it does not stop. Confirm every setting against your installed version, since menu paths and defaults change between 2.4.x releases.

Change the admin URL, knowing its limits

Changing the default admin path, set in env.php under the backend frontName, reduces automated scanning noise but does not stop a determined attacker who can find the path through links, error pages or leaked configuration. Treat it as one layer. Confirm the setting name and how to apply it in your installed version, and check that scheduled jobs, integrations and bookmarks are updated after the change.

Require 2FA for every admin account

Every admin account needs two-factor authentication, with no exceptions for integrations or senior staff. Confirm which second factor methods your installed version and enabled modules support, and whether the store enforces enrollment or only offers it. Test the recovery path too: a lost device with no backup codes is a common cause of locked-out administrators and of emergency account resets.

Assign least-privilege admin roles

Create roles that match real duties, such as catalog editing, order handling or content work, and keep full administrator rights to a small named group. Review which resources each role can reach, especially system configuration, payment methods, user management and integration tokens. Document who approved each role, because auditors ask for evidence of access reviews as much as for the access itself.

Separate code permissions from media and env files

Code directories should be readable by the web server but not writable by it in production, with only deployment steps allowed to change them. Media and generated directories need write access, but only for the paths that require it. Protect app/etc/env.php so that only the deploy user and web user can read it. Confirm the exact permission scheme for your version and hosting layout against the official installation guidance.

Keep database and payment credentials out of the web root

Database passwords, payment gateway keys, ERP tokens and mail credentials should live in app/etc/env.php or a secrets store outside the document root, never in theme files, public scripts, backups served by the web server or version control. Check that directory listings are disabled and that .sql, .log and backup files cannot be fetched over HTTP. Ask your hosting team how credentials rotate.

Remove unused admin accounts and tokens

Dormant administrator accounts, former contractors and old integration tokens are a common way in. Disable or delete accounts that have not signed in for an agreed period, and revoke integration access tokens when the integration they served is retired. Run this review before each patch cycle, and record the result so the review itself is evidence an assessor can inspect.

What drives hardening effort and how to keep it down

This table lists the factors that make a Magento Open Source hardening project larger or smaller, with the lever that reduces each one. Read each row as a question to answer about your own store before asking for a quote, since the same driver can add far more work on a store with many extensions than on a lean one. The main takeaway is that most effort comes from what you have added to core, so removing and standardizing reduce work more than any single hardening control.

DriverWhy it changes effortHow to keep it down
Number and age of third-party extensionsEach extension adds code to review, patch and retest, and older ones often lack compatibility with current PHP and 2.4.x releasesAudit the list, remove unused extensions, and replace abandoned ones before hardening starts
Customizations to core or themeOverrides of core classes or template files must be re-checked after every patch and can block security updatesMove changes into custom modules following the PSR-4 structure and keep theme changes in a child theme
Number of environmentsEach environment (development, staging, production) needs the same patches, permissions and CSP settings, and drift between them creates gapsStandardize configuration and deploy the same hardened build to every environment, with environment-specific values kept out of code
ERP and payment provider integrationsIntegration endpoints, API credentials and payment scripts widen the attack surface and often sit in PCI DSS scopeLimit integration credentials to the minimum scope, document data flows, and use hosted payment fields where your provider supports them
Admin users and rolesEvery admin account needs two-factor authentication, role review and offboarding, and shared logins are hard to traceCreate named accounts, assign roles by task, remove stale users, and review the list on a fixed schedule
Patch lag from the current releaseFalling behind means more releases of code change at once, and a store on an unsupported line needs a larger upgrade before it can take fixesApply security patches as they ship and plan each move to a supported 2.4.x line before its end of support date, as Adobe's upgrade guide advises

Setting a patch cadence the team can keep

Adopt a fixed patch cadence before the first security bulletin arrives, because Adobe recommends upgrading every patch cycle to stay secure and PCI compliant. The annual full patch for the 2.4.x LTS line ships in May, and security patches are released at least once a year for every supported release line, so a store cannot wait for a yearly window alone. Assign one owner for watching the Adobe Commerce released versions page, and set a recurring check, monthly at minimum, that compares the current production version and its patch level against what is listed. Record the release line, PHP version and service versions in the same log so that each new patch is judged against your actual stack, not a memory of it.

Stage every patch in a non-production environment that mirrors production's PHP, MySQL or MariaDB, OpenSearch, Redis or Valkey, RabbitMQ, nginx and Varnish versions. Run the Upgrade Compatibility Tool against your codebase and installed extensions first, then apply the patch, recompile, reindex and test checkout, payment callbacks, ERP sync and admin login with a copy of recent data. Confirm the Adobe requirements page still lists your combination before you schedule the change, because Adobe supports only the listed combinations. Treat the staging result as the input to the go or no-go decision, and keep the rollback steps (code, database and media snapshot) written down before the production window opens.

When a patch is deferred, write down who approved the deferral, the patch identifier, the date it was released, the reason (for example, a blocking extension or an incompatible service version), the compensating controls in place, and the date by which it will be applied or the line upgraded. Keep this record with your PCI DSS evidence, since an assessor will ask how you handled known security updates. Mage-OS is a community-owned distribution built on Magento Open Source, and its site lists releases that port Adobe security patches. If you consider it as a patch source, confirm its current release status and support terms on the Mage-OS site and with its association before relying on it.

How to test that hardening works and fails safely

How do I confirm Content Security Policy headers are working on checkout pages?

Open the storefront and checkout pages in a browser, then check the response headers in the developer tools network panel for a Content-Security-Policy header on each page, including the payment step. A pass means the header is present on storefront and payment pages, the directives match the script sources you approved, and the browser console shows no blocked scripts that your payment provider needs. Adobe documents CSP support from 2.3.5, and from 2.4.7 CSP runs in restrict mode by default on storefront and admin payment pages, so confirm which mode your version applies. A failure means the header is missing, a payment script is blocked, or a third-party extension injects scripts the policy does not list. Treat any missing header as a configuration gap to fix before go-live, and retest after every extension or theme change.

How do I test that admin login rejects a session without the second factor?

On a staging copy, sign in to the admin with a valid username and password, then stop before entering the second factor and try to open admin URLs directly in a new session. A pass means every admin page redirects to the two-factor prompt and no admin data or API response loads without a completed second factor. Repeat the test for each admin role, including roles with limited permissions, and for any single sign-on path, since a bypass there is a common gap. A failure means an admin page or API endpoint answers before the second factor is verified, which usually points to a disabled module, a misconfigured provider, or an extension that registers its own admin route. Record the test steps and results, because an assessor will ask for this evidence.

How do I check that the web root and env files are not readable by the web user?

Log in to the server as the web server user, or run the check through a process that runs as that user, and attempt to read the environment file, the configuration files and a sample of files outside the public directory. A pass means these reads fail with a permission error, and only the public entry point and static assets are served over HTTP. Also request the environment and configuration file paths through the browser and expect a 403 or 404 response, never file contents. Check that the files are owned by the deployment user and that the web user has write access only to the directories Magento needs to write to, such as generated and media paths. A failure means the web user can read secrets or write to code directories, which should be corrected by changing ownership and mode bits, then retested after each deployment.

How do I probe the web application firewall with known attack patterns safely?

Run the probes only against a staging host that matches production configuration, using a test tool or a scripted set of known attack patterns, and keep a list of which rule each probe should trigger. A pass means the firewall blocks or logs each probe category in the way your rule set specifies, and legitimate storefront, checkout and admin traffic still succeeds during the same run. A failure means either a probe reaches the application unchanged, which indicates a missing or disabled rule, or a legitimate request is blocked, which indicates a rule that will break checkout. Tune rules in logging mode first, then move to blocking. Confirm with your firewall vendor which rule sets and signatures are included in your plan, since capabilities vary by product and version.

How do I confirm malware alerts fire on a planted test file?

On staging, place a harmless test file that matches a signature your malware scanner or file integrity tool is configured to detect, in a path the scanner watches, then run the scan or wait for the scheduled job. A pass means the scanner flags the file, the alert reaches the team channel or ticketing queue within the time your runbook sets, and the file is quarantined or reported as configured. Also modify a core file in staging and confirm the integrity check reports the change. A failure means no alert, an alert that goes to an inbox nobody reads, or a scan that never runs because a cron job or permission problem stopped it. Remove the test file afterwards, and record the date, the alert and the responder for your evidence.

How do I test that security patches are applied and the store still works?

Compare the installed version and patch level on staging and production against the release you planned to install, then run your regression checks for checkout, login, admin and integrations. A pass means the version matches the target, the storefront and checkout complete test orders, and the payment and ERP integrations respond as expected. Use the Adobe released versions page and release notes to confirm the patch you installed, since some patches apply to specific version lines. A failure means the version does not match, a module fails during setup, or checkout breaks after the update, which calls for a rollback plan to be tested before the production change, not after it.

How do I check that hardening fails safely when a control breaks?

Simulate a control failure on staging, such as disabling the CSP header, stopping the malware scanner, or turning off the firewall rule, and observe whether the store stays up, keeps payment data protected and raises an alert. A pass means the store continues to serve checkout without exposing payment data or admin access, and monitoring reports the failed control within your target time. A failure means a broken control leaves admin pages open, shows errors that expose configuration details, or silently stops logging. Document the result for each control, and ask your team to confirm which failures should block a release and which should only raise an alert.

What to monitor, back up and document after hardening

This table lists the recurring duties that keep a hardened Magento Open Source store defensible after go-live, with the operational output each duty should leave behind. Use it as a checklist to assign owners, then set the cadence for each duty with your assessor or acquirer rather than adopting a fixed schedule.

DutyWhat to doEvidence to keep
Patch intake and deploymentTrack each Adobe security patch and the matching Magento Open Source release line, test on staging, then deploy to production with a rollback planDated patch log, test results, deployment tickets and the installed version per environment
Admin account reviewsReview admin users, roles, two-factor enrollment and recent admin logins, and remove accounts that no longer need accessSigned access review records, role export and list of removed or disabled accounts
CSP violation reports and script inventoryReview Content Security Policy violation reports, approve new payment page scripts and update the script inventory before deploymentViolation report summaries, approved script list with owners and change tickets
WAF rule and log reviewReview web application firewall blocks, tune rules that cause false positives and confirm admin paths stay restrictedRule change log, sampled block and allow reports, and tuning approvals
File integrity and malware scansRun file permission checks and malware scans on the web tier, then investigate any changed core, module or theme filesScan reports, file integrity baseline comparisons and incident tickets for each finding
Backup and restore testsConfirm backups of code, database and media run as scheduled, then restore to a separate environment and verify the store worksBackup job logs, restore test records with dates, and the time taken to complete each restore
Extension and module changesRecord every installed, updated or removed extension with its vendor, version and security review outcomeExtension register, vendor security review notes and approval records
Evidence pack for assessorsAssemble change records, patch history and access reviews into one set that an assessor or acquirer can read without interviewsIndexed evidence folder covering the last review period, with a named owner and a sign-off date

What buyers ask before hardening a Magento store

How much effort does Magento Open Source security hardening take?

Effort depends mainly on how far the store has drifted from a clean, patched baseline. A store on a current 2.4.x release with few extensions and a documented deployment is a much smaller job than a store on an older patch level with many third-party modules, custom code that has never been reviewed and admin access shared across several people. The main drivers are the number of installed extensions, the amount of custom code in the payment and checkout path, the state of the server configuration, and whether the team already has a patching routine. Adobe's upgrade guide names customizations, extension count, third-party integrations and coding practices as the drivers of upgrade effort, and many of the same factors shape hardening work. Ask any partner to size the work by reviewing those items first.

Can our own team harden the store without outside help?

Often yes, if the team has someone who can administer Linux, nginx, PHP and the Magento command line, and someone who can review extension code and custom modules. The work is well documented, but it touches many layers at once: patch levels, file permissions, Content Security Policy, admin access, the web application firewall and monitoring. Gaps tend to appear in the places nobody owns, such as an extension installed years ago or a staging server that mirrors production secrets. An outside review is useful for an independent view of the store as it is, and for a written list of findings that your team can track. Whichever route you take, confirm who owns each control after the first pass.

What does the work need from our internal staff?

Plan for named people in four roles. A platform or DevOps owner needs to give access to the hosting environment, provide the current deployment layout and approve changes to web server and PHP settings. A store administrator needs to confirm which admin accounts exist, who needs them and how they sign in today. A developer who knows the custom code must explain modules and themes, and a merchant or operations lead must confirm which payment, shipping and ERP flows cannot be interrupted. Ask the partner to list these roles in the written scope, with an estimate of the hours each person will spend in review and testing windows. Those hours are an internal cost even when an outside firm does the technical work.

How long does a first hardening pass take, and what sets that duration?

Duration is set by the same drivers as effort, plus the change window your business can accept. Staging copies, test coverage, the number of environments, and any approval steps for production changes all add time. Patching is a separate track: Adobe's release schedule says security patches ship at least annually for all supported release lines, and Adobe's upgrade guide recommends upgrading every patch cycle, so a first pass should include a plan for keeping up with those releases. Ask the partner for a timeline tied to milestones and named dependencies, not a single number, and confirm which of those milestones depend on your staff's availability.

Does hardening make our store PCI DSS compliant?

No. Hardening reduces risk and supports the controls a payment assessment looks at, but it does not make a store compliant on its own, and no hardening partner can certify it. Compliance is decided by your assessor or acquiring bank against the PCI DSS requirements that apply to your environment and payment design. Work that matters for that assessment includes reducing which systems handle cardholder data, patching on a defined cycle, controlling script on payment pages and keeping evidence of each control. Ask your assessor early which evidence they will request, and read the scope of the Magento Open Source PCI DSS compliance planning material alongside it to see how patching timelines fit your release plan.

What should we ask a partner to put in a written scope?

Ask for a scope document that lists each control area, the environments covered, the systems and extensions reviewed, and the deliverables. Each control should name its method: configuration review, code review, testing of the admin and checkout flows, or a monitoring setup. The document should state what the partner will not do, who approves changes to production, how findings are ranked and retested, and what happens if a finding requires a change to custom code. Confirm the supported Magento Open Source release line and its end of support date, the PHP, database and search versions in use, and whether the security review includes the web application firewall and malware monitoring. DeployOpen agrees scope, deliverables and timelines in writing before work starts, and provides a quote from that written scope.

How DeployOpen scopes and hands over Magento hardening work

DeployOpen agrees the hardening scope in writing before any work starts, because a fixed scope is what lets a CISO or CTO compare the work against an internal estimate and hold a partner to specific outputs. The written scope should name the Magento Open Source version and patch level in use, the store environments covered (production, staging and any admin or integration hosts), the extensions to be reviewed, the controls to be implemented and the evidence to be delivered. Ask for each item to be listed by name, so that the review of the current state, the build work and the retest each have a defined end point. Confirm early whether the store runs on Magento Open Source itself or on a community distribution such as Mage-OS, since the patch source and support path differ.

The first phase is a review of the current version, installed extensions and configuration, measured against the controls covered in this topic. The review checks whether the store is on a 2.4.x line that still receives security patches, using Adobe's published lifecycle dates, and whether the PHP, database, search, cache and queue versions match a combination Adobe lists for that release. It then reviews extension inventory, admin URL and two-factor settings, file ownership and write permissions, CSP mode and the web application firewall and malware monitoring in place. Implementation follows inside the client's own cloud accounts, data centers or private network, so configuration, credentials and logs stay under the client's control. Verification is run jointly with the client's team, who should witness the retest of admin access, file permissions and CSP behavior on payment pages before sign-off.

Handover is where many hardening efforts fail, so the deliverables should include the configuration records, a change log, a patch calendar tied to Adobe's release schedule, and runbooks for applying security patches, rotating admin credentials and responding to a suspected malware finding. DeployOpen prepares the evidence an assessor will ask for, such as configuration exports and test results, but it does not issue audit reports, attestations or certifications. Independent assessors and certification bodies make those determinations, so confirm with your assessor what evidence format they expect. Ongoing patching, upgrade checks and continuous testing can be covered by an optional retainer, which the client should price separately against its own staff capacity.

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.