Scan your whole stack
From OX Research Newsroom
Are you using remodex?
Find out what’s in your code.
Scan your apps free in minutes (opens in a new tab)Latest version: v4.0.0
remodex was last scanned on 1 Oct 2026 at version 4.0.0. Risk score 40 of 100 (medium). High-severity rules fired.
| Version | Published | Status |
|---|---|---|
| 4.0.0 LATEST | 1 Oct 2026 | 2 rules fired |
| 3.2.0 | 1 Oct 2026 | 2 rules fired |
| 3.1.0 | 11 Aug 2026 | Not shown |
Findings for v4.0.0. 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 same file reads a registry, cloud or CI secret from the environment and starts a detached process that keeps running after the parent exits. The scanner does not check that the secret is passed to that process. A background process that outlives the package does not normally need the package's credentials.
HIGHThe score describes 4.0.0; other versions have their own rules, not their own score.
The publisher’s own README, as collected from the registry.
Control Codex or OpenCode from your iPhone. Remodex is a local-first open-source bridge + iOS app that keeps the coding runtime on your Mac and lets your phone connect through a paired secure session.
/subagents commandlaunchdThe repo stays local-first and self-host friendly: the iOS app source does not embed a public hosted endpoint, and the transport layer remains inspectable for anyone who wants to run their own setup.
Today, the background daemon / trusted auto-reconnect flow is implemented for macOS. Self-hosted relay setups still work on other OSes, but they currently use the foreground bridge flow instead of the macOS launchd service path.
If you want the public-repo distribution model explained clearly, read SELF_HOSTING_MODEL.md.
I am very early in this project. Expect bugs.
I am not actively accepting contributions yet. If you still want to help, read CONTRIBUTING.md first.
The app is live on the App Store.
Build the iOS app from source in Xcode, install your own signed build on-device, then use the in-app onboarding flow to pair by scanning the QR from remodex up.
If you scan the pairing QR with a generic camera or QR reader before installing the app, your device may treat the QR payload as plain text and open a web search instead of pairing.
┌──────────────┐ Paired session ┌───────────────┐ stdin/stdout ┌─────────────┐
│ Remodex iOS │ ◄────────────────────► │ remodex (Mac) │ ◄──────────────────────► │ codex │
│ app │ WebSocket bridge │ bridge │ JSON-RPC │ app-server │
└──────────────┘ └───────────────┘ └─────────────┘
│ │
│ Local Codex IPC live state │ JSONL rollout
▼ ▼
┌─────────────┐ ┌─────────────┐
│ Codex.app │ ◄─── persisted fallback ─│ ~/.codex/ │
│ (desktop) │ disk on navigate │ sessions │
└─────────────┘ └─────────────┘
remodex up on your MacThis repo contains the local bridge, the iOS app target, and their tests:
├── phodex-bridge/ # Node.js bridge package used by `remodex`
│ ├── bin/ # CLI entrypoints
│ └── src/ # Bridge runtime, git/workspace handlers, refresh helpers
├── CodexMobile/ # Xcode project root
│ ├── CodexMobile/ # App source target
│ │ ├── Services/ # Connection, sync, incoming-event, git, and persistence logic
│ │ ├── Views/ # SwiftUI screens and timeline/sidebar components
│ │ ├── Models/ # RPC, thread, message, and UI models
│ │ └── Assets.xcassets/ # App icons and UI assets
│ ├── CodexMobileTests/ # Unit tests
│ ├── CodexMobileUITests/ # UI tests
│ └── BuildSupport/ # Info.plist, xcconfig defaults, and local override templates
codex login status should succeed)Remodex does not manage OpenAI credentials. It expects the local Codex CLI to be installed and authenticated before the bridge starts:
codex login status
codex login
If startup fails with Missing environment variable: CODEX_API_KEY, that error is coming from your Codex CLI configuration, not from Remodex. The safest recovery is to authenticate Codex directly, then restart Remodex:
codex login
remodex restart
If you intentionally use API-key auth, configure Codex itself rather than storing keys in Remodex:
printenv OPENAI_API_KEY | codex login --with-api-key
remodex restart
Do not put live OpenAI API keys into the Remodex launchd plist or relay configuration.
Install from npm with @latest so you get the newest bridge fixes.
If you plan to use the macOS menu bar companion, remodex must be installed globally and available in your login-shell PATH.
npm install -g remodex@latest
To update an existing global install later:
npm install -g remodex@latest
If the macOS background service is installed, run remodex restart after updating. It refreshes the saved Node/CLI paths and LaunchAgent policy used by launchd without replacing your pairing state.
If you only want to try Remodex, you can install it from npm and run it without cloning this repository.
Install the bridge, then run:
remodex up
On first connect, open the Remodex app, follow the onboarding flow, then scan the QR code from inside the app.
After that first scan:
For now, the daemon-backed trusted reconnect path is macOS-only. If you self-host on Linux or Windows, pairing still works, but the bridge runs in the foreground unless you set up your own OS-specific service wrapper.
git clone https://github.com/Emanuele-web04/remodex.git
cd remodex
./run-local-remodex.sh
That launcher starts a local relay, points the bridge at ws://<your-host>:9000/relay by default, and prints the pairing QR for the iPhone app.
For iPhone self-hosting, the recommended path is Tailscale or another stable private network. Plain LAN pairing over ws://<lan-ip> on the same Wi-Fi is still available for local testing, but it can be unreliable on some iOS devices even when the relay and Wi-Fi are healthy.
Options:
./run-local-remodex.sh --hostname <lan-hostname-or-ip>./run-local-remodex.sh --relay-url https://<random>.trycloudflare.com./run-local-remodex.sh --bind-host 127.0.0.1 --port 9100If your iPhone is pairing over LAN, use a hostname or IP the phone can actually reach.
For a temporary Cloudflare Tunnel, run this in one terminal:
cloudflared tunnel --url http://127.0.0.1:9000
Then pass the generated https://<random>.trycloudflare.com URL to the local launcher in another terminal:
./run-local-remodex.sh --relay-url https://<random>.trycloudflare.com
The launcher advertises that as wss://<random>.trycloudflare.com/relay in the pairing QR while keeping the relay process local.
For a full public self-hosting walkthrough, see Docs/self-hosting.md.
If you want the npm bridge to point at your own setup instead of the package default, override REMODEX_RELAY explicitly:
REMODEX_RELAY="ws://localhost:9000/relay" remodex up
For self-hosted iPhone usage, prefer a relay URL reachable over Tailscale or another stable private network. Treat plain local ws://192.168.x.x pairing as best-effort rather than the recommended production path on iOS.
A common private setup looks like this:
REMODEX_RELAY to the Tailscale-reachable ws:// or wss:// relay URLIf that relay is fronting a Mac bridge, the macOS daemon can keep the bridge alive for hands-free reconnects. If you self-host against a non-macOS bridge, the same relay path still works, but automatic background service management is not built in yet.
Reverse-proxy subpaths work too, so a hosted relay behind Traefik can live under the same domain as other APIs:
REMODEX_RELAY="wss://api.example.com/remodex/relay" remodex up
In that setup, the public endpoints can look like this:
wss://api.example.com/remodex/relayhttps://api.example.com/remodex/v1/push/session/register-devicehttps://api.example.com/remodex/v1/push/session/notify-completionHave the proxy strip /remodex before forwarding so the relay still receives /relay/... and /v1/push/....
If you point REMODEX_RELAY at your own self-hosted relay, managed push stays off unless you also set REMODEX_PUSH_SERVICE_URL on the bridge and explicitly enable push on the relay.
remodex upStarts Remodex.
On macOS, remodex up is the friendly entrypoint for the background bridge service:
launchd serviceOn non-macOS platforms, remodex up runs the bridge in the foreground.
In both cases the bridge:
codex app-server (or connects to an existing endpoint)remodex startmacOS only. Starts the background bridge service without waiting for or printing a QR in the current terminal. If the service is already loaded, this path refreshes it in place.
remodex restartmacOS only. Explicitly restarts the background bridge service without waiting for or printing a QR in the current terminal. If a service is already installed, restart regenerates its LaunchAgent plist with the current Node/CLI paths and re-bootstraps it, so run it after updating the package. It does not rewrite the saved relay configuration.
remodex stopmacOS only. Stops the background bridge service and clears its transient runtime status.
remodex uninstall-servicemacOS only. Unloads the background bridge service from launchd and removes its LaunchAgent plist. Saved configuration, logs, and trusted-device data in ~/.remodex are preserved for a future reinstall.
To remove Remodex completely and safely:
remodex uninstall-service
npm uninstall -g remodex
remodex statusmacOS only. Prints the current launchd / bridge status, including whether the service is loaded and whether a recent pairing payload exists.
remodex run-servicemacOS only. Internal service entrypoint used by launchd. You normally do not run this manually.
remodex --versionPrints the installed Remodex CLI version.
remodex --version
# => 2.0.0
remodex reset-pairingClears the saved bridge pairing state so the next trusted connection requires a fresh QR bootstrap again. You normally do not need this for corrupted local state anymore: recent Remodex builds auto-repair unreadable pairing files/mirrors on startup.
remodex reset-pairing
# => [remodex] Cleared the saved pairing state. Run `remodex up` to pair again.
remodex resumeReopens the last active thread in Codex.app on your Mac.
remodex resume
# => [remodex] Opened last active thread: abc-123 (phone)
remodex watch [threadId]Tails the event log for a thread in real-time.
remodex watch
# => [14:32:01] Phone: "Fix the login bug in auth.ts"
# => [14:32:05] Codex: "I'll look at auth.ts and fix the login..."
# => [14:32:18] Task started
# => [14:33:42] Task complete
REMODEX_RELAY is optional, but the default depends on how you got Remodex:
./run-local-remodex.sh or set REMODEX_RELAY yourselfFind 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.