quiet robotBook a call

Kip

Private data rules

What Kip treats as private, and what happens to it.

View as Markdown

Kip scans the work it's given for private data and treats each kind according to a rule. Detection is plain pattern matching on purpose: it's predictable, testable and can't be talked out of a decision. It only catches formats it knows, so treat it as a safety net rather than a guarantee, and add patterns for your own kinds of private data.

The defaults

KindRule
Social Security numbersredact
Payment card numbersredact (card numbers are checked with the Luhn test)
Bank account and routing numbersredact
Passwordsblock
Health record numberskeep_local

What each rule does

RuleNotes
redactCloud models see a placeholder like [SSN_1]. Tools still get the real value.
keep_localWork that touches it is answered by the local model only. Without a local model, it stops.
blockThe work stops and tells the owner why.

And separately: by default, no kind of private data may leave the business through an outside action such as sending an email or an integration call. Kip Check blocks any such action that carries it.

Your own rules

dataRules in kip.config.json replaces the defaults, so copy the ones you want to keep.

JSON
{
  "dataRules": [
    { "id": "ssn", "label": "Social Security numbers", "pattern": "\\b\\d{3}-\\d{2}-\\d{4}\\b", "action": "redact" },
    { "id": "policy", "label": "Insurance policy numbers", "pattern": "\\bPOL-\\d{8}\\b", "action": "redact", "mayLeave": true }
  ]
}
FieldNotes
idA short name.
labelWhat the owner sees.
pattern, flagsA JavaScript regular expression.
actionredact, keep_local or block.
mayLeavetrue lets this kind go out through outside actions. Default false.