Introducing The Sweep: OX’s New Live Security Research Series
Register Now
Breaking: The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Read the Report
Are you exposed? Connect your apps in minutes.
Scan your apps free

phi-router

Latest version: v0.4.0

Overview

Last scanned
25 Nov 2026
Published
25 Nov 2026
npm package Publisher: drsh4dow
1 Stars
0 Forks
4 Versions
314 Downloads
TypeScript Repo language

Scan summary

phi-router was last scanned on 25 Nov 2026 at version 0.4.0. Risk score 0 of 100. No malicious behavior was detected.

  • Releases: 4 versions, all published within 3 days (23–25 Nov 2026).
  • Findings: No rules fired in version 0.4.0.
  • Downloads: 314 downloads.

Versions

4 versions published
Versions and the rules that fired in each
VersionPublishedStatus
0.4.0 LATEST 25 Nov 2026 No rules fired
0.3.0 25 Nov 2026 No rules fired
0.2.0 23 Nov 2026 No rules fired
0.0.0-stage 23 Nov 2026 Not shown

No rules fired in 0.4.0

Findings

Findings for v0.4.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 score describes 0.4.0; other versions have their own rules, not their own score.

README

The publisher’s own README, as collected from the registry.

phi-router

phi-router lets you run Claude Code, Codex or pi on a flat-rate subscription when your work touches patient data, without that subscription ever reading PHI.

What it does

phi-router is a local router. Your harness sends every model request to it, and it reads what is new in each one.

  • A request with no PHI runs on your subscription, the open account outside any BAA.
  • A request whose new content holds PHI runs on your account under a BAA. Each later request to the subscription carries a constant stub where that content was.
  • Rules catch the unambiguous identifiers, such as an SSN. A judge model under your BAA decides the rest.
  • /phi shows the session's accounts and how many messages were sealed and cleared. In Codex, type it without the slash.
  • An agent that must work with the PHI itself starts the pinned subagent phi-sealed, which runs on the BAA account. A session on the model phi/sealed runs wholly there. pi has no pinned subagent, so in pi that model is the way.
  • You can list several subscriptions. A rate limit on one moves the request to the next, and when all of them fail it runs on the BAA account. A request never moves from the BAA account to a subscription. At the end of a turn that ran on the BAA account this way, phi-router says why and how to add another subscription, and /phi shows when a rate-limited subscription is back.
  • The router runs only while a session of your harness runs, and installs no system service. When it is down, requests fail instead of leaving unchecked.

Get started

You need a coding agent (Claude Code, Codex or pi) logged in to your subscription, and Node or Bun. On an API key alone there is nothing to protect, and setup says so. You also need an OpenAI API key under your organization's BAA for the PHI check, and for Claude Code or pi an Anthropic API key or a Claude Enterprise login under the same BAA. Setup finds what your machine already has and asks only for the rest.

Paste this into your coding agent:

Install phi-router for your harness by following its SETUP.md in https://github.com/drsh4dow/phi-router/blob/main/SETUP.md

Claude Code sets it up in the same window, and you paste any key it needs in the plugin's masked field. pi sets it up in the same window, and you type any key it needs in a masked field. Codex sets it up in the chat, and you type any key it needs in a terminal. Or run it yourself, with codex or pi in place of claude:

npx phi-router setup claude

By hand in pi, run pi install npm:phi-router, then type /reload and /phi setup.

New releases arrive by themselves in Claude Code and Codex, from phi-router's release channel, and load in the next session. The router your open windows share keeps the version it started with until you close them all, and a new window says so when a newer one waits. pi tells you when one is out, and pi update --extensions takes it. To update now in any of them, run npx phi-router@latest setup claude, with codex or pi in place of claude. It keeps your accounts and asks nothing it already knows.

phi-router checks each message for patient data before it is sent. The check runs on OpenAI Decisions under your BAA. Messages it flags, or cannot clear, go to your BAA account. Everything else goes to your subscription as before. Setup asks which account your BAA covers and, on a first run, whether to add another subscription. To add one later, run npx phi-router accounts add. For a Claude Enterprise login or a key in a password manager, see Accounts.

Disclaimer

This software comes with no warranty. The author takes no responsibility for how you use it, including with policies other than the one it ships.

OX Radar and Response Center

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.

Where it’s listed

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).

  • npm phi-router

References

The publisher’s own links, as the registry reports them. These are not sources for the assessment on this page.

Powered by Read the latest findings

Scan your whole stack

Group 1261154050 1
Group 1261154050
 

From OX Research Newsroom

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?
Vulnerability Insights

The 2026 Vulnpocalypse Hits PHP: Four Critical RCEs, but How Dangerous Are They?

Cry2Wolf: How to Tell a Real Bug from a Nothingburger
AI & VibeSec

Cry2Wolf: Not Every Branded Bug Deserves a Fire Drill

Critical Apache HTTP Server Flaw Exposes Web Servers to RCE (1)
CVE

CVE-2026-119618: Critical Apache HTTP Server Flaw Exposes Web Servers to Remote Code Execution

Frame 2085668439 (1)
Group 1261154229