45 checks on your OpenCart installation: files and folders, code integrity against the official release and your baseline, versions and published advisories, settings, admin accounts, HTTPS and headers. Every finding has a severity, why it matters and how to fix it; score and grade, scheduled report with history, optional alert e-mail and optional security headers. Events only, no OCMOD.
Tested on 4.1.0.4 & 3.0.5.1Updated Nov 26, 2026Version 1.0.0Compatible with OpenCart 4.1.0.4, 3.0.5.1 No core file edits
Built forOpenCart
Security Health Check for OpenCart1 of 7
What it does
45 checks on your OpenCart installation: files and folders, code integrity against the official release and your baseline, versions and published advisories, settings, admin accounts, HTTPS and headers. Every finding has a severity, why it matters and how to fix it; score and grade, scheduled report with history, optional alert e-mail and optional security headers. Events only, no OCMOD.
Find out what makes your store easy to attack, and how to fix it. Security Health Check runs 45 checks on your OpenCart installation and gives you a score, a grade and a fix list sorted by severity. Each finding says why it matters and what to do, in plain words.
Features
What it checks
Files and folders: install folder left behind, storage folder inside the web root, default admin folder, backups / database dumps / phpinfo / database tools / .git in the web root, scripts in the image folder and among customer uploads, world-writable config.php and folders, .htaccess protection
Code integrity: every PHP, Twig and JavaScript file compared with the official OpenCart 4.1.0.4 / 3.0.5.1 release and with your accepted baseline; changed core files, new and changed code, web shell patterns; dangerous code in Theme Editor templates and OCMOD modifications
Versions: OpenCart updates, published advisories for your version, PHP end of life, extensions with published advisories (offline data, updated with each release)
Configuration: Display Errors (on by default after installation), PHP display_errors, error log, upload file types that can run as script, database user, login attempt limit, cron jobs
Admin accounts: two-factor sign-in, default user names, trivial passwords (tested on your server, never stored or sent), unused accounts, users who can manage users
HTTPS and headers: HTTPS for storefront and admin, certificate, HTTP to HTTPS redirect, HSTS, frame protection, nosniff, Referrer-Policy, version numbers in headers, live tests that storage files and templates cannot be downloaded
What you get
Score 0-100 and grade, problems first, passed checks on demand
Scheduled daily or weekly report with history and score chart (OpenCart 4 cron or a cron URL on OpenCart 3)
Optional alert e-mail to your own address when new problems appear (off until you enter an address)
Optional security headers on the storefront and admin: X-Frame-Options, nosniff, Referrer-Policy, Permissions-Policy, HSTS
Dashboard tile, menu entry under System, text export for your developer or host, print view, mute for accepted risks
Safe by design
Read-only checks; nothing is changed in your store
No data leaves your server: HTTP tests only request your own storefront, advisory data ships with the extension
File scan in short steps: no time limits, works on large stores
Events only: no OCMOD rules, no core edits (OpenCart 3 lists an empty modification entry); uninstall keeps your reports
One package for OpenCart 4 and one for OpenCart 3, tested on 4.1.0.4 and 3.0.5.1
What you get
Download & installTwo installer packages (.ocmod.zip): one for OpenCart 4.0.2 – 4.1.x and one for 3.0.3 – 3.0.5. One license key covers both. Download it from My licenses right after payment.
12 months of updates & supportNew versions and help for 12 months (24 or 36 months at checkout). After that the extension keeps working; renew anytime at 50%.
License for your storeOne production domain with all its subdomains; staging and local development hosts are free. How licensing works
30-day refundFull refund within 30 days of your first purchase, no reason needed. Refund policy
Tested buildsOpenCart 4.1.0.4, 3.0.5.1. Tested on OpenCart 4.1.0.4 and OpenCart 3.0.5.1.
Documentation & supportFull guide (Installation, Configuration, Usage, Developer notes) on this page. Tickets from your account, same-day reply on weekdays (Mon-Fri 09:00-18:00 UTC+3).
Compatibility
Security Health Check works with OpenCart 4.1.0.4, 3.0.5.1.
We list the builds we install and test on. “Tested” means the test plan ran on that build; “Supported” means the build is inside the supported range.
Compatibility
Version
Range
Runs on
Status
OpenCart 4.1.0.x
4.1.0.0 – 4.1.0.4
PHP 8.1 – 8.3
Tested on 4.1.0.4
OpenCart 4.0.2.x
4.0.2.0 – 4.0.2.3
PHP 8.0 – 8.2
Supported
OpenCart 3.0.x
3.0.3.8 – 3.0.5.x
PHP 7.4 – 8.1
Tested on 3.0.5.1
1.0.0
Nov 26, 2026
Latest
First release. Port of the CS-Cart add-on Security Health Check, rebuilt for OpenCart 4.1 and 3.0 (events only, no OCMOD).
45 checks in six areas: files and folders, code integrity, versions and advisories, configuration, admin accounts, HTTPS and headers; severity, "why it matters" and "how to fix" for each; score 0-100 and grade.
File integrity against the official OpenCart 4.1.0.4 and 3.0.5.1 release hash lists and your own baseline, in steps; web shell and injected-code patterns in changed files, Theme Editor templates and OCMOD modifications.
Offline advisory data (OpenCart versions, published advisories with a version range, extensions with advisories, PHP end of life).
Optional security headers on the storefront (and admin): frame protection, nosniff, Referrer-Policy, Permissions-Policy, HSTS.
Scheduled report (OpenCart 4 cron, OpenCart 3 cron URL with key), history with score chart, optional alert e-mail to your own address (off by default), text export, print view, mute, dashboard tile, menu entry.
Uninstall keeps reports, baseline and settings; updates are uninstall + install on OpenCart 4.1.
How do I install the extension?
Upload. Extensions > Installer: upload the .ocmod.zip for your OpenCart version (4.x or 3.0.x). Both packages come with every license.
Install and enable. Extensions > Extensions > Modules: install, open the settings and switch it on. Events register themselves; nothing is patched.
Enter the license key. Paste the key from My licenses. Subdomains, staging and local hosts are included; you have 14 days to do it.
OpenCart 4.1.0.4, 3.0.5.1. Tested on OpenCart 4.1.0.4 and OpenCart 3.0.5.1. The Compatibility tab lists every version range.
Do the extensions change core files?
No. They work through OpenCart events and standard extension types (modules, order totals, themes). No core file edits, no OCMOD patches, no theme template edits, so OpenCart updates and other extensions keep working.
Do I get packages for OpenCart 4 and OpenCart 3?
Yes. Every download has a package for OpenCart 4.0.2 to 4.1.x and one for OpenCart 3.0.3 to 3.0.5, and the license key works with both. Moving from OpenCart 3 to 4 later costs nothing.
What does the license cover?
One production store domain with every subdomain (www, shop., staging.), plus local development hosts such as localhost, *.local and *.test. A store on another domain needs its own license; a second-store license is 40% off. You have 14 days after installing to enter the key. 12 months of updates and support are included; after that the extension keeps working and renewals are 50% off. How licensing works
Can I get a refund?
Yes. Ask for a full refund within 30 days of your first purchase, no reason needed: open a ticket or write to support@kaviolabs.com with your order number. The money goes back to the card or bank account you paid with within 5 business days of approval. Refund policy
How do I get help?
Open a ticket from your account, so your license details are attached. We answer with a same-day reply on weekdays (Mon-Fri 09:00-18:00 UTC+3). Support policy. Not a customer yet? Ask a pre-sales question.
Security Health Check audits your OpenCart installation and tells you, in plain words, what is wrong and how to fix it. One click (or a scheduled run) checks files and folders, code integrity, versions, settings, admin accounts, HTTPS and security headers, then gives you a score from 0 to 100, a grade and a list of problems sorted by severity, each with "why it matters" and "how to fix".
Files and folders: install folder left on the server, storage folder inside the web root, default admin folder name, backups / database dumps / archives / phpinfo / database tools / .git in the web root, scripts in the image folder and among customer uploads, world-writable config.php and folders, missing .htaccess protection for templates and logs, a very large error log.
Code integrity: every PHP, Twig and JavaScript file is compared with the official OpenCart release of your version (hash lists for 4.1.0.4 and 3.0.5.1 ship with the extension) and with a baseline you accept. Changed core files, new and changed code since the baseline, removed and missing files. Changed or new files are also read for patterns of web shells and injected code. Theme Editor templates and OCMOD modifications stored in the database are checked for code that can run commands.
Versions: OpenCart older than the newest release of its branch, published advisories with a version range that covers your version, PHP past its end of life, extensions with published advisories found on the server. The data ships with the extension and is updated with each release; nothing is looked up online.
Configuration: "Display Errors" on (the OpenCart default after installation), PHP display_errors, error logging off, upload file types that can run as script (PHP, HTML, SVG), database user root or without a password, customer login attempt limit, cron jobs that stopped running.
Admin accounts: two-factor sign-in (OpenCart 4 has it built in; on OpenCart 3 a two-factor extension is detected), default user names such as "admin", trivial passwords (tested on the server against the most common passwords, the user name and the e-mail name; nothing is stored or sent), unused accounts (OpenCart 4 sign-in history), how many users can manage users.
HTTPS and headers: storefront and admin on HTTPS, certificate valid, HTTP redirecting to HTTPS, HSTS, frame protection, nosniff, Referrer-Policy, version numbers in server headers, and two live tests: a test file in the storage folder and a Twig template must not be downloadable.
Security headers (optional): the extension can add X-Frame-Options / frame-ancestors, X-Content-Type-Options, Referrer-Policy, Permissions-Policy and HSTS to every storefront page (and admin pages if you want). Each header is off until you switch it on.
Scheduled report: daily or weekly, through the OpenCart cron on OpenCart 4 and through a cron URL with a secret key on OpenCart 3. Reports are kept in a history with a score chart; an optional alert e-mail goes to your own address when new problems appear. No e-mail is sent unless you enter an address.
In the admin: System > Security Health Check (also under Extensions > Modules), a score tile on the dashboard, a plain-text export for your developer or host, print view, mute for accepted risks.
What it is not: a firewall. It does not block visitors or requests; it finds what makes the store easy to attack and tells you how to close it.
No OCMOD, no core file edits: events only. One licence covers OpenCart 4 and 3. Tested on OpenCart 4.1.0.4 and 3.0.5.1.
Requirements: OpenCart 4.1.x or 3.0.3 - 3.0.5.x, PHP 7.4 or newer (8.1+ for OpenCart 4.1 and 3.0.5), the cURL extension for the HTTP tests (without it PHP's own HTTP functions are used). Tested on 4.1.0.4 and 3.0.5.1; other releases in the range work, but the official file comparison is only available for 4.1.0.4 and 3.0.5.1 (other versions are compared with your own baseline).
OpenCart 4
Extensions > Installer > Upload kv_security_health_check.ocmod.zip, then Install.
Extensions > Extensions > choose Modules, find Security Health Check, click Install, then Edit.
Click Run the first check. It takes a few seconds to a minute.
Settings tab: enter your licence key, choose the schedule, Save.
Extensions > Modifications > Refresh (the package has no modification rules; this only lists it).
Extensions > Extensions > Modules > Install, then Edit, then continue with step 3 above.
Cron (scheduled report)
OpenCart 4: the extension adds an hourly job to System > Maintenance > Cron Jobs; the report runs when it is due (daily or weekly). Your hosting cron must call OpenCart's cron.php, as for the core jobs.
OpenCart 3: OpenCart 3 has no cron. Copy the line from the Settings tab into your hosting cron, hourly, for example curl -s "https://your-store/index.php?route=extension/module/kv_security_health_check/cron&key=..." >/dev/null. Keep the address secret; a wrong key gets 403.
Updating
OpenCart 4: Extensions > Uninstall, Installer > Uninstall + Delete, upload the new package, Install, Extensions > Install. OpenCart 3: upload the new package over the old one and refresh the modifications. Reports, the file baseline, settings and the licence state are kept: uninstalling never deletes them. Open the extension once afterwards: it brings tables and events up to date by itself.
Uninstalling
Uninstall removes the events and the cron job only. Reports and the baseline stay in the database (tables kv_shc_state, kv_shc_file, kv_shc_report), so a later install picks them up again. To remove everything, delete those tables and the module_kv_security_health_check_* settings yourself.
Permissions
User groups (System > Users > User Groups) need Access to the extension to read reports, and Modify to run checks, mute, accept the baseline and change settings.
Configuration
Security Health Check > Settings tab.
Audit
Setting
Default
What it does
Extension status
Enabled
Off: no scheduled checks and no security headers. Reports stay readable and you can still run a check by hand.
Scheduled check
Every day
Every day, every week or off. The scheduled run does the full check (including the file scan) and stores the report.
Cron / Cron line
OpenCart 4 uses its own cron. OpenCart 3 shows the URL with the secret key for your hosting cron.
Admin passwords
On
Tests active admin accounts against the most common passwords, the user name and the e-mail name, with the same password schemes OpenCart uses at sign-in. Runs on your server within 15 seconds; passwords are never stored or sent.
HTTP tests
On
Requests your own storefront (never another site) to read its headers, test the HTTP to HTTPS redirect and try to download a test file from the storage folder and a Twig template. Some hosts block requests from a site to itself: the tests then show "Not tested".
Alert e-mail
empty
After a scheduled check finds new problems at or above the alert level, a short summary goes to this address through your store mail settings. Empty: no e-mail is ever sent.
Alert from
High and critical
Critical only, high and critical, or medium and above.
Reports kept
30
The newest 5 to 365 reports are kept.
Security headers
Added to every storefront page while the licence is valid (or during the 14-day trial). Switch each one on after checking your store; all are off after installation.
Only sent on HTTPS requests and when the store URL is https://. Browsers then refuse plain HTTP for a year: switch it on only when the whole store works on HTTPS.
Admin pages
Also send the selected headers (except HSTS when the admin is on HTTP) on admin pages, including the login page.
If your web server already sends one of these headers, leave the same header off here to avoid duplicates.
Muted checks
Checks you muted from the report (accepted risks, for example the default admin folder on a development copy). They still run, but they do not lower the score or trigger alerts. Untick to unmute.
Licence
Enter the key from your order e-mail. The audit, the reports and the admin always work; after the 14-day trial an invalid, revoked or missing licence pauses the security headers only. "Check now" asks the licence server immediately (licences are otherwise checked in the background on admin pages).
Usage
Running a check
System > Security Health Check (or Extensions > Modules > Security Health Check > Edit) > Run the check again. A progress bar shows the file scan; large stores take a few steps, each under 10 seconds, so no time limit is hit. The report opens when it is done.
Reading the report
Score and grade: the weighted share of the tested checks that pass (critical 30, high 15, medium 6, low 2). Checks that could not run and muted checks do not count. Any open critical problem caps the grade at D.
Problems to fix: most severe first. Open a row for the affected files or accounts, why it matters and how to fix it.
Show passed checks: everything that passed or could not be tested, with the reason.
Mute this check: for an accepted risk. The check keeps running but no longer lowers the score or sends alerts. Unmute on the Settings tab.
Download as text / Print: a plain-text report for your developer or host, or a print / PDF view.
The checks
Area
Checks
Files and folders
install folder, storage folder inside the web root, admin folder name, backups and tools in the web root, scripts in the image folder, scripts among customer uploads, world-writable config.php, world-writable folders, .htaccess protection (Apache / LiteSpeed), error log size
Code integrity
code that looks like a web shell, core files changed against the official release, code changed / added / removed since your baseline, missing core files, Theme Editor templates, OCMOD modifications
Versions and advisories
OpenCart update available, published advisories for your version, PHP end of life, extensions with published advisories
two-factor sign-in, default user names, trivial passwords, unused accounts (OpenCart 4), users who can manage users
HTTPS and headers
storefront and admin HTTPS, certificate, HTTP redirect, HSTS, frame protection, nosniff, Referrer-Policy, version numbers in headers, storage files downloadable, template source downloadable
File integrity
The File integrity tab counts suspicious files, changed core files, files changed / new / removed since your baseline and missing core files; click a number for the list.
The official comparison uses the hash list of your OpenCart version (4.1.0.4 and 3.0.5.1 in this release). The admin folder and the storage folder are matched whatever their names.
Your baseline: the first finished scan accepts the files that are not part of OpenCart (your extensions and theme). After you install or update an extension, review the new and changed files and click Accept current files as the baseline. Suspicious code stays listed after accepting; only fixing or muting removes it.
Data folders (cache, sessions, logs, uploads, OCMOD copies) are not part of the code scan; scripts in the image folder and among uploads have their own checks.
History
Every manual and scheduled report is kept (up to the number you set) with a score chart. Open any report to see it as it was, scored with your current mute list.
Dashboard and menu
The dashboard shows a tile with the score, the open critical / high / medium problems and the date of the last check. The menu entry under System shows the number of open critical problems.
Data sources (src/Advisories.php, updated with each release)
Data
Source
Newest releases 4.1.0.4 / 3.0.5.1 (2026-08-11)
github.com/opencart/opencart releases
CVE-2023-47444 (4.0.0.0 - 4.0.2.3, config.php write by admin with common/security permission)
https://github.com/advisories/GHSA-xp6x-f75w-g3q7
CVE-2025-1746 (XSS in product search before 4.1.0)
https://github.com/advisories/GHSA-52xm-jh2q-v993
CVE-2024-21514 (Divido payment extension SQL injection, up to 3.0.3.9)
https://github.com/advisories/GHSA-7crj-24g3-g7h7
CVE-2020-20491 (SQL injection 2.2.0.0 - 3.0.3.2)
https://github.com/advisories/GHSA-h9xp-w8f3-2qrr
CVE-2025-45893 (stored XSS via SVG upload, 4.1.0.4; named in the upload check)
https://github.com/advisories/GHSA-h243-vvj5-46wx
CVE-2020-15478 (Journal theme before 3.1.0)
https://github.com/advisories/GHSA-rwqf-h92v-648q
PHP end of life
php.net/eol.php, php.net/supported-versions.php
Only advisories with an explicit affected range are matched by version. Most OpenCart entries in the GitHub Advisory Database have no range and are not used.
Core hash lists
src/hashes/<version>.txt = first 32 hex digits of SHA-256 + path for every php / twig / js file of the release upload/ folder (without install/, config.php, config-dist.php, php.ini). Built by tools/hashes.js from the pristine release trees.
Events
Trigger
Handler
admin/controller/common/header/before
licence tick, admin folder and URL stored for the cron, admin headers
php tests/unit.php (KVSHC_VERSION=3.0.5.1 for OpenCart 3), node tests/e2e-http.js <store>, node tests/browser.js <store> [--raw], node tests/lic-test.js <store>, upgrade test with tests/seed.sql.
FAQ
Does it change my store?
No. The checks only read files, settings and the database. The only things it writes are its own tables, a test file in the storage folder that is deleted again right away (HTTP test), and the security headers you switch on.
Does it send data anywhere?
No. The HTTP tests request your own storefront only. Advisory and version data ships with the extension. The licence check sends the licence key, the store address and the OpenCart version to the Kavio Labs licence server. No report, file or password leaves your server.
Is it a firewall?
No. It does not block visitors. It finds the weak points that attacks use (forgotten files, outdated software, risky settings, weak accounts, changed code) and tells you how to fix them.
My OpenCart version is not 4.1.0.4 or 3.0.5.1. Does the file check work?
Yes, against your own baseline: the first scan becomes the baseline and every later change is reported. The comparison with the official release needs the hash list of that release; lists are added with updates of the extension.
The report lists "core files changed" after I edited a core file myself. Move the change into an extension (events or OCMOD) so it survives updates, or click "Accept current files as the baseline" on the File integrity tab.
A suspicious-code finding is a false alarm. Some extensions decode data in ways that look like web shell code. Compare the file with the copy from the extension vendor; if it is identical, mute the check.
The HTTP tests say "Not tested". Some hosts block requests from a site to itself, or the request timed out. Everything else still runs; check the headers with your browser's developer tools.
Why is the admin folder "admin" a problem?
It is not a hole by itself, but every bot tries /admin/ first. OpenCart 4 can rename it from the security notice on the dashboard.
Can it e-mail me?
Only if you enter an address in Settings > Alert e-mail, and only when a scheduled check finds new problems. It uses your store's mail settings.
Does the licence block anything?
The audit, reports and admin pages always work. After the 14-day trial, without a valid licence the security headers pause.
Does it work with themes and other extensions?
Yes. It uses events only and adds no output to storefront pages (only HTTP headers if you switch them on).
Server-side tracking for OpenCart 4.x and 3.0.x: purchases, refunds, add to cart, checkout, product views and leads go from your server to the free official GA4 Measurement Protocol, Meta Conversions API and TikTok Events API, deduplicated with the browser pixels through shared event ids. Consent-aware, SHA-256 hashed customer data, order status mapping, queue with retries, test mode and an event log. No paid relay, events only, no OCMOD.
The department store theme for OpenCart 4.x and 3.0.x: colour-coded departments, a department list beside the hero slider with two side promos, a big search with a department selector, tabbed product blocks, a 2 + 1 + 2 offer grid, deals of the day with real countdowns, a department showcase, a promotions band and a three-column product page with a sticky buy box. Four styles (Meridian, Harbor, Citrus, Night) and your own colours on top. Events only, no core changes.
Stop AI crawlers, scrapers, vulnerability scanners and unwanted countries before OpenCart 4.x or 3.0.x builds a page. Googlebot and Bingbot are verified by DNS and always allowed; 50+ bots get one switch each; country rules use free GeoIP databases and can close only the checkout; IP and network lists, rate limits, honeypots and the cart flood fix; a one-second challenge instead of a captcha; learning mode, dashboard, log, IP tester and Cloudflare export. No core changes, no OCMOD.