Skip to content

Firewall

Restorm intercepts all of its outbound calls — yours as well as its dependencies’ — and blocks by default anything it does not know about.

The benefit is direct: a third-party library phoning home cannot do so without your seeing it.

The firewall's authorisation prompt: the blocked origin, the interception layer and the calling frame, and the Allow / Deny buttons

In this order:

  1. Restorm’s internal infrastructure ports on the loopback interface are allowed.
  2. The whitelist allows.
  3. Origins derived from your project allow — that is, the URLs of your requests, after {{variable}} substitution across every environment, recomputed whenever the tree changes.
  4. The blacklist refuses.
  5. Otherwise, an authorisation prompt is shown.

Point 3 is what makes the firewall livable: importing a three-hundred-operation specification does not trigger three hundred prompts, since all those URLs come from your project.

It shows:

  • the origin concerned, in the form https://exemple.com:443;
  • the layer that intercepted the call;
  • a hint about the caller — the initiating URL, or a stack trace naming the npm package or the file responsible;
  • two buttons, Allow and Deny.

Every decision is persisted in the matching list.

With no window available, or after 60 seconds with no answer, the call is refused automatically.

View ▸ Firewall opens a single tab: two lists, Whitelist (N) and Blacklist (N), with their live counters, one row per rule and its bin icon, plus an add field in scheme://host:port form.

A Test outbound to google.com button lets you check the mechanism works.

A rule is a scheme + host + port triplet. All three are significant: http is not https, and :443 is not :8443.

Adding an origin to one list automatically removes it from the other.

Two wildcards are accepted:

FormEffect
https://api.exemple.com:*Every port on that host
https://*.exemple.comSubdomains one level deep only

https://*.exemple.com covers neither bare exemple.com nor a.b.exemple.com.

  • Automatic update calls are exempt: they raise no prompt.
  • Worker threads and child processes are denied all HTTP traffic, with no possibility of a prompt or of a whitelist override. A deliberately defensive posture.
  • There is no master switch for disabling the firewall. That is deliberate.

Every intercepted call appears in the console, with its verdict, as a copyable shell command.

Six tools, all in the Community edition: open_firewall, firewall_list_rules, firewall_allow, firewall_deny, firewall_list_pending_prompts and firewall_resolve_prompt. Any change made by an agent is audited. See MCP tools.