Asset Management

Protect client data, flag market-sensitive content, review financial output and keep records during AI-assisted investment research.

Industry starter · Regulated SaaS, Financial (cache disabled)

What it checks

Policies in the Asset Management template, in the order the gateway runs them
PolicyOnChecksAction
prompt-injectionRequestDetects jailbreak and prompt-injection signalsBlock
pii-detectorRequest1 custom identifier patternRedact
dlp-filterRequest3 blocked terms such as “secret” and “client account export”Block
mnpi-filterResponseWatch terms “insider trading” and “material non-public information”Block
financial-complianceResponseBlocked phrases “guaranteed returns” and “buy this stock”; adds 1 disclaimerBlock, add disclaimers
quality-scorerResponseAccuracy ≥ 0.80; relevancy ≥ 0.78; combined score ≥ 0.86; at least 120 characters and 2 sentencesBlock
human-oversightResponseNo action is set, so it does not review responsesNone
audit-loggerRequestAdds an allow-only audit marker to the decisionRecord
Policy YAML
pack:
  id: "cfg_asset_management"
  name: "asset-management"
  version: "0.1.0"
  enabled: true
  author: "verdictan"
  description: "Asset-management controls for confidential client data, market-sensitive content, and a configurable human-oversight point."
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: {}