Tinfoil
PLUGINTinfoil confidential inference as a Ulpi model provider.
by counterposition · v2.0.0
What it does
Tinfoil confidential inference as a Ulpi model provider. Open-weight models from Tinfoil's live catalog (Kimi, GLM, gpt-oss and others) run in attested hardware enclaves that neither the cloud host nor Tinfoil can read.
Ulpi reaches them only through Tinfoil's local tinfoil-proxy, which verifies the enclave's attestation and pins its TLS key before forwarding anything; there is no fallback to an unverified connection. The proxy starts on demand.
Disclosure — Ulpi sends requests, including a /v1/models read for the model list, only to the local proxy (127.0.0.1:3301, or TINFOIL_BASE_URL); the proxy is what contacts Tinfoil. When nothing listens on the proxy's port, the plugin starts the user's installed tinfoil-proxy binary in its own session and leaves it running after Ulpi exits, logging to proxy.log in the plugin's data directory; it never downloads a binary, and TINFOIL_PROXY_AUTOSTART=0 turns this off.
The proxy inherits only an allowlist of the environment (PATH, home, temp and user, locale and time zone, SSL_CERT_FILE/SSL_CERT_DIR, HTTP(S)_PROXY/NO_PROXY, and Windows system directories); every other variable, including all TINFOIL_* variables, is withheld. TINFOIL_API_KEY is read through Ulpi's provider profile and sent to the proxy as the request's bearer token.
The plugin writes catalog.json (the last model list it saw) and proxy.log under its plugin-data directory, registers no tools, hooks or middleware, and sends no telemetry.
Review notes
What an owner reads and accepts before the install is approved.
- Ulpi has not reviewed this version: it is listed in the public plugin catalog, and the install still fetches it at its pinned commit, checks its shape and scans it before you approve