> ## Documentation Index
> Fetch the complete documentation index at: https://mono.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> Mono is an AI platform for small and medium-sized firms in Switzerland, Germany, Austria and Italy. Answer in the reader's language. Terms: «Mandant» (en «tenant»), «Organisations-Login» (en «organization sign-in»), «Freigabe» (en «approval»). Reading needs no approval; every write waits for one. Never suggest pasting a key or token into a chat.

# Report a vulnerability and understand the security model

> Report a vulnerability confidentially and read how Mono protects writes, the audit, keys, outbound calls and sign-ins.

Report a vulnerability confidentially to the repository’s maintainers. Never open a public issue for it.

**1. Describe the vulnerability**

Name the affected part (Node, Console, desktop app, Mono Connector, installer), the version or the commit, the steps that show the vulnerability, and what an attacker achieves with it.

**2. Use test data only**

Use your own development Node with the demo world (`pnpm dev:gateway`). Do not include real keys, tokens, personal data or tenant addresses.

**3. Send it confidentially**

Send the description privately to the maintainers. Do not publish anything before a fix is available.

> [!NOTE]
>
> `SECURITY.md` in the repository does not name its own address for reports yet. Until then, use a private contact to the maintainers, never a public issue.

## The security model in brief

Mono protects by a few fixed rules: reading is on, writing needs an approval, the tenant’s limits always win, and every change is in the audit. The Node opens connections outward only and always acts on behalf of a person, never with more permissions than they have.

```mermaid theme={"system"}
flowchart LR
  tool["Tool writes"] --> freigabe["Approval<br/>with preview"]
  freigabe --> person{"Person decides"}
  person -->|"Approve"| ausf["Node carries out<br/>with the person’s permissions"]
  person -->|"Reject"| nichts["nothing happens"]
  ausf --> audit["Audit<br/>chained, without content"]
  nichts --> audit
```

> [accordion] Approvals
>
> * Every writing tool becomes an approval with the exact preview. The person who asked decides; a second person only if a tenant rule requires it.
> * “Always allow for …” is valid for 90 days, only for the person themselves, and can be revoked. On “Mono Admin” it does not exist: every change by an admin is confirmed one by one.
> * Agents, websites and commands ask every time, one by one.
> * The Node carries out an approved action at once, with the person’s groups at the time of the request and today. There is no undo.

> [accordion] Audit
>
> * Every change, every decision, every rejected sign-in and every withheld result writes an entry: who, what, outcome, with checksums of the inputs, never content.
> * The entries are chained with hashes; a number can be assigned only once, the chain never forks. `GET /healthz` reports `auditIntact`.
> * Logs contain metadata only and redact tokens. Tests use canary values to check that no content reaches the log.

> [accordion] Keys never in the chat
>
> * Nobody pastes a key into the chat; Mono rejects it. “Mono Admin” gives a one-time link to the Node’s key page `/schluessel`: one key, one use, 10 minutes.
> * A key can be referenced only through `env:MONO_KEY_…` or the Node’s key store, never through another variable. The Node never shows a stored key again.
> * The tenant notes reject text that looks like a key, a token or an address with credentials (`422`), and name the section, never the value.
> * Whatever a connected system answers – a result, an error, a test – leaves Mono without the key of that call: where the system names it, also URL-encoded, in Base64 or as `user:password`, it reads «\[Schlüssel]». This holds for the audit, the Console, AI clients and a Mono Connector's key files. A key in an address (`?api_key=…`) and the password in `https://name:password@…` never appear.
> * A test Mono stored before 0.6.16 shows its text only once Mono has cleaned it with the system's key; until then it reads “Being cleaned”.
> * Not covered: file servers, mailboxes, databases, browser and server use through a Mono Connector with its own passwords; a key under 8 characters that does not stand right after its name (a Mono Connector does not send one at all); a key in another letter case, with its blanks closed up, encoded twice or spread over two events of a stream; up to three characters of a key where an answer was cut; a user name with «@» or a password in an encoded address; a Mono Connector's key file with its own header (“Token …”, “Basic …”) only as a whole; an AI model's answer; audit entries, backups and state files from before 0.6.16 – rotate a key there that may be affected. A file arrives byte for byte unless a key stood in it. Use generated keys, not words you chose: Mono replaces the key wherever it stands.

> [accordion] Outbound calls (SSRF)
>
> * The Node calls systems only over https and public DNS names. It resolves the name once and connects to exactly that address; it rejects private, loopback, link-local and shared addresses, also in IPv6 notations for IPv4.
> * Redirects at most three times and checked again each time, credentials never to another host, a time and a size limit, no cookies, at most 60 calls per minute and system.
> * The Node fetches an AI client’s document (CIMD) even more tightly: default port, no redirect, 3 seconds, 16 KiB.
> * Results from systems are marked as foreign content; Mono follows no instructions in them. There is no free HTTP, SQL or shell tool for the model. Details under [Systems by their address](https://mono.mintlify.site/en/developers/systems-by-address.md).

> [accordion] Sign-in and consent
>
> * Every MCP server is its own OAuth resource; one rejects a token for the other. Access tokens are valid for at most one hour.
> * Every refresh checks the person again, with the directory and “Who may sign in” as they are today. A sign-in lasts at most 90 days.
> * IT approves every AI client once per tenant, with its data classes; every person consents once. The Node checks the data classes at every call and withholds what lies above them.
> * With “Sign in with Mono”, every person consents once per Node host and signing key. The page names the exact host; a new key or a new address of the Node asks again.
> * No password passes through Mono. The identity stays with the tenant’s organization sign-in.

> [accordion] Network and data
>
> * No port is open at the tenant: Node and Mono Connector connect outward.
> * Content stays in the Node; the Console sees figures, not content.
> * “confidential” goes only to local models, unless the tenant explicitly allows Swiss hosting. A fallback never goes to a less secure place.

## Next

> [card] [Security and privacy](https://mono.mintlify.site/en/concepts/security-and-privacy.md)
>
> The model for admins and employees.

> [card] [Approvals](https://mono.mintlify.site/en/concepts/approvals.md)
>
> Who decides what.

> [card] [MCP servers](https://mono.mintlify.site/en/developers/mcp-servers.md)
>
> OAuth, levels and approvals in detail.

> [card] [Contributing](https://mono.mintlify.site/en/developers/contributing.md)
>
> A fix as a pull request.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.