Wealth Management
Protect client data, flag market-sensitive content, review advice-related output and retain wealth-management records.
What it checks
| Policy | On | Checks | Action |
|---|---|---|---|
| prompt-injection | Request | Detects jailbreak and prompt-injection signals | Block |
| pii-detector | Request | 1 custom identifier pattern | Redact |
| dlp-filter | Request | 3 blocked terms such as “secret” and “client account export” | Block |
| mnpi-filter | Response | Watch terms “insider trading” and “material non-public information” | Block |
| financial-compliance | Response | Blocked phrases “guaranteed returns” and “buy this stock”; adds 1 disclaimer | Block, add disclaimers |
| quality-scorer | Response | Accuracy ≥ 0.80; relevancy ≥ 0.78; combined score ≥ 0.86; at least 120 characters and 2 sentences | Block |
| human-oversight | Response | No action is set, so it does not review responses | None |
| audit-logger | Request | Adds an allow-only audit marker to the decision | Record |
Policy YAML
pack:
id: "cfg_wealth_management"
name: "wealth-management"
version: "0.1.0"
enabled: true
author: "verdictan"
description: "Wealth-management controls for client privacy, market-sensitive content, a configurable human-oversight point for advice, and records."
history:
capture:
enabled: true
mode: metadata_only
include_blocked: true
fail_open: false
policies:
chain:
- "prompt-injection"
- "pii-detector"
- "dlp-filter"
- "mnpi-filter"
- "financial-compliance"
- "quality-scorer"
- "human-oversight"
- "audit-logger"
policy:
prompt-injection: {}
pii-detector:
action: redact
detect_patterns:
- "(?i)(?:national\\s*id(?:entifier)?|national\\s+insurance\\s+number|ni\\s+number|nid)\\s*[:#-]?\\s*[A-Z0-9-]{5,20}"
dlp-filter:
blocked_terms:
- "secret"
- "client account export"
- "wire instructions"
action: block
mnpi-filter:
detect_patterns:
- "insider trading"
- "material non-public information"
financial-compliance:
blocked_patterns:
- "guaranteed returns"
- "buy this stock"
required_disclaimers:
- "This content is for informational purposes only and is not financial advice."
quality-scorer:
min_output_chars: 120
min_sentences: 2
thresholds:
min_aggregate: 0.86
min_relevancy: 0.78
min_accuracy: 0.80
weights:
relevancy: 0.5
accuracy: 0.5
human-oversight: {}
audit-logger: {}