Scan your whole stack
From OX Research Newsroom
Are you using miraserver?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v0.8.14
miraserver was last scanned on 1 Dec 2026 at version 0.8.14. Risk score 0 of 100. No malicious behavior was detected.
| Version | Published | Status |
|---|---|---|
| 0.8.14 LATEST | 1 Dec 2026 | No rules fired |
| 0.8.13 | 1 Dec 2026 | No rules fired |
| 0.8.13rc1 | 16 Oct 2026 | No rules fired |
| 0.8.13rc0 | 12 Oct 2026 | Not shown |
Findings for v0.8.14. 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.8.14; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
High-performance model inference server — Rust core for I/O, Python for inference.
中文文档
| Feature | What it means for you | |
|---|---|---|
| Fast | Rust HTTP core (axum/tokio), zero-copy data path, adaptive batching | Higher throughput, lower latency than pure-Python servers |
| Stable | Outlier detection, heartbeat, auto-respawn, lifecycle hooks | Self-healing workers that detect hangs and restart automatically |
| Simple | pip install, write one model.py, done |
No Docker, no Java, no C++ build tools |
| Flexible | Hot reload, multi-version, ensemble DAG | A/B testing, canary deploys, multi-model pipelines in one server |
| Observable | Prometheus metrics, timeline, alerts | Know what's happening in production without guessing |
| Lightweight | Single binary + Python workers, cross-platform | Runs on a laptop, scales on a server |
# 1. Install
pip install miraserver
# 2. Scaffold a project
python -m lite_server init my_project --template empty
cd my_project
# 3. Serve
python -m lite_server serve --config server.yaml
# 4. Test
python test_request.py
# or manually:
curl -X POST http://localhost:8000/v2/models/my_model/infer \
-H 'Content-Type: application/json' \
-d '{"input": 21}'
# => {"output": 42}
Currently only the empty template is available. Use --wizard for interactive project setup.
DecoupledInfer) whose lifetime the model controls (predict_decoupled)model_name/version/model.py directory structurex-lite-version request pinning (canary_override)explicit, latest, all for version managementpolicies.warmup), with a WarmingUp state machine.lma format with SHA256 + HMAC signature.lma artifacts or raw files via HTTP API, with auto-load support@route.get("/status") on LitAPI methods, served under /v2/models/<model>/<tail>ctx.server.registry and cross-model ctx.server.inference.infer() from handlersmax_inflight cap rejects excess inference with 503 + Retry-After (health/admin stay reachable)x-lite-priority header (higher = dispatched first) and per-model queue_timeout with reject actionx-lite-timeout (HTTP) / grpc-timeout bound the wait; expiry returns 504, propagated across ensemble DAGsx-sequence-id pins a client sequence to one worker (sequence_ttl_secs / max_sequences; soft pin with load-balancing thresholds)trusted_proxies cleansing of X-Forwarded-For / X-Real-IP; fail-safe default (headers ignored) prevents forged-IP rate-limit bypassVary: Origin); WS handshakes checked at upgrade (403 on mismatched Origin)grpc.admin_bind, e.g. UDS), API-key gating, structured audit log for every control-plane mutationregister_metric() / report_metric()telemetry feature + telemetry.enabled), W3C traceparent bridging to workerslite_server::audit target for control-plane mutationsserver.host: unix:...) and gRPC (grpc.host / grpc.admin_bind) with socket_mode control{ns}:total_queued_requests, kv_cache_utilization) + ScaledObject recipePre-built wheels for Linux (x86_64 + aarch64), macOS (Apple Silicon), and Windows (x86_64), Python 3.10-3.14:
pip install miraserver-<version>-cp310-abi3-<platform>.whl
Requires a recent stable Rust toolchain (CI builds on stable) and Python >= 3.10.
pip install maturin
maturin develop # dev build
maturin build --release # release wheel
A web console ships inside the wheel: multi-instance dashboard, model lifecycle management (load/unload/activate/canary routing), and an inference playground. It runs as a small Python service (FastAPI) that reverse-proxies each configured lite-server instance — no changes to the server needed.
lite-server web # serves the UI + API on :8600
The SPA source lives in ui/web/. See ui/README.md.
See examples/ for runnable model repositories:
| # | Example | Description |
|---|---|---|
| 01 | basic | Minimal echo model |
| 02 | batching | Request batching with adaptive timeout |
| 03 | streaming | Token-by-token streaming via SSE/WebSocket |
| 04 | multi_version | Two versions with activation switching |
| 05 | ensemble | DAG-based multi-model pipeline |
| 06 | custom_route | Custom HTTP routes with @route decorator |
| 07 | custom_params | Config-driven model behavior |
| 08 | error_handling | Exception-to-HTTP mapping, request timeout, worker ejection |
| 09 | custom_metrics | Custom Prometheus metrics (gauge/counter/histogram) |
| 10 | async | Asynchronous inference (unified async pipeline) |
| 11 | logging | Structured logging at every stage |
| 12 | continuous_batching | LLM continuous batching (prefill/step/has_finished) |
| 13 | bidi_streaming | Bidirectional streaming for ASR |
| 14 | lifecycle_hooks | Worker lifecycle hooks (shell + HTTP callbacks) |
| 15 | callbacks | Python callback pipeline (auth, cache, validation, error metrics) |
| 16 | grpc | gRPC inference endpoints (incl. ensemble DAGs) |
| 17 | config_templates | Config templates, env vars, multi-env server.yaml |
| 18 | tls_mtls | TLS/mTLS + live certificate rotation |
| 19 | canary | Canary traffic weights + x-lite-version pinning |
| 20 | overload_control | max_inflight, queue timeouts, priorities, deadlines |
| 21 | admin_security | Admin gRPC on its own UDS, access control, audit log |
| 22 | warmup | Model warmup + readiness state machine |
| 23 | advanced_routing | sequence_id stickiness + DecoupledInfer 1:N |
| 24 | proxy_security | Trusted-proxy client IP, CORS, WebSocket Origin gate |
See examples/README.md for learning path and usage details.
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.