Base confidence per entity type, boosted or penalized by surrounding keywords. SSN near "social security" scores 0.95. The same pattern near "product code" drops to 0.42 and gets skipped. Threshold: 0.6 minimum to flag. An optional LLM Assist pass then removes false positives before any action fires.
Every potential detection is assigned a score from 0.0 to 1.0. Only detections that meet or exceed the minimum threshold of 0.6 are flagged. Actions (masking, tokenizing, blocking) only trigger above this line.
When a pattern matches, each entity type starts with a base confidence score reflecting how reliably that pattern identifies genuine sensitive data. Structural validators (the Luhn algorithm for credit cards, check-digit math for IBANs) can push base confidence to 0.90 or higher before any contextual analysis occurs.
The text surrounding a match is analyzed for keywords that signal whether the match is genuine sensitive data or an incidental pattern hit. Nearby keywords boost the score; terms associated with sample, test, or non-sensitive contexts apply a penalty. The same raw pattern can land on opposite sides of the threshold depending on context.
0.80+0.15 ("social security number")0.95 ✓ FLAGGED0.80−0.30 ("product code", "sample")0.50 ✗ SKIPPEDFor entity types where the data format has mathematically verifiable properties, slim.io runs deterministic validators in addition to pattern matching. These validators confirm structural integrity and substantially reduce false positives from random digit sequences.
4, Mastercard 51–55, Amex 34 or 37, Discover 6011 / 65.Once a final score is computed, the outcome is binary: the entity is either flagged and routed through your policy, or it is silently dropped with no side effects.
When enabled, slim.io runs a second pass after pattern-based scoring. An LLM reviews each flagged entity in context and returns a verdict of true_positive or false_positive. False positives are removed before any action fires.
false_positive are dropped. The remaining set proceeds to policy and action.[SSN]-style tags and surrounding context only.