Plank help · updated 2026-11-22

Hiding personal data from external models

An owner or admin can make Plank replace personal data with placeholders before a request leaves for a foreign model, and put the real values back in the answer.

Agents: fetch the raw markdown of this page at /en/help/privacy-masking.md

Hiding personal data from external models

With this setting on, Plank replaces personal and confidential data with placeholders before a request leaves for a model provider abroad. The answer comes back and the real values are put back. You and the assistant see your data as usual — only what travels to the model changes. It is off by default, per space.

Turning it on

Open Settings → General in the space, find Privacy and switch on Hide personal data from external models. Only the space owner or an admin can change it; other members see whether it is on. It takes effect within about a minute, in running chats too.

Below the switch is the Dictionary: names of organisations, people and projects that Plank cannot recognise by their shape. One value per line, up to 5000 values, each up to 200 characters. Press Save dictionary; the switch itself saves at once.

For the whole organization

If your spaces belong to an organization, its owner or an admin can switch hiding on for every space of the organization at once: Settings → Organization → Overview → Privacy. It is off by default.

A space follows the organization until its own owner or admin sets it explicitly: switching hiding on or off in the space's Privacy block overrides the organization for that space, and Follow the organization hands the choice back. The block says whether the value comes from the organization or was set for the space. The dictionary stays per space — the organization's switch does not carry a dictionary.

What is hidden

  • IIN/BIN (12 digits, checked by the checksum), IBAN KZ, card numbers, phone numbers (KZ/RU), e-mail addresses
  • every value in the dictionary, in any case and any ending (the dictionary entry «Ромашка» also matches «Ромашкой»); a legal form such as ТОО or ИП is ignored when matching
  • an IIN/BIN with up to 6 Latin letters glued to it (IIN + 12 digits in a row) is hidden too; with a longer letter run or an id prefix it is taken for an identifier
  • an account number is hidden by its shape, not by its checksum — a scan often loses a digit: KZ + 14-22 letters and digits glued or in groups (space, line break, hyphen), an account after «ИИК», «р/с», «IBAN», «счёт», and other countries' IBANs; it is restored exactly as it was written
  • a number right after «ИИН» / «БИН» (11-13 digits) is hidden even when its checksum is wrong
  • a bare 12-digit number whose checksum is wrong is not hidden — it is not an IIN

What is not hidden

  • amounts
  • images, PDFs and other binary attachments are not read (no OCR) — while masking is on they are not sent to the model at all: it sees only the note «attachment hidden», the file name and type, and cannot work with the file
  • names that are in neither the dictionary nor a recognisable format — put them in the dictionary
  • the system prompt and the workspace AGENTS.md: do not write personal data there
  • requests that are not chat or responses calls (embeddings, model lists)

Over-hiding is the safe side: a dictionary value may hide a little more than it should.

For the assistant

A placeholder looks like ⟦ORG_1⟧, ⟦IIN_2⟧, ⟦PHONE_1⟧. It stands for a real value that you cannot see; the same value always has the same placeholder within a chat.

  • Do not rewrite, explain, translate or count placeholders; keep them exactly as written.
  • In a tool call (a script, a file write, a 1C request) use the placeholder as it is — the real value is put in before the tool runs. A placeholder that is not from this chat stops the tool with an error: use only placeholders you have seen here.
  • You cannot reformat what you cannot see. Ask for a form with a suffix: ⟦CARD_1:digits⟧ (digits only), ⟦CARD_1:last4⟧ (last four), ⟦PHONE_1:e164⟧ (+7XXXXXXXXXX, phones only).
  • The person reading the chat sees real values, not placeholders; do not tell them they are looking at placeholders.