What is Financial Info Policy?
Financial information policies detect and protect credit cards, bank accounts, SSN, routing numbers, IBAN, SWIFT codes, tax IDs, investment accounts, cryptocurrency wallets, and other sensitive financial data.Why its Important?
Financial information policies are essential for protecting sensitive financial data and ensuring compliance with financial regulations like PCI DSS. These policies prevent credit card numbers, bank account details, Social Security Numbers, and other financial information from being sent to LLMs.- Prevents sending financial data to LLM: Blocks credit cards, bank accounts, SSN, and other financial information from being processed by language models
- Protects against identity theft: Prevents Social Security Numbers and other identity information from being exposed or processed
- Ensures PCI DSS compliance: Helps maintain compliance with Payment Card Industry Data Security Standard requirements
Anonymize (Unique Random Placeholders)
FinancialInfoAnonymizePolicy replaces detected financial data with unique random placeholders. Original values are restored in the agent’s response:
Replace (Fixed Placeholder)
FinancialInfoReplacePolicy replaces detected financial data with [FINANCIAL_INFO_REDACTED]. All detected values share the same placeholder — original values are still restored in the final response:
Block
FinancialInfoBlockPolicy blocks any content containing financial information:
Streaming
Financial policies work with streaming — anonymized financial data is de-anonymized in real-time:Available Variants
FinancialInfoBlockPolicy: Pattern detection with blockingFinancialInfoBlockPolicy_LLM: LLM-powered block messagesFinancialInfoBlockPolicy_LLM_Finder: LLM detection for better accuracyFinancialInfoAnonymizePolicy: Anonymizes financial data with unique random replacementsFinancialInfoReplacePolicy: Replaces with[FINANCIAL_INFO_REDACTED](fixed placeholder)FinancialInfoRaiseExceptionPolicy: Raises DisallowedOperation exceptionFinancialInfoRaiseExceptionPolicy_LLM: LLM-generated exception messages

