How PharosHub works
Proof first. Containment second.
PharosHub embeds a narrow enforcement point in the application. Deception creates proof, proof opens a short-lived quarantine, and the quarantine protects only the routes your team explicitly chose. That is active defense without an opaque model blocking customers.
What twenty-three hostile requests become
Six steps, about five minutes
Register your application
You give us one domain. We normalise it — scheme, www and path are stripped — and issue a public key and a secret. The secret is shown once, never returned by the console again, and retained server-side only to verify signed reports.
Install the package
One npm install and one line of middleware, mounted before your own routes. It runs inside the application you already have. There is nothing to provision and no DNS to repoint.
Define the protected boundary
Name the routes and methods where a hostile request becomes expensive: admin screens, authentication, checkout mutations, internal APIs. PharosHub never expands beyond this explicit list.
Tripwires establish proof
A single hit is recorded and allowed no further. Repeated distinct traps, corroborated exploit behavior, or use of a planted token crosses a deterministic proof gate. Reputation alone can never contain someone.
The runtime contains locally
The proven source is immediately denied on protected routes for a short TTL. The lookup is in local memory; no request waits for PharosHub, and public routes remain available to the same source.
Instances share attack memory
The signed event stream synchronizes that short-lived decision across application processes. Every prevented action joins one incident ledger. Releasing a shared decision takes effect centrally at once and reaches running guards on their next signed sync.
The containment safety boundary
Active defense needs stricter rules than monitoring. These properties are enforced by the package architecture, not left to an operator’s judgement during an incident.
| Proof, never reputation | A bad-IP list or score cannot trigger containment. The source must touch deterministic deception proof. |
| Explicit routes only | Containment applies only to route and method policies you configured; it cannot spread to the public site. |
| No inline dependency | The decision is local. Reporting and cross-instance synchronization are detached from the request. |
| Short-lived by default | Quarantine expires automatically after 30 minutes and can be released immediately. |
| Reads nothing private | No cookies, sessions, form fields, or request bodies from your real routes. |
| Readable source | Nothing minified or obfuscated. It sits in your node_modules and you can read all of it. |
| Bounded memory | Sources, observations, and delivery queues are capped. Hostile input cannot grow process memory without limit. |
Where this does not help
An attacker who strips our beacon from their copy will not appear on your Copies screen. Most do not, because the copying is automated and the value is in volume — but a careful adversary can, and you should know that before you buy.
We do not see systems you have not instrumented. Third-party checkout, identity, email, and internal infrastructure remain outside this control unless their own surfaces are explicitly added.
An attacker who never touches a tripwire and presents no other deterministic proof will not be contained. That is deliberate: PharosHub accepts a miss rather than use an opaque score to deny a legitimate user. It also never reaches back or retaliates.
This is an application-layer control beside your WAF, identity provider, and secure development process. It is not a replacement for any of them.
Ready to install it?
Create an account, register your domain, copy one line of code.