Download Latest Version openpublisher5g_amd64-windows.exe (81.1 MB)
Home / 5.1.13
Name Modified Size InfoDownloads / Week
Parent folder
5.1.13_ Geographic Access Control _ Russian Federation Restriction Engine source code.tar.gz 2026-10-01 22.4 MB
5.1.13_ Geographic Access Control _ Russian Federation Restriction Engine source code.zip 2026-10-01 22.6 MB
README.md 2026-10-01 6.3 kB
OpenPublisher-5-x86_64.AppImage 2026-10-01 166.4 MB
openpublisher5_amd64-windows-portable.exe 2026-10-01 183.2 MB
openpublisher5_amd64-windows.exe 2026-10-01 165.2 MB
openpublisher5_amd64-macos.dmg 2026-09-30 233.1 MB
openpublisher5_amd64-linux.run 2026-09-30 193.4 MB
openpublisher5_amd64-linux.rpm 2026-09-30 215.4 MB
openpublisher5_amd64-linux.flatpak 2026-09-30 153.6 MB
openpublisher5_amd64-linux.deb 2026-09-30 156.2 MB
openpublisher5_amd64-freebsd.pkg 2026-09-30 185.5 MB
Totals: 12 Items   1.7 GB 0

🚀 Summary

Version 5.1.13 introduces a comprehensive, multi-layered geographic access control and defense engine designed to block access to the Open Publisher web application from the Russian Federation.

Following sustained service abuse involving state-sponsored propaganda conversions and circumvented temporary IP bans, this release enforces automated regional blocking across multiple detection vectors. Connections originating from the Russian Federation are halted and presented with a dedicated restriction screen displaying the Ukrainian national flag and an unambiguous statement regarding the restoration of service upon the complete withdrawal of Russian forces from Ukraine.


🔍 Context & Problem Analysis

In recent weeks, the public web instance of Open Publisher experienced repeated, organized misuse involving the batch conversion and publication of state propaganda materials. Individual IP warnings, rate limits, and temporary suspensions proved ineffective as bad actors rotated through proxy pools and residential IP ranges.

Because Open Publisher is a client-side web application fronted by Cloudflare, relying solely on reactive manual IP banning creates an ongoing administrative burden. Version 5.1.13 addresses this at the application layer through a multi-tiered defense system that intercepts connections before the publishing workspace initializes.


🛠️ Multi-Layered Defense Architecture

1. Edge CDN Trace Interception (/cdn-cgi/trace)

Open Publisher queries the edge reverse proxy's trace endpoint (/cdn-cgi/trace on Cloudflare) during initialization. The response contains the authoritative ISO 3166-1 alpha-2 country code (loc=RU). If the connecting client is identified as originating from Russia, the block sequence executes immediately.

2. Redundant Geo-IP Fallback (api.country.is)

If the CDN trace endpoint is unreachable or bypassed, the engine falls back to secondary low-latency IP geolocation services (https://api.country.is) to verify the client's origin country.

3. Timezone & Locale Heuristic Detection

To prevent bypasses using misconfigured local proxies that leak browser environment data, the engine checks client-side system parameters:

  • Evaluates the user's system timezone against all 26 official Russian timezones (including Europe/Moscow, Europe/Samara, Asia/Yekaterinburg, Asia/Novosibirsk, Asia/Vladivostok, Europe/Kaliningrad, etc.).
  • Pairs timezone detection with browser language detection (ru, ru-RU). When a client exhibits both a Russian regional timezone and Russian locale preferences, the block sequence engages.

4. Early <head> Execution & Session Persistence

  • An initial script reference is placed at the very top of <head> in index.html (extensions/geo-defense.js), executing before the DOM parses heavy ribbon elements, stylesheets, or fonts.
  • When an IP is identified as Russian, the defense engine sets flags in localStorage and sessionStorage (op_ru_blocked = '1'). Any subsequent page refresh or tab navigation halts immediately without making repetitive network calls.

5. High-Impact Block Screen UI

When a block is triggered, the entire document DOM is replaced with a standalone, unblockable notice:

  • National Flag of Ukraine: Rendered with high-contrast Azure Blue (#0057B7) and Golden Yellow (#FFD700) stripes, subtle shadow, and borders.
  • Bilingual Restriction Notice: Presented in both Russian and English:
  • English: "Access to Open Publisher has been completely restricted for connections originating from the Russian Federation due to repeated service misuse. This service will remain blocked until Russian military forces completely withdraw from all sovereign territory of Ukraine."
  • Russian: "Доступ к Open Publisher полностью заблокирован для пользователей из Российской Федерации в связи со систематическим злоупотреблением сервисом. Работа сервиса будет возобновлена только после полного вывода российских войск со всей суверенной территории Украины."
  • Solidarity Footer: "🇺🇦 Stand with Ukraine / Разом до перемоги".

Russian Federation Access Restriction Screen

In addition to the client-side defense engine, webmasters should configure the corresponding edge firewall rule in their Cloudflare dashboard for zero-byte edge termination:

Field: Country
Operator: equals
Value: Russian Federation (RU)
Action: Block

🧪 Verification & Automated Testing

The implementation was validated using automated Playwright tests (scratch/test_geo_defense.py):

Test Condition Execution Vector Result Details
Standard International Access UK / US connection simulation Passed Editor, canvas, and UI ribbons load completely unobstructed
Direct Block Trigger window._simulateRussiaGeoBlock() Passed Replaces DOM with Ukrainian flag, Russian/English notice, and status badges
Persistent Cache Defense Page reload after block flag Passed Instant block screen retention before editor initialization
Timezone + Locale Detection Europe/Moscow + ru-RU Passed Automated heuristic successfully identifies and restricts access

✅ Checklist Completed

  • [x] extensions/geo-defense.js: Created multi-tiered geographic access control engine with CDN trace, Geo-IP fallback, and 26-zone Russian timezone detection.
  • [x] index.html: Added early <head> execution for extensions/geo-defense.js and bumped all script/stylesheet cachebusters from ?v=5.1.12 to ?v=5.1.13.
  • [x] sw.js: Bumped Service Worker cache name to open-publisher-v5-1-13.
  • [x] extensions/pwa-install.js: Bumped Service Worker registration URL to sw.js?v=5.1.13.
  • [x] ui/dashboard.js: Bumped template index cachebuster to ?v=5.1.13.

🎉 Version 5.1.13 - Open Publisher

Source: README.md, updated 2026-10-01