Security model
Security & Compliance
Hummus Development LLC · dev.hummus@gmail.com · last updated 2026-09-25
Posture in one line. In the desktop product this site sells, Hummus IQ is local-first: the model runs on your hardware, there is no vendor cloud, no telemetry and no analytics, and no server of ours sits in the inference path. For CUI and NDA work a single switch — HUMMUS_OFFLINE=1 — puts it in a fail-closed air-gap that refuses every egress path. Everything below is enforced in code and evidenced file-by-file in our NIST SP 800-171 self-assessment. Where a control is posture-dependent or partial, it says so here and it says so there.
What it is
A self-contained Windows desktop application running a local LLM through Ollama. There is no account to create and no server we operate. The paths by which data can leave are the web-search and read-URL tools — both in the default tool set — and two optional cloud paths, each off until you arm it with your own provider key: the chat’s cloud brain and Code mode’s bring-your-own-key cloud path. Air-gap mode removes all of them.
One posture works the other way, and we would rather name it here than let you find it in the compliance package: the same codebase also has a hosted tier, in which Code-mode prompts — whole file contents included — are sent over TLS to one pinned inference server. The hosted tier is not sold through this website, and the desktop app this site sells refuses to start in it. Where it is offered, it runs under a separate written service agreement that names who operates the inference server, what that operator can see, and how seats are issued and revoked. In that tier, Code-mode prompts and the file contents they include leave your machine and reach that server by design. Until such an agreement says otherwise, assume the operator can see what is sent. It is not the air-gap product. If your work cannot leave your machines, run the desktop app in air-gap — HUMMUS_OFFLINE=1, or the NDA build, which has it compiled in.
Technical controls, enforced in code
- Local model, no vendor cloud. In the desktop posture, inference runs on your Ollama instance and we receive nothing: there is no model API we proxy and no usage we can see. The hosted tier is the exception: there, Code-mode prompts reach one pinned inference server, and the separate hosted service agreement described above names who operates it and what that operator can see. Until it says otherwise, assume the operator can see what is sent.
- Two cloud paths, both off by default — the gates are the control. They are armed differently, so we list them separately. The chat’s cloud brain stays local unless you set HUMMUS_ALLOW_CLOUD=1, set the cloud provider API key variable to your own key and select that provider. Code mode’s bring-your-own-key cloud path needs no environment variable: switching on cloud opt-in in Code-mode Settings and saving your own key there is enough, and from then on the Code-mode conversation — whole file contents included — goes to the provider you chose, or to any compatible endpoint you enter. Air-gap refuses both outright, and the hosted tier disables the Code-mode one. On the packaged builds, and correcting what earlier versions of this page said in each direction: the personal build bundles the cloud provider SDK, and the NDA build is built without it — the packaging spec leaves that package out of both collection steps and names it as excluded, so it is absent from the NDA archive rather than merely unused. Read that narrowly. It takes one client out of one binary; it does not close a route, because Code mode’s cloud path reaches its other provider over plain HTTPS with no SDK involved. In both builds the control is these gates, and the air-gap behind them. An install from source simply omits the package, which our requirements file documents.
- Air-gap switch. HUMMUS_OFFLINE=1 strips the web tools, fails egress closed, refuses both cloud paths, forces encryption at rest, disables auto-memory, and refuses to start at all if OLLAMA_HOST is not a literal loopback address. It works on the standard desktop app as well as in a from-source run, and the NDA build has it compiled in. It is a single, verifiable posture rather than a set of settings you have to keep true.
- Egress is audited; air-gap is what blocks — with three documented exceptions. Deliberate outbound calls are recorded to a tamper-evident, hash-chained audit log before the socket opens, with a keyed MAC, a monotonic sequence, and a high-water record held outside the data directory — so that wiping the log and its anchor, with that out-of-band record still in place, reports as tampered rather than re-certifying the machine as clean. An attacker who deletes all three is back to a fresh chain; that is stated as a limit, not papered over. Outside air-gap that log records rather than blocks: the gate admits every host. Under HUMMUS_OFFLINE=1 it fails closed and refuses all of them. Three documented exceptions to “everything is logged”: the local inference call to OLLAMA_HOST never reaches the choke point and produces no audit line at all — loopback by default and loopback-enforced under air-gap, but unaudited if an operator repoints it; network commands run in Code mode, by the agent or from its terminal, do not pass through the recorder either — a recognised network command is refused by default and needs your confirmation once Code mode’s cloud opt-in is on (see Shell commands below), and the air-gap blocks it; and hosted-tier liveness probes are recorded on first contact and on up/down changes rather than one line each, while every content-bearing hosted call is still recorded individually.
- Tamper-evident, not tamper-proof. Stated the way the code states it: the chain key is wrapped at current-user scope, so a local attacker running as you can derive it and recompute the chain. Where the log is strong is against a different user, an offline disk theft, or a process without your key context. On a machine with no key material the chain degrades to a keyless hash chain that catches only casual edits, and the product reports which mode is live rather than letting the badge imply the stronger one.
- Encryption at rest — off unless you turn it on. AES-256-GCM under a Windows-DPAPI-wrapped key for message, memory and document-chunk content. It is off in the default posture: air-gap forces it on, or you set HUMMUS_ENCRYPT_AT_REST=1 yourself. BitLocker or EFS remains the primary at-rest control either way.
- Loopback-only network bind. The desktop app serves its API on 127.0.0.1 only. It pins that address before its configuration is read, whatever the environment says, so it cannot be exposed to your network. A from-source server run binds loopback by default, and exposing it to a LAN or tailnet is a deliberate opt-in there.
- Authentication with per-IP lockout. A constant-time bearer-token comparison guards the API routes, with a per-IP brute-force lockout that returns 429 rather than continuing to answer, and that a successful authentication clears. Auth is applied as an explicit dependency per route rather than as one blanket rule, which is the honest way to describe it.
- Code-execution sandbox for the Python tool. Two independent layers. A static, fail-closed AST gate refuses the snippet before a process is spawned: only a pure-computation stdlib allowlist may be imported, code-loading and file builtins are blocked, and dunder and re-export escapes are rejected. Then the snippet runs in an isolated interpreter (-I) in a scratch directory with secrets stripped from its environment, under a runtime audit hook armed before any snippet bytecode executes, with the native process-spawn modules evicted.
- What that sandbox is not. The source file is blunter about its own limits than a marketing page usually is, so we repeat it: the static layer is a filter, not a guarantee — expression forms that hide a module object behind a list, tuple, dict or function return defeat it, which is why the runtime layer exists. The runtime layer is a denylist over the operations CPython actually audits plus a by-name eviction list, not a kernel sandbox: a snippet that reaches the os module can still read file metadata and process info, and any snippet can burn CPU until the timeout kills it. The Windows app this site sells cannot switch the layers off: its launcher removes HUMMUS_UNRESTRICTED from the environment before the configuration is read, so setting it has no effect. In a from-source or self-hosted server install, setting HUMMUS_UNRESTRICTED=1 turns both layers off by design — that flag is off by default and ignored under air-gap. For a genuine NDA or government deployment the hard perimeter is the air-gapped host and OS process isolation; these layers are defence in depth.
- Shell commands. The agent must get your approval before running any command, by default. The OS-level network-denied container is an opt-in setting in the default desktop posture, defaults on under the hosted profile, and is required rather than optional under air-gap, where a lexical classifier is not enough because a script can open its own socket. Outside air-gap the container is best effort: if it cannot launch a command, the command is re-run without it — still after your approval and behind the command classifier, but with no network denial — and the result is marked as not sandboxed. Under air-gap such a command is refused instead.
- File-access confinement. Agent file read and write are confined to a workspace directory, resolved and compared after symlink and junction resolution rather than by string prefix. Code mode also refuses to open, as its workspace, a folder that contains the data directory or the egress log’s own directory. One scope limit: the product’s own documentation lists lifting file-path confinement among the effects of HUMMUS_UNRESTRICTED=1, a flag only a from-source or self-hosted server install can set. The desktop app cannot run in that mode.
- SSRF guard. Outbound page fetches are allowed only to hosts that resolve entirely to public addresses: loopback, RFC1918, link-local including cloud metadata, CGNAT and tailnet ranges, reserved and multicast targets are refused, and redirects are re-validated rather than followed to a target the audit line would then misname. The guard covers those page fetches only — the read-URL tool, a page you name in your own message, and the pages a web search reads. It does not cover Code mode’s bring-your-own-key cloud path: an endpoint address you enter there is contacted wherever it points, private or not.
- Outbound content filter. The largest thing that can leave — a cloud or hosted-tier inference payload carrying whole file contents and a long transcript — passes an operator deny-list and a secret-shape filter before the socket opens, as does Code mode’s own web-search query, and a hit refuses the send and names what tripped rather than silently redacting it. Non-text parts such as images are refused rather than passed uninspected, because a filter that cannot read a payload cannot clear it. The secret-shape filter matches a short list of known key formats; a credential in any other format passes it. It does not cover the default web-search and read-URL tools. What those send is checked only against the operator deny-list, which does nothing until you add terms, and is never screened for secret shapes. Local inference to Ollama is not filtered either.
- No telemetry, no trackers. No analytics, crash-reporting or advertising SDKs. The one bundled dependency that ships product telemetry has it disabled in code, in two independent places.
NIST SP 800-171 Rev. 2 — self-assessment
We maintain a full, code-grounded self-assessment of all 110 requirements with file-level evidence and a POA&M. It uses a shared-responsibility model: Hummus IQ implements or supports the technical controls inside its own boundary — boundary protection, identification and authentication, encryption at rest, audit, least functionality, air-gap — while the organisational, physical and personnel controls are inherited by the operating organisation and documented in its System Security Plan.
- Current status breakdown: Implemented 12 · Partial 47 · Customer Responsibility 41 · Not Applicable 9 · Planned 1. The single Planned control is 3.13.11 (FIPS-validated cryptography), which is a procurement decision rather than a code change.
- On the SPRS number: SPRS is scored against the operator’s complete CUI system, not against a software component in isolation, so we deliberately publish no headline SPRS score. Quoting one would be misleading. The authoritative score is computed per deployment, and this document is an input to that assessment rather than a substitute for it.
The full self-assessment, data inventory and data-flow documentation are provided with the product and are available to prospective buyers under NDA — dev.hummus@gmail.com.
What we do not claim
- Not CMMC-certified. No ATO. Not FedRAMP-authorised. Those are sponsored, independently audited processes that cannot be self-issued, and we will never market the product as “certified.”
- Because the desktop product is local-first, FedRAMP largely does not apply — it authorises cloud offerings. The web tools, the two cloud paths and the hosted tier each reintroduce cloud-egress considerations, which is why air-gap is the recommended CUI and NDA posture.
- App-level cryptography is not FIPS 140-3-validated by default. Use a validated module, or rely on BitLocker, which is validated. This is tracked on our POA&M rather than glossed over.
- Outside air-gap the egress layer is an audit recorder, not a destination control: two paths never reach it — local inference to OLLAMA_HOST and network commands run in Code mode — and hosted liveness probes are summarised. At-rest encryption is off by default. Web search and read-URL are in the default tool set. And the hosted tier sends your Code-mode prompts off the workstation. Air-gap is the posture where the strong claims hold without qualification.
Running an NDA or government build
- Set HUMMUS_OFFLINE=1 — on the standard desktop app or a from-source run; the NDA build already has it compiled in. The application refuses to start if that is set while OLLAMA_HOST is anything but a literal loopback address, so the air-gap cannot be half-configured.
- The desktop builds bind loopback only and cannot be exposed. If you run from source as a server instead, keep the bind on loopback, or restrict it to your own tailnet.
- The NDA build carries no cloud provider package: the packaging spec leaves it out of both collection steps and names it as excluded, so it is absent from that archive rather than present-but-unused. The personal build still bundles it, and an install from source simply omits it. Do not read the absence as a closed route — Code mode reaches its other cloud provider over plain HTTPS with no package of its own, so the gates and the air-gap remain what stop it.
- Deploy on a BitLocker or EFS volume.
- Install from a hash-locked lockfile.
- HUMMUS_UNRESTRICTED has no effect in the desktop builds: the launcher removes it from the environment before the configuration is read. If you run from source or as a self-hosted server, leave it unset. It is off by default and ignored under air-gap, but it is the one flag that disables the code-execution gate outright, and the product documents it as lifting file-path confinement too.
Security reports: dev.hummus@gmail.com. For the commercial terms these controls are sold under, see Terms and Privacy.