Skip to content

feat: masking of PII - #71

Open
schiwekM wants to merge 10 commits into
mainfrom
feat/masking
Open

feat: masking of PII#71
schiwekM wants to merge 10 commits into
mainfrom
feat/masking

Conversation

@schiwekM

@schiwekM schiwekM commented Sep 1, 2026

Copy link
Copy Markdown
Collaborator

Mask PII properties returned from queries, actions and functions so the LLM works with hashes and not the actual PII.
Masked values are shown in traces, actual values are injected for the hashes when the message is returned to the user.

The hashing is seeded for each conversation, to ensure that LLMs cannot infer relations between PII across sessions.

Masking of AI Core is not enabled because it has larger performance impact and when we mask the initial user input and tool results we do not need the AI Core masking, thus leading to a better performance.

Current ToDo:

  • Use HANA NLS and DPI Data masking for the initial user message to scrape PII from it too.

Have you...

  • Added relevant entry to the change log?

@schiwekM
schiwekM marked this pull request as ready for review September 8, 2026 14:56
@schiwekM
schiwekM requested review from a team as code owners September 8, 2026 14:56
@schiwekM
schiwekM requested a review from Akatuoro September 8, 2026 14:56
@schiwekM
schiwekM added this pull request to stack #115 September 12, 2026 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant