v0.3.1 macOS build signed and notarized

A sandbox for the HTML tools AI models write for you.

Paste in a single-file tool. Sanctum lists what it found in the source, such as camera access or the hosts it calls, and runs the tool with only the parts you turn on. The rest is blocked before the tool's first line of script runs.

Free for individuals · macOS, Windows, Linux · No account

Enforced by the runtime

  • Zero capabilities by default
  • Per-tool origin isolation
  • SHA-256 on every launch
  • No OS bridge in tool windows
  • AGPL-3.0

The problem

The same file, opened two ways.

A model gives you 800 lines of HTML and JavaScript. You're unlikely to read all of it, and one of those lines could be a fetch to a host you've never heard of.

Opened in a browser tab

file:///Downloads/invoice-parser.html
  • GETapi.example.com/ratessent
  • POSTtracker.adnet.io/collectsent
  • POST185.199.x.x/uploadsent
  • CAMgetUserMedia()prompt

Every request goes out. You only find out what the tool contacted afterwards, if at all.

Opened in Sanctum

sanctum-tool://tool-7f3a/
  • GETapi.example.com/ratesapproved
  • POSTtracker.adnet.io/collectblocked · CSP
  • POST185.199.x.x/uploadblocked · CSP
  • CAMgetUserMedia()not granted

You approved api.example.com before the tool ran. The Content Security Policy refuses the other requests.

How it works

What happens when you add a tool

Sanctum never runs the file from where you got it. It works from its own stored copy.

Step 01

Ingest

Paste from the clipboard or pick a file. Sanctum stores a copy under its SHA-256 hash and only ever runs that copy.

Step 02

Scan

A static scan looks for capability signals like camera, USB, serial, geolocation, storage and smart cards, and records every literal hostname in the source.

Step 03

Approve

Each capability gets its own toggle. Network access is per host, so you can allow the one API a tool needs and leave the rest off.

Step 04

Run

The tool opens at its own origin under a Content Security Policy built from your approvals. Sanctum removes the app's IPC globals before the tool's HTML is parsed.

The app

What you see in Sanctum

The main window holds your tools, the Catalogue and Settings. On macOS, a second window builds new tools with Codex. These views are drawn from the app's own interface in its light theme, with the same labels and states.

Tool Vault

Every tool you added, in one place

Tools you pasted or opened yourself are listed under Your tools. Signed tools are grouped under their publisher. Each card shows what the tool asks for, whether its network access is on, and the start of the SHA-256 hash of the stored file.

The Tool Vault in Sanctum: two tools of your own, a card for creating an app, and two tools from Enigma Technologies Solutions marked as a verified publisher.

Permissions

Each permission has its own switch

Inspect a tool to see what the scan found in its source. Every permission starts switched off. Network access names the hosts, and the summary under the switches says what the tool can do the next time it runs.

The permissions of a tool named Invoice Parser. Camera is off, storage is on, and network access is on for api.example.com only.

Catalogue

Read what a signed tool asks for before you install it

The Catalogue lists the tools in each registry you added, with the publisher, the version and the permissions each tool declares. Installing a tool adds it with no access. You still approve each permission yourself.

The Catalogue showing the four tools signed by Enigma Technologies Solutions, two installed and two ready to install.

Create, on macOS

Describe a tool and Codex writes it

Sanctum 0.3.0 adds a Create window on macOS. You sign in with your ChatGPT account and describe the tool you want. Codex works in a private folder, and its commands have no network access.

A draft joins your vault only when you choose Add to library. It starts with no access, like any other tool.

The Create window: a request for a packing list, the steps Codex took, and the draft with Preview and Add to library buttons.

Settings

Each setting says what it contacts

Settings is where you pick the theme, check your registries for updates and withdrawn tools, and turn building apps on or off. Each option says what it contacts. The daily registry check stays off until you turn it on.

Sanctum Settings, with the theme set to Light and the daily registry check turned off.

Signed tools

Start with tools Enigma signed.

The Catalogue tab in Sanctum lists tools that are signed by their publisher. Installing one adds it with no access at all, and you approve each permission yourself. Verified means the publisher is who it says and the file has not changed. It does not mean the tool is safe.

Overview of Shamir: split a secret into shares and combine them back.

Shamir signed

Split a secret into shares and combine them back. Runs offline and asks for no access.

Overview of OTP Vault: one-time codes generated inside Sanctum.

OTP Vault signed

Time-based one-time codes kept in Sanctum storage, and optionally on a smart card. Asks for storage, and for smart card access only if you use it.

Overview of Enigma PDF Watermark: a summary of what stays on your computer and a button to choose PDF files.

PDF Watermark signed

Put a visible, traceable watermark on PDFs before you share them. Runs offline and asks for no access.

Overview of Hash Check: choose a file, paste a checksum and check it.

Hash Check signed

Check a file against the checksum its publisher gave you. Runs offline and asks for no access.

Install in Sanctum opens the app, which shows the tool and what it asks for, then waits for your click. Sanctum not installed yet? Download it first.

Security model

What the runtime enforces

The scan only fills in the approval screen. The controls below apply whether or not the scan caught anything.

01

Origin isolation

Each tool runs at its own origin, and the WebView scopes storage, cookies and service workers by origin. One tool can't read another tool's data.

02

CSP enforcement

Every fetch directive starts at 'none'. When the window is created, each host you approved is added as an explicit https: and wss: entry.

03

IPC removal

Every __TAURI__* global is deleted before the tool's HTML is parsed. Tool windows also have an empty capability set, so rebuilding the IPC bootstrap doesn't reach any command.

04

Integrity check

The stored file's SHA-256 is recomputed on every launch. If it doesn't match, the tool is quarantined and its window isn't created. There's no prompt to override it.

05

Static scan advisory

The scanner decides what shows up on the approval screen, and that's all it does. If it misses a capability, that capability is never granted.

New in 0.1 · Hardware

Smart card access is per applet

A tool can send commands to a FIDO2, PIV or OpenPGP card, but only to the applet you approved. That gives tools access to things WebAuthn doesn't expose to web pages, such as CTAP2 hmac-secret.

You approve a specific applet

The scan picks up literal applet IDs from the source, so the prompt asks about “FIDO2 / WebAuthn” rather than the whole card.

Other applets stay out of reach

Raw commands can't re-select, so a tool approved for FIDO2 can't reach the PIV or OpenPGP applets on the same card. The session closes when the tool's window does.

The default

Tools start with nothing.

  • Network access needs an approved host
  • Tool windows can't call into the app or the OS
  • Tools don't share storage
  • Sanctum has no account and sends no telemetry

Comparison

Why not just open it in a browser?

A browser tab runs the page straight away with normal web permissions. A virtual machine isolates it, but doesn't tell you what it tried to reach. Sanctum shows what a tool uses before it runs and enforces what you approve.

Capability Browser tab Virtual machine Sanctum
Shows what a tool wants before it runsNoNoYes
Network off until you approve itNoAll or nothingPer host
Each tool isolated from the othersPartialOne VM per toolYes
Tamper check on every launchNoNoYes
Smart card accessNot availableWhole readerOne approved applet
SetupNoneHypervisor + guest OSOne app
Price for individualsFreeFree to licensedFree

Pricing

The app is free. Organizations pay for fleet controls.

The free version has the whole sandbox. The paid plan is for companies running Sanctum on many machines who need central policy and audit logs.

Individual

Free

The full app, with no limit on tools or versions.

  • Every sandbox layer described above
  • Static capability scanner
  • Smart card access, per applet
  • macOS, Windows and Linux
  • Full source under AGPL-3.0
Download

No account or telemetry

Design partners

Organization

Not published

We're setting prices with our first design partners.

  • Everything in Individual, for every employee
  • Signed org policy that limits what users can approve in development
  • Fleet deployment via Jamf, Intune and MDM in development
  • Audit log of every ingest, approval and run in development
  • SSO and SCIM provisioning in development
  • Priority vulnerability disclosure channel
  • Commercial licensing for AGPL-incompatible use
Email us about the design partner program

ultra@enigma.sh

FAQ

Questions

What counts as an “HTML tool”?

A single HTML file with its scripts and styles inline, like the calculators, parsers and converters a model writes when you ask for “a small tool that…”. If it works when you double-click the .html file, Sanctum can run it.

Does Sanctum send anything anywhere?

There's no account, telemetry or analytics. The only requests Sanctum makes by itself are an update check against its GitHub releases and, if you turn it on, a daily check of your registries. On macOS there is an optional feature, off until you turn it on in Settings, that lets you build a tool by describing it: it downloads OpenAI's Codex to your computer, and your messages and the drafts Codex writes are sent to OpenAI under your own ChatGPT account. It counts against your plan's usage limits. Sanctum sends none of it. Updates are signature-checked in Rust against a public key built into the app, and only install when you click to install them. A registry is contacted only when you add it, refresh it or install from it, and an sanctum:// link shows a confirmation and does nothing until you click.

Can Sanctum write a tool for me?

On macOS, yes, if you turn it on in Settings. You describe the tool in plain words and OpenAI's Codex writes it, signed in with your own ChatGPT account and counted against your plan. Codex runs inside a sandbox of Sanctum's own: the commands it runs can write only to the draft's folder and reach no network. The finished tool goes through the same approval screen as any other, is marked "Made with Codex" and starts with nothing approved. How it works.

Can I run my own registry?

Yes. A registry is a set of static files on an HTTPS address, so GitHub Pages or an internal web server is enough. You sign a catalogue with your own key, and people who add it check that key and pin it. The guide goes from making keys to adding the registry in Sanctum.

What is a registry, and what does “Verified” mean?

A registry is a signed list of tools that Sanctum can browse and install from. The Enigma registry holds tools Enigma signs. Verified means the publisher is who it says and the file has not changed since it was signed. It does not mean the tool is safe, and a signature never grants access: an installed tool still starts with nothing approved.

What happens when I click “Install in Sanctum”?

Sanctum opens and shows the tool, who published it and what it asks for. Nothing is downloaded or installed until you click inside Sanctum. If you have not added the registry yet, Sanctum asks first.

What if a tool needs the network?

The scanner lists every literal hostname in the source. Sanctum adds the ones you approve to the tool's Content Security Policy as https: and wss: entries. Other hosts stay blocked, including any the tool builds at run time.

Can a tool hide what it does from the scanner?

It can, which is why the scanner isn't the security control. The scan decides what appears on the approval screen and the sandbox enforces your approvals, so anything the scan didn't see was never granted.

Which platforms are supported?

macOS as a universal build, signed with a Developer ID and notarized by Apple. Windows as .msi and .exe. Linux as .deb, .AppImage and .rpm for x86_64 and arm64, including Raspberry Pi OS.

Why is the individual version free?

We don't think the security model should depend on whether you pay. Organizations pay for signed policy, fleet deployment and audit logs, which an individual doesn't need.

Why AGPL-3.0?

So anyone can read the code that sits between a tool and their machine, and changes to it stay open. If AGPL doesn't work for how your company ships software, we offer a commercial license.

The source is on GitHub.

The sandbox is implemented in Rust under src-tauri/src, licensed AGPL-3.0.

Free for individuals · macOS, Windows, Linux · AGPL-3.0