CJIS Security Policy

Map criminal justice information controls for authentication, personnel, facilities, media, encryption, audits and incidents.

Control framework · Sovereign region

What it checks

Policies in the CJIS Security Policy template, in the order the gateway runs them
PolicyOnChecksAction
prompt-injectionRequestDetects jailbreak and prompt-injection signalsBlock
rbacRequestRequires the X-User-ID and X-Org-ID headersBlock
pii-detectorRequestRedacts or blocks personal identifiers in the request, and redacts them in the buffered responseRedact
dlp-filterRequest3 custom patternsBlock
bot-detectorRequestFlags matching fingerprints or near-identical prompts on one gatewayWarn
quality-scorerResponseAccuracy ≥ 0.80; combined score ≥ 0.80Block
audit-loggerRequestAdds an allow-only audit marker to the decisionRecord
Policy YAML
pack:
  id: "fw_nist_security_baseline"
  name: "nist-security-baseline"
  version: "0.1.0"
  enabled: true
  author: "verdictan"
  description: "Security-control baseline starter for federal access, blocking, and monitoring."
policies:
  chain:
    - "prompt-injection"
    - "rbac"
    - "pii-detector"
    - "dlp-filter"
    - "bot-detector"
    - "quality-scorer"
    - "audit-logger"
policy:
  prompt-injection: {}
  rbac:
    deny_if_missing: ["X-User-ID", "X-Org-ID"]
  pii-detector:
    action: redact
    detect_patterns: []
  dlp-filter:
    detect_patterns: ["(?i)\\b(?:controlled\\s+unclassified\\s+information|cui)\\b", "(?i)\\b(?:for\\s+official\\s+use\\s+only|fouo)\\b", "(?i)\\bsensitive\\s+but\\s+unclassified\\b"]
    action: block
  bot-detector: {}
  quality-scorer:
    thresholds:
      min_aggregate: 0.80
      min_accuracy: 0.80
  audit-logger: {}