Skip to main content Skip to search Skip to main navigation
Shopware Payments ramp-up pricing for 12 months. Limited time only. Learn more
Diese Seite ist auch auf Deutsch verfügbar.
weedesign

Shopfence

Rating: no rating ( write a review )
Downloads: <10

Description

Highlights

  • Firewall blocks IPs after too many requests or blocked user agents
  • Login firewall against brute-force attempts on customer logins
  • Malware scan for suspicious code in PHP and JavaScript files
  • Firewall sends blocked IPs to an "Access Denied" page
  • Firewall log, blocked IPs and malware results in the Administration

Features

  • Firewall rate limit: 100 requests per minute per IP (default)
  • Firewall block duration in days, 30 by default
  • Firewall blocks user agents such as curl, wget and python (default)
  • Allowed user agents of the firewall for search engines like googlebot
  • Firewall also stops blocked IPs on pages from Shopware's HTTP cache
  • Login firewall: block after over 3 attempts per e-mail per minute (default)
  • Login firewall block duration in minutes, 60 by default
  • Malware scan of public, custom/plugins, var and files
  • Malware scan in steps of 1,000 files with a progress bar
  • Malware results with issue type, severity and scan time
  • "Unblock" lifts the firewall block of a single IP address
  • Firewall log with IP address, URI, method and user agent
  • Login firewall log with IP, e-mail address and user agent
  • Firewall statistics with the size of the four lists, malware included
  • Delete buttons for the firewall, login and malware logs

About the Extension

A firewall and malware scan for your shop

Shopfence protects the storefront of your shop with a firewall that blocks IP addresses after suspicious activity, a login firewall against brute-force attempts and a malware scan for PHP and JavaScript files. You find the logs and the scan under Extensions > Shopfence in the Administration.

How the firewall blocks IP addresses

With "Enable Firewall" (on by default), the firewall checks storefront requests and blocks an IP address for 30 days (default) if it sends more than 100 requests per minute (default) or uses a blocked user agent. The default list contains curl, wget, python and scrapy as well as the parts bot, crawler and spider.

  • Blocked IP addresses are redirected to an "Access Denied" page, also for pages from Shopware's own HTTP cache (not with an external reverse proxy)
  • On cached pages only existing blocks are checked; the rate limit and the user agent check apply to requests that are not served from the cache, and 0 switches the rate limit off
  • User agents on the allow list, such as googlebot or bingbot, skip the firewall checks
  • Requests whose path starts with /api, /store-api, /widgets or /admin, and requests with an Authorization or x-auth-token header, are not checked, not even for existing blocks
  • Blocks end automatically after the set number of days

Login firewall against brute-force attempts

With "Login Firewall" (on by default), the plugin logs customer login attempts with IP address, e-mail address and user agent before the password is checked. If one e-mail address receives more than 3 attempts within one minute, from any IP, the IP address behind the attempt that exceeds the limit is blocked for 60 minutes (both default).

  • Successful logins are removed from the log, so it shows only failed attempts
  • The firewall enforces login blocks, so "Enable Firewall" must stay on
  • The block applies to the storefront; logins through the Store API are logged and counted, but not blocked by Shopfence
  • Both values (attempts and duration) are adjustable in the plugin configuration

Malware scan for PHP and JavaScript files

"Look for malware" in the Malware tab scans .php and .js files in public, custom/plugins, var and files, 1,000 files per step, while the page shows the progress.

  • PHP: dynamic eval and command execution, command backdoors in request parameters, PHP upload backdoors, heavily obfuscated code, web shells and mass mailers
  • PHP with request data: long base64 strings and dynamic create_function calls
  • JavaScript: eval with atob, unescape or String.fromCharCode, crypto-mining code and iframe injection via document.write; JS files that look minified are skipped
  • Skipped: folders named vendor, node_modules, cache or tests, paths with test, tmp, backup, docs or phpunit, *.min.js, hidden files, files of 5 MB or more, PHP files with syntax errors, and files with framework or license signatures such as Shopware\Core, @copyright or @license MIT, which covers most plugin PHP files
  • A finding per file is stored, and a new scan replaces the results of the previous one

Firewall log, blocked IPs and statistics

The module has five tabs: Statistics, Blocked IPs, Firewall Log, Malware and Login attempts.

  • Statistics shows how many entries the lists Blocked IPs, Firewall Log, Login attempts and Malware contain
  • Blocked IPs lists IP address, reason (rate limit, blocked user agent or login attempt) and time, including blocks that have already expired
  • "Unblock" removes the block for an IP address you enter, "Delete blocked IPs" lifts all blocks
  • Firewall Log shows IP address, URI, method, user agent and time of firewall events, with at most one entry per blocked IP every 5 minutes
  • Malware lists file name, issue, severity and scan time; the full path appears on hover
  • Times appear as "5 minutes ago", the full user agent and the exact time on hover

Firewall settings and stored data

The settings in the plugin configuration apply to the whole shop. In the comma-separated user agent lists, an entry matches as soon as it appears anywhere in a user agent, regardless of upper or lower case.

  • Logs, blocks and scan results are stored in four database tables without automatic cleanup
  • Uninstalling without keeping the app data drops these tables and removes the settings

Details

  • Available: English, German
  • Latest update: 2 November 2026
  • Publication date: 4 August 2025
  • Version: 1.1.0
  • Category: Administration

Resources

Reviews (0)

Write a review

If you downloaded this extension you can write a review in the Shopware Account.

Write a review

About the Extension Partner

Partner Status

  • Shopware Extension Partner Shopware
    Extension Partner

Details

  • Ø-Rating: 4.9

    Average rating of 4.9 out of 5 stars

  • Partner since: 2019
  • Extensions: 71

Support

  • Based in: Germany
  • Speaks: German, English
  • Response time: Very quickly