FedRAMP Moderate

Map the FedRAMP Moderate baseline to access, monitoring, remediation, audit and system-protection controls.

Control framework · Sovereign region

What it checks

Policies in the FedRAMP Moderate template, in the order the gateway runs them
PolicyOnChecksAction
prompt-injectionRequestDetects jailbreak and prompt-injection signalsBlock
rbacRequestRequires the X-User-ID, X-Org-ID and X-PIV-Auth headersBlock
pii-detectorRequest3 custom identifier patternsRedact
dlp-filterRequest4 blocked terms such as “FOUO” and “CUI”Block
agent-firewallBothAllows 2 tools; denies 3 tools; at most 3 actions per sessionBlock
quality-scorerResponseAccuracy ≥ 0.85; combined score ≥ 0.85Block
human-oversightResponseReturns an escalated result instead of the assistant contentEscalate
audit-loggerRequestAdds an allow-only audit marker to the decisionRecord
Policy YAML
pack:
  id: "fw_fedramp_baseline"
  name: "fedramp-baseline"
  version: "0.1.0"
  enabled: true
  author: "verdictan"
  description: "FedRAMP baseline starter for PIV-gated access, CUI blocking, and accountable review."
policies:
  chain:
    - "prompt-injection"
    - "rbac"
    - "pii-detector"
    - "dlp-filter"
    - "agent-firewall"
    - "quality-scorer"
    - "human-oversight"
    - "audit-logger"
policy:
  prompt-injection: {}
  rbac:
    deny_if_missing: ["X-User-ID", "X-Org-ID", "X-PIV-Auth"]
  pii-detector:
    action: redact
    detect_patterns: [ "(?i)(?:case|docket|matter)\\s*(?:#|number|no\\.)\\s*[:#-]?\\s*[A-Z0-9-]{4,20}", "(?i)(?:tax\\s*(?:id|identification)|ein|tin)\\s*[:#-]?\\s*\\d{2}-?\\d{7}", "(?i)\\bfoia\\s+request\\s*(?:id|#|number)?\\s*[:#-]?\\s*[A-Z0-9-]{4,20}"]
  dlp-filter:
    blocked_terms: ["FOUO", "CUI", "SBU", "law enforcement sensitive"]
    action: block
  agent-firewall:
    allowed_tools: ["document_search", "regulation_lookup"]
    blocked_tools: ["shell", "network_scan", "file_upload_external"]
    max_actions_per_session: 3
  quality-scorer:
    thresholds:
      min_aggregate: 0.85
      min_accuracy: 0.85
  human-oversight:
    action: escalate
  audit-logger: {}