Skip to main content
Cybersalt Consulting Ltd
Joomla extension

Override Checker

Joomla Template Overrides Review

FreeJoomla 5Joomla 6 v2.7.0
Free

Free download. GPL, the same license as Joomla.

Cybersalt Override Checker is a free Joomla 5 and 6 extension that pairs your site with the AI assistant of your choice to security-review every flagged template override โ€” classifying real risks, ignoring the cosmetic noise, and applying the patches you confirm without leaving the Joomla admin.

Using a browser chat? The free MCP for Override Checker add-on for MCP for J lets your AI review and fix overrides through its own tools, with no copy-paste step and no browser timeout.

The "X Changes found" problem

Joomla's native Template Manager flags every override whose core ancestor has changed after a Joomla update. It can't tell you whether the change matters โ€” and after every point release, every template with overrides lights up at once. Signal-to-noise is zero exactly when a site owner needs to know whether their site is compromised.

Cybersalt Override Checker is template-literate. It reads Joomla's own override-tracker data, fetches both sides of every flagged override, and asks your AI to tell you what really changed.

How it works

For every override Joomla has flagged, the extension:

  1. Fetches the override file and the stock core file it's shadowing.
  2. Asks your AI to classify the drift as alert (a security regression โ€” missing escape, removed CSRF token), review (legitimate customisation that's drifted), or info (cosmetic โ€” copyright year, whitespace).
  3. Reports back in plain English, written for the site owner โ€” not the developer.
  4. Applies the patches you confirm, in place, with an automatic backup of every changed file. Roll back any patch from the admin if you change your mind. A patch that adds code such as eval or shell commands is refused, in case your AI has been tricked by something it read.
  5. Marks the rest as checked so the "Changes found" badge clears for everything that has been reviewed.

Two ways to run it

ModeWhat you needHow it runs
Manual No API key, just an AI assistant that can reach your site. Copy the scan prompt from the dashboard, paste it into your assistant, and it calls back to your Joomla Web Services API using your Joomla API token. It produces the report, asks what to fix, and applies the fixes through the API.
Automated An API key from Anthropic, OpenAI or Google, pay-per-token, with hard cost caps you set in Options. Save your key, click Run automated scan, and the server drives the whole review. With an Anthropic key, a chat box on the session detail view lets you tell Claude which findings to fix, and it applies them server-side while you watch each turn render as a chat bubble. You never leave the Joomla admin.

What you get

  • A dashboard widget that shows the override-drift count at a glance.
  • A sessions log with every AI report saved server-side.
  • A File Backups view with one-click Restore for every patch ever applied.
  • An Action Log of every fix, dismissal, and backup purge, with counts at the top and Dump, Download CSV, Delete and Clear all buttons.
  • A filter for every column in the Sessions, File Backups and Action Log lists, and shift-click to tick a range of rows.
  • ACL-gated Web Services API for the manual workflow.
  • Multilingual UI in 17 languages โ€” English, German, French, Spanish, Italian, Portuguese, Dutch, Russian, Polish, Japanese, Chinese, Turkish, Greek, Czech, Swedish, and Norwegian (Bokmรฅl and Nynorsk).

Requirements

  • Joomla 5.0+ or 6.0+
  • PHP 8.3+
  • For the automated workflow only: an API key from Anthropic, OpenAI or Google (pay-per-token, with hard cost caps you set in the extension's Options).

Open source

Cybersalt Override Checker is open source under GPL-2.0-or-later. Free to use on as many sites as you like. Download it here on cybersalt.com. The source code and issue tracker are on GitHub at github.com/cybersalt/cs-override-checker.


Interesting blog? Like it on Facebook, Post it or share this article on other bookmarking websites.

Written by:
Tim Davis is the founder and owner of Cybersalt.

Recent changes

Version 2.7.0 30 Nov 2026

Standards release: a full log viewer on the Action log, a filter for every column, shift-click ranges, support details in Options and in error messages, one install message instead of two, dark-mode and phone fixes, and Norwegian (17 languages). No schema change — safe in-place upgrade from 2.6.x.

New

  • The Action log is a full log viewer. A row of counts at the top (all entries, last 24 hours, fixes applied, backups restored, fixes refused, restores refused, automated scans); each count opens the entries it counts. New buttons: Refresh, Dump (the filtered entries as plain text in a new tab, to paste into a support request), Download CSV, Delete (selected entries) and Clear all (asks first, in a dialog). Deleting or clearing writes one new entry saying who did it and how many entries went, so a cleared log never looks like nothing happened. Both keep the record of who has dismissed the first-run notice, so nobody sees it again. Long details fold away and open as formatted JSON. Delete and Clear all are for Super Users (or a group given Configure ACL & Options on the component); they never remove the record of a deletion or the last hour of automated scans. The CSV marks cells that a spreadsheet would run as a formula.
  • A filter for every column. Sessions had no filters at all; it now has search, Name, Source, Summary and a Created date range. File backups adds a Saved date range, File path, Size range and Hash (paste the first characters shown in the list). The Action log adds a time range (last hour, 24 hours, 7 or 30 days, or from/to dates) and Details. Dates are read in your own time zone, and sorting keeps every filter.
  • Shift-click to tick a range of rows in Sessions, File backups and the Action log.
  • Support details in Options. A new Support tab holds the support email, page and name (Cybersalt's by default; a site that supports this for its own clients can put its own). Failure messages you can't fix from your side (a scan, restore, save or delete that failed, a token that couldn't be fetched) now end with "If this keeps happening, please contact …" with those details, and the Get help screen shows them.
  • Translations for Norwegian (Bokmål and Nynorsk), so the package now ships in 17 languages, and the scheduled-task plugin is translated into all 17 (it was English only).

Security

  • Pre-release security review of everything new in this release; findings fixed, including hardening of admin error messages and of who can remove Action log entries.

Improvements

  • Clearer install messages. Installing or updating showed two boxes, one from the package and one from the component. There is now one message, followed by links to the Dashboard and the Setup guide and to support. The rename notice for sites coming from Cybersalt Template Integrity is a message with its Uninstall button as before.

Fixes

  • Dark mode: the grey outlined buttons (Run automated scan without a key, and Show / Clear / Get a key next to the API key fields in Options) almost disappeared on Joomla's dark admin theme. They are solid now.
  • Phones: every screen of the component was wider than a phone, because Atum couldn't fit the long page titles; titles now wrap. The Sessions, File backups and Action log tables scroll sideways inside their own frame instead of widening the page.
  • The orange Method 1 button on the Dashboard had white text at 3.41:1 contrast (WCAG AA needs 4.5:1). The same orange, darkened, is now 5.03:1.

Docs

  • README: the API auth note was wrong. It said Joomla rejects Authorization: Bearer. Joomla's token plugin accepts it; what fails is a server that drops the Authorization header before PHP sees it. The README now says that, and still recommends X-Joomla-Token, which always gets through.

Build

  • Checks on every push. A GitHub Actions workflow (from Joomla-Brain's CI template) lints every PHP file on PHP 8.1, 8.3 and 8.4 and every JavaScript file, and runs tests/check.php: every manifest, XML and JSON file parses, every file a manifest lists is in git with the right case, no byte order marks, and every translation has every English string with the same placeholders.
  • Joomla-Brain submodule updated to the current version (it was 88 commits behind).
Version 2.6.1 5 Nov 2026

Language-string fix release, plus a check that tells you when an update didn't install completely, and the fix that makes 2.6.0's OpenAI and Gemini scans actually run. Thanks to Scott Forsgren (betterhealthguy.com) for reporting that some strings weren't showing properly. No schema change — safe in-place upgrade from 2.6.0.

New

  • The Setup guide recommends the MCP for Override Checker add-on. The MCP card used an old name and offered nothing specific. It now points to MCP for J and its free add-on, which lets an assistant review and fix overrides through tools, with no copy-paste step and no browser timeout.
  • Installation file check on the Dashboard. Each of the three extensions in the package now ships an integrity.json listing the size and SHA-256 of every file it installs. The Dashboard compares them with the disk and shows a red "Installation incomplete" alert naming any file that is missing or 0 bytes, or a yellow alert when files differ from the released version. Joomla does not roll back a failed update, so a half-copied install otherwise keeps running with no warning; security software such as Imunify360 Proactive Defense has been seen killing a copy mid-update and leaving a file at 0 bytes. When everything matches, nothing is shown. This is the Cybersalt standard check from Joomla-Brain tools/integrity, translated into all 15 locales. It protects updates from 2.6.1 onward; a failed update to 2.6.1 can't be caught, because the old Dashboard has no check.

Security

  • Pre-release security review: whole component, deep pass. No record of a review exists for 2.4.0 through 2.5.0, so this release reviewed every file in the package rather than only the 2.6.1 changes. Findings and what was done are below.
  • A fix can no longer add code that runs commands or takes input from a request. Apply-fix writes what the AI sends, and that AI reads site content that could carry a prompt injection asking for a backdoor. Override Checker now compares the new file with the old one and refuses contents that add eval, shell commands, decoding functions such as base64_decode, reading or writing files, outbound connections, a new or changed include or require, variable function calls, or superglobals such as $_GET. Code the file already had can stay, so an override that already contains one of these can still be fixed. It applies to the REST API, the session chat and the MCP for Override Checker add-on, none of which can turn it off. A refused fix writes nothing, returns HTTP 422 (CONTENTS_REFUSED) on REST and is logged as fix_refused. If a change is really wanted, review it and make it in the file yourself. Restore follows the same rule for AI and API callers. Fixing an infected override stores the backdoor as its pre-fix backup, so a restore could have put it back. A restore through REST or MCP that would add such code is now refused (CONTENTS_REFUSED, logged as restore_refused). A person can still restore any backup from the File backups screen. The check reads PHP only, and enough indirection can get past any list, so keep reviewing what your AI proposes.
  • Override paths are now validated before any file is read or written. The file path for an override comes from the hash_id column of Joomla's #__template_overrides table. Nothing checked it for .., and the write allow-list compared the unresolved path text, so a crafted row could point the override-file / core-file endpoints (view permission) at any file on the site, including configuration.php, and point apply-fix and backups at files outside templates/<template>/html/. Planting such a row needs database access or Joomla's own template manager; this extension's API cannot create rows (verified). Paths containing .., ., backslashes or NUL bytes, or template names that are not a single folder name, are now refused, and the write allow-list checks the resolved path. Verified on a test site: the crafted read now returns PATH_UNRESOLVED, a crafted write and a symlink escape are both refused, and genuine apply-fix, backup and restore still work.
  • The REST API no longer has inherited create, edit and delete routes. Joomla's createCRUDRoutes() also registered POST/PATCH/DELETE on /overrides, and DELETE on /sessions and /backups. They reached Joomla's default handlers and only failed (HTTP 500) because no matching model class exists. They now answer 405 Method Not Allowed explicitly.

Fixes

  • Automated scans with OpenAI or Gemini didn't run. 2.6.0 added the AI provider selector, but Run automated scan still checked for an Anthropic key: on a site with only an OpenAI or Gemini key it refused with "No API key is saved", even though the Dashboard offered the button. With an Anthropic key also saved, it sent the Claude model name to OpenAI or Gemini. The scan now checks the selected provider's key and uses that provider's own model setting. The Diagnostics Run test button had the same Anthropic-only key check, and so did the Setup guide's "Method 2 available" badge and the Support page's diagnostics block; all now follow the selected provider.
  • Admin text no longer assumes your AI is Claude. About 30 strings written before 2.6.0 still said Claude or Anthropic where any AI applies. Method 2, the confirm and progress messages, and Diagnostics now name the provider you picked ("using your saved OpenAI API key"). The first-run Before you start notice, the Sessions, Backups and Action log descriptions, the paste-a-report form and the "use the manual claude.ai / Claude Code workflow" hints now talk about your AI assistant and the copy-paste prompt. The scan-model help no longer describes Claude models under the OpenAI and Gemini lists, and the Anthropic price estimate and rate-limit tier note show only when Anthropic is selected. The follow-up chat still says Claude, because that chat runs on Anthropic only. All 15 locales.
  • The 14 translations had fallen behind the English. 2.6.0 rewrote 20 English strings and the translations were never updated, so every language except English still showed the old Claude-only Dashboard walkthrough ("Method 1: Use Claude.ai or Code"), the old About and sessions text, and the model list as Sonnet 4.6 and Opus 4.7 with old prices, although those options run Sonnet 5 and Opus 4.8. All 20 are now translated from the current English in all 14 locales.
  • The "Fetch my Joomla API token" button showed raw language keys. Four of its messages were added in 2.6.0 without language strings, so Options showed COM_CSOVERRIDECHECKER_FETCH_TOKEN_WORKING, …_OFFER_ENABLE (the label of the one-click Enable button), …_OFFER_ENABLE_AUTH and …_SAVE_REMINDER instead of text. All four now have strings in all 15 locales. Reported by Scott Forsgren (#2).
  • The same button's "plugin disabled" warnings showed HTML tags as text. The messages wrap the plugin name in <strong>, but the note was written with textContent, so it read "The <strong>User - Joomla API Token</strong> plugin is disabled…". The note now renders <strong> as bold and still treats everything else as plain text, so an error message coming back from the server cannot inject markup.
  • The admin sidebar showed raw keys for two Override Checker menu items on every page outside the component. The Setup guide and Get help entries added in 2.6.0 used COM_CSOVERRIDECHECKER_TOOLBAR_SETUPGUIDE and …_TOOLBAR_SUPPORT, which were only in the component's .ini. Joomla loads only the .sys.ini for the menu outside the component, so on the Home Dashboard, Plugins, Scheduled Tasks and every other screen they read as raw keys. Both keys are now in the .sys.ini of all 15 locales; existing menu entries pick them up without a menu rebuild.
  • The Options page heading and browser tab showed com_csoverridechecker_configuration. Joomla's Options screen looks up COM_CSOVERRIDECHECKER_CONFIGURATION, which the component never defined. It now reads "Override Checker: Options", matching core ("Articles: Options"), in all 15 locales.
  • Browser tab title showed a raw HTML entity on the Setup guide and Get help pages. ToolbarHelper::title() escapes its argument, so the &mdash; in those two title strings rendered literally. Both now use a real em dash. Fixed in all 15 locales.
  • Anthropic key note still named the wrong default model. It read "defaults to Claude Opus 4.7" after the default moved to Opus 4.8. Fixed in all 15 locales.

Add comment

Submit

Joomla websites built well and looked after properly, from Victoria, BC, Canada, since 1998.

About Cybersalt