WordPressの管理画面の不正ログイン試行を記録し、一定回数の失敗でIPをブロックするセキュリティプラグイン。
| Author: | SyntaxCloud LLC (profile at wordpress.org) |
| WordPress version required: | 5.0 |
| WordPress version tested: | 7.1.5 |
| Plugin version: | 1.3.11 |
| Added to WordPress repository: | 13-04-2025 |
| Last updated: | 12-11-2026 |
| Rating, %: | 0 |
| Rated by: | 0 |
| Plugin URI: | https://syn-c.jp/service/syntax-web-master/sy... |
| Total downloads: | 2 657 |
| Active installs: | 10+ |
![]() Click to start download |
|
sHub-Log strengthens WordPress site security.
Main features:
- Login attempt logging
- Category-based detection (config scans, backdoors, plugin vulnerability scans, admin hacking, spam, and more)
- Optional detection for malicious queries, high-volume requests, and REST API abuse
- Attack summary and detailed logs for a configurable period
- Attack trend charts with selectable period and aggregation interval
- CSV export and AJAX category filtering
- Configurable attack log retention with WP-Cron cleanup
- Attack spike email alerts with cooldown
- Optional signed remote alert and scoring definitions from syn-c.jp
- IP blocking after repeated failures
- Configurable block duration and redirect URL
- Admin dashboard for logs and IP management
- Customizable rate-limit thresholds and windows
- Optional attack-signal-only rate counting
- Exclusion of logged-in users and verified search/AI bots from rate counting
- Verified bot access logging (14-day retention, disabled by default)
- Suspicious 404 flood detection
- IP whitelist and trusted proxy support (auto-trust private proxies and Cloudflare)
- Per-IP risk scoring (disabled by default)
- Active administrator sessions are not auto-blocked, but a past login IP is not trusted
- Daily comparison of plugin, theme, and must-use plugin folders. The email names the component, says whether a plugin or theme update could explain new PHP/ZIP files, and lists what to check next
- Email and an integrity log for plugin install/activation, theme install/switch, new users, role changes, and administrator logins from a new IP
- Optional paid license (offline signed code) for 90-day log retention and page-level analytics
FAQ
How do I unblock an IP address?
Open sHub-Log → Security Trend, scroll to Protected IP, and unblock the address from the list.
Does the plugin make external requests?
Yes, for the features listed under External services below. Attack logs, visitor IP addresses, user information, and site content are never sent to syn-c.jp or to any other service.
What happens to the data when I delete the plugin?
When you click Deactivate for sHub-Log on the Plugins screen, sHub-Log asks what to do with its data in the database if you delete the plugin later. WordPress does not run an inactive plugin, so the question cannot be asked when you click Delete. Choose “Deactivate, and delete the data when the plugin is deleted” to have the database tables (attack logs, login failure records, protected IP addresses, bot access logs, file change records) and all settings removed when you delete sHub-Log. Choose “Deactivate and keep the data” to keep them for a later reinstall. The WordPress delete confirmation always mentions deleting the plugin’s data, but sHub-Log follows your choice. To change it, activate sHub-Log again and deactivate it. If sHub-Log is deactivated any other way (bulk action, WP-CLI) or its folder is removed, the data is kept.
Where are 90-day retention and page-level logs?
They are added by sHub-Log Pro, a separate plugin. Install sHub-Log Pro 1.3.11 beside this plugin and open sHub-Log → License. This plugin does not ask for a license code and does not send one anywhere. A license code saved by sHub-Log 1.3.10 or earlier stays in the database and is read by sHub-Log Pro.
What should I check after updating to 1.2.6?
If you saved settings from Basic Settings or Bot Logging Settings before the settings-group fix in 1.2.6, review Advanced Settings or use the Recommended settings button on Basic Settings to restore factory defaults.
Recommended factory defaults:
Setting
Default
Login attempt limit window
5 minutes
Login attempt limit count
5
Block duration
60 minutes
High-volume request threshold
90/minute
404 flood threshold
30/5 minutes
Attack spike email alerts
OFF
Risk scoring
OFF
Bot access logging
OFF (search bot logging ON / AI bot logging OFF when enabled)
Auto-trust private proxies / Cloudflare
ON
Skip automatic blocking during an active administrator session
ON
Daily plugin, theme, and mu-plugin file watch
ON
Email plugin, user, and new-IP administrator events
ON
Plugin file editor
ON
Theme file editor
ON
1.3.11
- 90-day log retention, the 90-day chart, page-level logs, and the license screen now belong to the separate sHub-Log Pro 1.3.11 plugin. This plugin no longer asks for a license code and no longer contacts syn-c.jp to renew one.
- A license code saved by 1.3.10 or earlier is kept. If sHub-Log Pro is not active, an admin notice says that 90-day retention and page-level logs stay off until sHub-Log Pro is activated.
- sHub-Log Pro turns those features on through the syntaxhub_securelog_enable_paid_features, syntaxhub_securelog_attack_log_retention_days, syntaxhub_securelog_bot_log_retention_days, and syntaxhub_securelog_chart_period_options filters.
1.3.10
- The file-watch email link (Integrity Log) lists the same new files and folders that were emailed, including whether they match an update record.
- The email and the Integrity Log state that “matches an update record” is not proof that the files are safe.
- Emails that link to the Integrity Log say to log in as an administrator before opening the link.
- The file-change list on the Integrity Log follows the site language (ja, ko_KR, zh_CN, zh_TW, vi, th, fr_FR, es_ES, de_DE, it_IT). On a site in a language other than English or Japanese, the log-in note in the emails is also added in that language.
- The Integrity Log, daily file watch, and file-editor strings added in 1.3.8 and 1.3.9 are translated for those languages. Three setting sentences the plugin no longer uses were removed from those catalogs.
- Security: CF-Connecting-IP is used only when the request came through Cloudflare (the connecting address, or the proxy hop in front of your trusted proxies, is a Cloudflare address). Behind any other reverse proxy a visitor could previously send that header to choose the IP address sHub-Log recorded and blocked.
- Security: the shorter 5-minute safety block for an unconfigured reverse proxy now also requires that a logged-in administrator has reached the site through the same address within 30 days. A visitor could previously send varying X-Forwarded-For values to shorten its own block.
- An overdue plugin/theme scan is queued for WP-Cron first instead of running inside an administrator’s page request. If WP-Cron has not run it within 15 minutes, the scan runs on the next admin page load as before.
- Deactivating sHub-Log from the Plugins screen now asks whether its database tables and settings should be deleted when the plugin is deleted. The data is removed only when you choose “Deactivate, and delete the data when the plugin is deleted”; otherwise it is kept for a later reinstall. Activating sHub-Log again clears the choice.
- The admin header icon is bundled in the plugin’s assets folder instead of being loaded from wordpress.org.
- The license screen, the license notices, and the deactivation dialog are translated into the bundled languages. The license field now says that this site’s domain and the license code are sent to syn-c.jp around the expiry date.
- The readme lists every external service sHub-Log contacts, what is sent, and links to each service’s terms and privacy policy.
- The translation template (syntaxhub-securelog.pot) is regenerated from the current code (423 strings), and placeholders have translator comments. Unused strings were removed from the bundled catalogs.
- The built-in alert email template signs off as SyntaxCloud LLC (it read “SyntacCloud”).
1.3.9
- File-watch subjects name the plugin or theme and the file count. When the cause is not confirmed, the subject says a plugin update is possible and asks you to check recent updates, instead of leading with “unrecorded”.
- The email explains what “unrecorded” means, that a plugin or theme update can add files inside an existing folder, and what to check next.
- New files inside an existing plugin or theme are compared with update records since the previous snapshot. A match is stated in the subject and the body.
1.3.8
- Compare plugins, themes, and mu-plugins once a day and email new folders or new PHP/ZIP files. The first run emails the current folder list.
- Record and email plugin installs, activations, deactivations, and deletions, theme installs and switches, new users, role changes, and administrator logins from a new IP.
- An administrator login no longer makes that IP trusted. Automatic blocking is skipped only during a logged-in administrator request.
- Plugin File Editor and Theme File Editor can be turned off separately. Both are on by default, and plugin or theme installation stays available.
1.3.7
- Added a Dashboard with 14-day Security, Search Bot, and AI Bot trend charts. Chart titles open the matching screens.
- Added Upgrade to Paid in the left menu, with a Free vs Paid comparison and checkout link for free sites.
- Added REST Path Probe detection for short-window scans that vary WordPress install locations and REST entry routes (including /batch/v1 variants). Legitimate /batch/v1 use is not blocked by path alone.
1.3.6
- Added French, Spanish, German, Italian language packs (fr_FR, es_ES, de_DE, it_IT).
- Around license expiry (renewal warning window through the 14-day grace), the plugin may fetch a signed renewal payload from syn-c.jp and apply a replacement license code when valid.
- If the renewal request or signature check fails, the existing offline license remains in effect.
- Purchase / issue URL default is https://syn-c.jp/payment/shub-log-annual-checkout/
1.3.5
- Keep the sHub-Log admin menu open on Attack Log and Protected IP Addresses, and list both screens in the left menu.
- Indent Attack Log and Protected IP Addresses in the left menu to read as children of Security Trend.
- Add navigation buttons to move between Attack Log and Protected IP Addresses.
- Translate remaining attack-category labels (Theme Vulnerability Scan, User Enumeration, Bot Impersonation, Scanner Tool) in ja, ko_KR, zh_CN, zh_TW, vi, and th.
1.3.4
- Added offline signed license codes for paid features (90-day log retention and page-level logs). Verification stays on the site and does not contact syn-c.jp.
- After expiry, paid UI stops immediately. 90-day log retention continues for 14 days so daily cleanup does not delete days 15-90 at once.
- Renewal warnings: 7 days left for terms of 60 days or less (monthly), 30 days left for longer terms (annual).
- License field on Basic Settings. The existing paid-preview switch remains for SyntaxCloud verification.
- Fixed bot/attack summary cache keys so cache clears match the keys that are stored.
- Attack log retention option now stays in sync with the derived paid/free value.
1.3.3
- Aligned the admin header bar width with the trend chart panels.
- Admin header titles now include /sHub-Log (e.g. Security Trend/sHub-Log).
- Free Security Trend: attack summary category cards and labels no longer look like links.
- Enlarged the admin header plugin icon by about 25%.
1.3.2
- Added translations (ja, ko_KR, zh_CN, zh_TW, vi, th) for Security/Search/AI Bot page-access copy, table headers, and the Advanced Settings paid-preview switch.
- Enlarged the admin header plugin icon by about 20%.
1.3.1
- Admin header from the plugin name to Consultation is now a white bar, matching other WordPress plugin admin UIs.
- Enlarged the admin header plugin icon by about 20%.
- Renamed the Security Trend chart heading to match the left menu (ja, ko_KR, zh_CN, zh_TW, vi, th, and English).
1.3.0
- Protected IPs now respond with HTTP 403 (Forbidden) instead of the previous default 500 from wp_die().
- Protected IP list shows post-block denial count, last blocked access time, and last request URL.
- Attack Log and Protected IP screens explain that only detection hits are logged, and post-block traffic is counted on Protected IPs.
- Marks 1.3 as the line that includes paid-feature preview capability (preview switch still limited to SyntaxCloud / invite unlock).
1.2.15
- Added translations (ja, ko_KR, zh_CN, zh_TW, vi, th) for Auto-trust private/local reverse proxies, Auto-trust Cloudflare edge IPs, and Remember administrator IPs after login.
- Clarified that verified bot access logging is off by default. Japanese admin copy now uses 初期状態 instead of デフォルト/既定値.
- Added translations for REST API / oEmbed detection, trusted proxy help, and login-limit description.
1.2.14
- Added pagination to the Attack Log list so the full selected period (e.g. last 30 days) can be browsed 100 rows at a time.
1.2.13
- Fixed false-positive reverse-proxy admin notice on shared hosting (e.g. Xserver): warn only when auto-trust is disabled for a matching private/Cloudflare REMOTE_ADDR, or when the same untrusted REMOTE_ADDR is observed with multiple distinct forwarded client IPs.
- Added Client IP diagnostics on Advanced Settings (REMOTE_ADDR, forwarded headers, IP used by sHub-Log).
- Japanese plugin action link: “Signup” translation changed from 会員登録 to ユーザー登録.
1.2.12
- Fixed timezone mismatch: block expiry and log window comparisons now use WordPress local time consistently (blocks that never applied, or applied too aggressively, on hosts where MySQL NOW() differed from WordPress time).
- Auto-trust private/local reverse proxies and Cloudflare edge IPs so visitors behind CDN/LB are not collapsed into one IP; admin notice when proxy headers are present but untrusted.
- Softened admin self-lockouts: login failure default raised to 5; remembered administrator IPs after successful manage_options login; admin-area GET login and admin-ajax/admin-post excluded from Admin Area Hacking; that soft category is logged but excluded from automatic IP blocking.
- REST API abuse detection excludes logged-in editors; oEmbed endpoint detection is optional and off by default.
- Config file scans match the final path segment only; malicious query checks evaluate parameters separately to avoid site-search false positives.
- FCrDNS verification supports IPv6 (dns_get_record AAAA) so verified search crawlers on IPv6 are excluded correctly.
- Rate-limit / 404 / score windows moved from transients to a dedicated table so object-cache flushes no longer reset counters.
- Added detection: theme 404 probes, uploads PHP execution probes, VCS/dependency/DB-admin/backup-name scans, user enumeration (?author=N floods / user sitemaps), scanner tool User-Agents, bot UA impersonation (soft), and PROPFIND/TRACE/TRACK methods.
1.2.11
- Added WordPress Core Vulnerability Scan detection for 404 probes under /wp-includes/ (WordPressコア脆弱性スキャン).
- Added sustained attack volume email alerts (at most one email per day when total logs exceed a configurable threshold within a time window).
- Updated bundled translations for the new category and alert settings.
1.2.10
- Fixed bundled .mo files so admin translations load correctly in WordPress.
1.2.9
- Added translation language packs for ja, ko_KR, zh_CN, zh_TW, vi, and th (177 admin strings each; languages/syntaxhub-securelog-*.po and .mo).
- Added build-languages.mjs to compile .po files to .mo; locale-data/*.mjs and write-locale-pos.mjs for maintaining translation sources.
1.2.8
- Admin left menu restored to native WordPress submenu behavior (click sHub-Log to expand items below; standard dark sidebar styling).
- Removed custom AIOSEO-style flyout menu CSS and JavaScript.
- Attack spike alert emails now show bilingual category values (e.g. Suspicious 404 Flood / 不審な404多発).
1.2.7
- Admin UI refactor: WordPress submenus replace the single-page view mode bar (AIOSEO-style flyout menu).
- English-only admin strings; text domain retained for future translations.
- Split admin pages: Security Trend, Search Bot Trend, AI Bot Trend, Basic Settings, Advanced Settings, Risk Scoring Settings, Bot Logging Settings.
- Chart legend colors now match summary card border colors via shared palette helpers.
- Charts auto-scroll horizontally to center buckets that contain data.
- Separate settings option groups for advanced and scoring pages to prevent accidental checkbox resets on save.
1.2.6
- Admin notice for 1.2.6 upgrade with settings verification guidance.
- “Recommended settings” button to restore factory defaults from Simple and Advanced views.
- FAQ note about verifying Advanced settings after updating from buggy 1.2.6 builds.
- Added Bot Analytics view with verified bot access logging (14-day retention, disabled by default).
- Search bot logging defaults ON and AI bot logging defaults OFF when bot logging is enabled.
- Bot Analytics shows separate search and AI trend charts and per-bot access summaries.
- Fixed settings corruption when saving from Simple mode or Bot Analytics (split option groups so only visible fields are saved).
- Redesigned admin view switcher: Simple / Advanced tabs on the left, Bot Analytics pill on the right; active view shown in black.
- Renamed admin labels: measurement window terminology updated to measurement interval/frame wording.
1.2.5
- Split bot rate-count exclusion into separate Search bot (default ON) and AI bot (default OFF) admin toggles.
- Expanded verified AI bot list: GPTBot, ChatGPT-User, OAI-SearchBot, ClaudeBot, Claude-Web, PerplexityBot, Perplexity-User, CCBot, Bytespider, Applebot.
1.2.4
- Added verified AI bot support (GPTBot, ChatGPT-User, ClaudeBot, PerplexityBot) to the rate-limit exclusion list. AI bots are verified against each vendor’s published IP range JSON; search crawlers continue to use FCrDNS. User-Agent strings alone are never trusted.
1.2.3
- Security hardening: neutralized CSV formula injection in the attack log CSV export.
- Hardened the blocked-IP redirect by re-applying esc_url_raw() to the admin-configured redirect URL.
- Replaced date() with gmdate() when computing the IP block expiry for timezone-consistent behavior.
1.2.2
- Attack trend chart now supports Analytics-style period selection: 24 hours, 7 days, 14 days, and 21 days (default: 7 days).
- Chart buckets are aligned to on-the-hour boundaries (hourly) or calendar days (daily).
- Aggregation interval options: 1 hour, 3 hours, 6 hours, and 1 day.
1.2.1
- Added Simple mode and Advanced settings views for the admin screen, with per-user view preference persistence.
- Simple mode shows essential settings only.
1.2.0
- Added per-IP risk scoring (disabled by default).
- Signal weights, accumulation window, and record/block thresholds are configurable from the admin screen.
- Added optional retrieval of a signed scoring definition from syn-c.jp.
1.1.9
- URL normalization before pattern matching.
- Suspicious 404 flood detection with configurable threshold and window.
- Configurable high-volume request threshold and time window.
- Option to count only requests with attack signals toward rate limiting.
- Exclusion of logged-in users and verified good bots from rate counting.
- IP whitelist and trusted-proxy support.
- Relaxed default thresholds (90 for high-volume requests, 30 for 404 floods).
1.1.8
- When the previous attack count window is zero, attack spike alert emails now show N/A and an explanatory note instead of a misleading multiplier.
1.1.7
- Refined the attack spike alert email wording for more accurate IP protection messaging.
1.1.6
- Updated the built-in fallback email template for attack spike alerts.
1.1.5
- WordPress 7.0 compatibility display update.
- Admin display order and copy updates.
1.1.4
- Added 24-hour attack trend chart.
- Attack spike email alerts and remote alert definition support.
1.1.2
- Fixed PHP 8 formatting error in admin period labels.
1.1.1
- Renamed plugin to sHub-Log.
- CSV export and AJAX category filtering.
- Attack log table indexes maintained on upgrade.
1.1.0
- Category-based attack log table.
- Suspicious 404, malicious query, rate limit, and REST API abuse detection.
- Attack summary, log retention settings, and auto IP blocking.
1.0.3
- Security hardening: nonces, sanitization, and safer SQL.
1.0.2
- Log deletion improvements and UI updates.
1.0.1
- Initial bug fixes and admin improvements.
1.0.0
- Initial release.
