Scan your whole stack
From OX Research Newsroom
Are you using monicka-booking?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.2.2
monicka-booking was last scanned on 26 Nov 2026 at version 0.2.2. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.2.2 LATEST | 26 Nov 2026 | No rules fired |
| 0.2.1 | 26 Nov 2026 | No rules fired |
| 0.2.0 | 7 Nov 2026 | No rules fired |
| 0.1.1 | 26 Oct 2026 | Not shown |
| 0.1.0 | 26 Oct 2026 | Not shown |
Findings for v0.2.2. The score is a capped sum of the weights of the rules that fired — not CVSS, not exploitability, and not a probability. It is not comparable across packages with different scan coverage.
The score describes 0.2.2; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
An accessible, Persian right-to-left booking app for Django clinic websites. It is a server-rendered Django app distributed as a pip package; it does not expose clinic API keys to the visitor's browser and uses no JavaScript framework or external font service.
pip install monicka-booking
Add the app, set its API key in the website process environment, and mount its URLs:
# settings.py
INSTALLED_APPS += ["monicka_booking"]
MONICKA_API_KEY = "<the clinic API key>" # Prefer an environment variable/secret manager.
# urls.py
from django.urls import include, path
urlpatterns += [path("booking/", include("monicka_booking.urls"))]
Then run python manage.py migrate. A staff user can configure title, colors, text size, displayed currency label, and optional support phone in Django admin under Booking page settings. Set the API origin and home clinic ID there. The API key is intentionally configured outside admin and is never sent to the browser.
The package contains its CSS, JavaScript, and logo under Django's app static directory. Django's development server discovers these directly when django.contrib.staticfiles and monicka_booking are in INSTALLED_APPS. Production servers do not serve app assets automatically: configure STATIC_ROOT and run collectstatic whenever the package is installed or upgraded, then serve that directory through Nginx or WhiteNoise.
# settings.py
STATIC_URL = "/static/"
STATIC_ROOT = BASE_DIR / "staticfiles"
python manage.py collectstatic --noinput
For Nginx, map /static/ to the STATIC_ROOT directory. If the site uses a manifest-based static storage backend, keep its collected manifest and hashed assets together. A successful collectstatic should include monicka_booking/booking.css, monicka_booking/booking.js, monicka_booking/assessment.js, and monicka_booking/monicka-logo.png.
Issue a clinic API key in Monicka and set the key's home clinic website_url to this site's HTTPS origin (including the same origin used by the plugin payment return URL). Set each clinic's plugin_booking_days in API admin. The default booking window is 20 future days. All clinics with the same owner are offered as branches in one catalog. Therapist profile fields (short bio and specialties) are maintained in API admin.
The package talks to the API over HTTPS using X-Clinic-API-Key. Website hosting must allow outbound HTTPS requests to the configured API. The payment callback returns to the plugin completion page, where the package verifies the confirmation code server-to-server before showing appointment status.
To link directly to one therapist at one branch, use the regular booking URL with both public IDs:
/booking/?therapist=133&clinic=5
The plugin checks that this therapist is actually offered at that clinic before entering the calendar step. The page then contains only that therapist and branch, skips the therapist/branch directory, and continues through the normal availability, booking, and payment checks. Invalid or mismatched IDs show an error instead of opening the full directory. These IDs are selectors, not credentials; do not put a patient's name, phone number, or other personal details in a URL. The API still validates every selected time and booking.
The initial therapist catalog is server-rendered. JavaScript progressively loads the Jalali calendar's available days and slots from same-origin Django views; dates and slots are always validated again by the API at booking time. The responsive UI uses semantic form labels, keyboard-operable buttons, visible focus rings, large controls, live status announcements, high-contrast light themes, adjustable type size, and reduced-motion support.
Theme choices are intentionally CSS-variable based so future themes can be added without introducing a UI framework. The calendar uses the browser's built-in Persian calendar formatter.
pip install -e '.[test]'
python -m django test --settings tests.settings
You can also run the source checkout as a standalone local Django site without installing monicka-booking. Use an existing Python environment with Django and Requests available:
export PYTHONPATH="$PWD/src"
DJANGO_PYTHON="/path/to/python-with-django"
"$DJANGO_PYTHON" -m django migrate --settings tests.dev_settings
"$DJANGO_PYTHON" -m django createsuperuser --settings tests.dev_settings
"$DJANGO_PYTHON" -m django runserver 127.0.0.1:8000 --settings tests.dev_settings
Open http://localhost:8000/booking/ for the booking page or /admin/ to configure its title and theme. This local setup uses a persistent SQLite database at dev.sqlite3; the test settings continue to use an in-memory database. Without MONICKA_API_KEY and a reachable API the page shows its friendly unavailable state. To try real slots and payment handoff, point it at a staging API and test gateway. A production project supplies its own Django settings, database, and admin configuration.
By default the plugin renders its own standalone page and keeps the existing Ivory, Sage and Blue themes. To embed its pages in a host Django project with metatags and content blocks (including Tolue Noor), set in the host project's settings:
MONICKA_HOST_BASE_TEMPLATE = "base.html"
The plugin adapter extends that template, loads the plugin stylesheet in metatags, and places the booking content and scripts in content. The host template, its URL names, static files and context processors must be available in the same Django project. The host's complete header and footer are inherited and will reflect changes to the host template. A host with different block names can supply its own adapter with MONICKA_LAYOUT_TEMPLATE = "your_adapter.html"; the adapter must expose monicka_body and monicka_scripts blocks and load monicka_booking/booking.css. It can use monicka_host_base if it extends the configured host base.
Select Tolue Noor in Booking page settings for the matching green theme and the patterned therapist profile on direct therapist links. It uses the host site's pattern.webp static asset: ensure this asset is present and collected in the host project before selecting the theme, including when using manifest static storage. The site layout and visual theme are independent; configuring the host template does not change existing theme choices. Run migrations and collect static files after upgrading.
Plugin CSS is scoped to .monicka-booking and uses a separate font family name to avoid changing host elements. Host styles with unusually strong selectors or !important rules can still affect embedded content; check the integrated page on desktop and mobile after changes to the host stylesheet.
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.
The probe returned only these fields for this server — auth requirement, protocol and tool list weren’t observed, so they’re not shown (never guessed).
The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.