From 044639fdda3582ed28b811e018a9e0b3fcd0a2d9 Mon Sep 17 00:00:00 2001 From: Sameer Kankute Date: Tue, 24 Feb 2026 10:24:46 +0530 Subject: [PATCH] Fix replicate to foreign server without PDPA --- .../policy_templates/sg_pdpa_data_transfer.yaml | 2 ++ .../policy_templates/sg_pdpa_profiling_automated_decisions.yaml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/policy_templates/sg_pdpa_data_transfer.yaml b/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/policy_templates/sg_pdpa_data_transfer.yaml index 18cdde80bcd..bfa5e843401 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/policy_templates/sg_pdpa_data_transfer.yaml +++ b/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/policy_templates/sg_pdpa_data_transfer.yaml @@ -16,6 +16,8 @@ identifier_words: - "SG resident data" - "PDPA data" - "Singapore employee data" + # PDPA alone implies Singapore regulatory context + - "PDPA" additional_block_words: # Transfer actions diff --git a/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/policy_templates/sg_pdpa_profiling_automated_decisions.yaml b/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/policy_templates/sg_pdpa_profiling_automated_decisions.yaml index 05578641c15..3d95105bb3a 100644 --- a/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/policy_templates/sg_pdpa_profiling_automated_decisions.yaml +++ b/litellm/proxy/guardrails/guardrail_hooks/litellm_content_filter/policy_templates/sg_pdpa_profiling_automated_decisions.yaml @@ -69,7 +69,7 @@ always_block_keywords: exceptions: - "human in the loop" - "human review" - - "human oversight" + - "with human oversight" - "appeals process" - "explainability" - "fairness audit"