Skip to content

Masking

The node that hands data to an AI model masks it first, so real values stay on the node. Each value is left out, replaced by a placeholder such as [name 2] (the same value always gets the same placeholder in a chat), or sent as it is. The level decides for every field: layout hides every value, masked hides every value except plain fields such as status, count and the organisational fields department, departmentNumber, division, ou, o, organization, company and employeeType, real hides nothing. Exceptions can decide for one field, on one connection or everywhere. A secret-shaped field (a password, a token, an API key) is never sent. Long lists are sent compact: the count, the field names and the first 5 rows. When the model names a placeholder in a tool call, the node puts the real value back.

Masking is on by default at level masked; InCentru Cloud can change the settings, but never past INCENTRU_MASKING_FLOOR when it is set. Field names (object keys) are never masked, so data used as a key is sent as it is.

A ticket’s description, a note or a comment can name anybody, so free text is a class of its own. Each connector names the fields of its records that hold free text (Zendesk’s subject and description, an LDAP entry’s description, and for HTTP and SQL, whose records have no fixed shape, common names such as note, comment and message). A free-text field gets one of four rules:

  • Placeholder (standin, the default at layout and masked): the model gets the text’s placeholder and facts that name nobody, not the text: {"text": "[text 1]", "characters": 57, "language": "en"}. An empty text is sent as it is. Passing [text 1] in a call puts the text back, on the connection it came from.
  • Summary (summary): the model gets the placeholder, as above, and a short summary that a model on this machine wrote (see A local model for summaries), with every personal value in it a placeholder: {"characters": 92, "language": "en", "summary": {"intent": "The requester cannot get a 2FA code", "facts": ["No alternative email is set", "[value 1] suggested a phone call"], "concerns": ["2FA"]}, "text": "[text 1]"}. With no local model, or when it fails, the placeholder goes alone, never the text. On a field that is not free text, summary is a placeholder.
  • Names hidden (record): the text is sent with the values its own record holds replaced by their placeholders. In a ticket that holds its requester’s and assignee’s email addresses, “Mei says it fails; Hana is looking at it” reaches the model as “[email 2 part 1] says it fails; [email 1 part 1] is looking at it”. A person’s own name and the words of it count, as whole words, and so do the record’s phone numbers, ids and other hidden values; a password is replaced by [never sent to the model]. A word of a name or an email gets its own placeholder, tied to the whole value’s ([email 2 part 1] is a word of [email 2]), and passing it back fills in the word as the text wrote it, so a text the model passes back unchanged is written unchanged. Anybody the record does not hold is sent as written, and so is a value written differently from how the record spells it. On a field that is not free text, record is a placeholder.
  • Real: the text is sent as written, as at level real.

Set a rule with incentru settings masking --exception note=record (or note=summary, note=real), or under Free text in the Client’s What AI sees screen. From strictest to loosest the rules are never, placeholder, summary, names hidden and real. Summary and names hidden are looser than a placeholder, so a masking floor of masked or layout turns them back into a placeholder. activity.log counts the texts held back and how many of them went with a summary.

A summary is written by a model you run, on this machine or on your local network: any server with an OpenAI-compatible chat completions API, such as a small instruct model on Ollama, the llama.cpp server, LM Studio or vLLM. Set it with

incentru settings local-model --url http://127.0.0.1:11434/v1 --model <a small instruct model>

or under Free text in the Client’s What AI sees screen. Add --key-stdin if the server wants an API key; the key is encrypted under the local key. Saving tries the model on an invented text first and refuses one that does not answer; --test tries the one set and prints what the AI would get and how long it took. incentru up and incentru mcp read the setting when they start. Only this machine sets it: InCentru Cloud’s settings never name a local model.

  • Where it may be. incentru connects only to loopback, private (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, fc00::/7), link-local and 100.64.0.0/10 addresses. The address is checked after the name is resolved, on the connection itself; no proxy is used, redirects are not followed and the answer is read up to 64 KiB. A model that runs elsewhere cannot be set: its summaries would take the text off your network.
  • What it reads. The text with its record’s values already replaced by their placeholders, as Names hidden sends it, with a fixed prompt that asks for the writer’s intent, up to six facts, the systems the text is about, and every personal value the text holds.
  • What is checked before anything is sent. Each part of the answer is cleaned: a placeholder the model invents becomes [removed]; the record’s values and the values the chat already holds become their placeholders; so do the personal values the model listed, wherever the text holds them; email addresses and numbers of four or more digits (phone numbers, ids, account numbers, dates) become placeholders; and a word the text writes with a capital where no sentence starts (a likely name) becomes a placeholder too. Short all-capital words such as VPN or 2FA stay. A part that repeats eight or more consecutive words of the text is dropped as a copy, not a summary. The intent is cut to 200 characters, the facts to six of 200, the concerns to eight of 80. The summary’s placeholders fill in only on the connection the text came from.
  • When it is not used. With no local model set, when it cannot be reached or does not answer in time (60 seconds by default, --timeout), when its answer cannot be read, or when nothing is left of the intent and the facts once cleaned, the text goes out as its placeholder alone. One answer to the AI waits for at most five new summaries and 90 seconds in all; the rest of its texts go out as placeholders. A text already summarised is not read again while incentru runs.

A summary is a model’s reading, not the text. It can be wrong, leave something out, or follow instructions written into the text, and the AI tool is told to check a detail only the summary gives before acting on it. The checks above are not perfect: a name written in lower case, or a value of an unusual shape, that the model copies without listing it can get through. They also hide more than they need to: a product name written with a capital (a mail client’s name, say) can become a placeholder.

Freshdesk’s and Confluence’s search_articles and get_article return help articles: an article_title, an article_text (the page as plain text, a long one in parts of about 6000 characters: pass part to read the next one while more_parts is true) and an article_url. These are free-text fields like any other, so by default the model gets them as placeholders, which is no help for finding the documented fix for a ticket.

Articles written for an organisation’s readers rarely hold anybody’s details, so you can send the articles of one connection with names hidden:

incentru settings masking --articles help-center

This sets the rule record on article_title, article_text and article_url for that connection only; --articles help-center=real sends them exactly as written, and --articles help-center=standin holds them back again. Any value the chat already holds behind a placeholder, such as the email address of a person read from the directory, keeps its placeholder in the article. Anybody else an article names is sent as written, so do this only for articles written for readers, never for a knowledge base that holds people’s details. A masking floor of masked or layout still holds the articles back. incentru demo sends its sample helpdesk’s articles this way.

In InCentru Cloud, open Settings, Assistant, and under Exceptions add three rows for that connection, one each for article_title, article_text and article_url, with the rule “Send with names hidden” (or “Send the real value”). Remove the rows to hold the articles back again.

incentru remembers which connection each placeholder’s value was read from. When the model passes a placeholder back, the real value is filled in only on a call to that connection. A value that arrives through two connections (an email in both the directory and the helpdesk) may go to either: a system that already holds a value can receive it again.

A call that would carry a value to another connection does not run. The model gets an error that names the placeholder, the two connections and the kind of value, never the value itself, so text read from one system (a ticket asking to copy a phone number elsewhere, say) cannot move data from another system without you knowing.

To let values go from one connection to another, allow a flow, for some kinds of value or all of them (email, phone, name, group, id, value, text):

Terminal window
incentru connection set directory --allow-flow helpdesk:email # emails from directory to helpdesk
incentru connection set directory --remove-flow helpdesk # stop that flow
incentru connection show directory # "sends" and "receives" list the flows

The Client’s What AI sees screen shows the same flows under Between systems, and the connections tool lists them for the model. incentru demo lets the sample directory send emails and names to the sample helpdesk, and nothing else. Flows apply to placeholders only: a value sent as it is (level real, a plain field or a real exception) is already in the model’s hands.

What masking leaves visible (counts, the shape of records, error text from your systems) is in the security model.