Startups

Give your startup a practical starting point for data protection, abuse prevention and audit evidence.

Industry starter · Regulated SaaS

What it checks

Policies in the Startups template, in the order the gateway runs them
PolicyOnChecksAction
prompt-injectionRequestSimilarity threshold 0.80Block
pii-detectorRequest1 custom identifier patternRedact
dlp-filterRequest5 custom patternsRedact
bot-detectorRequestMore than 20 similar requests in 60 seconds; similarity ≥ 0.90Block
quality-scorerResponseRelevancy ≥ 0.68; combined score ≥ 0.70Block
audit-loggerRequestAdds an allow-only audit marker to the decisionRecord

Rate limit: 300 requests per minute across all gateway replicas.

Policy YAML
pack:
  id: "cfg_demo_startups"
  name: "demo-startups"
  version: "0.2.0"
  enabled: true
  author: "local"
  description: "Startup AI governance baseline — lightweight by design and easy to extend"

# Lightweight by design — keep a simple shared backend while enforcing a modest startup-wide ceiling.
global_rate_limit:
  max_requests: 300
  window_seconds: 60

distributed_rate_limit:
  backend: valkey
  url_env: VERDICTAN_REDIS_URL

# Startups usually want full visibility while they learn how teams use AI.
history:
  capture:
    enabled: true
    mode: raw

policies:
  chain:
    - "prompt-injection"
    - "pii-detector"
    - "dlp-filter"
    - "bot-detector"
    - "quality-scorer"
    - "audit-logger"

policy:
  prompt-injection:
    embedding_threshold: 0.80
    response:
      action: "block"

  # Lightweight by design — redact common personal data before it leaves the team.
  pii-detector:
    action: redact
    detect_patterns:
      - "(?i)\\b\\d{1,6}\\s+[A-Za-z0-9][A-Za-z0-9\\s.\\-]{2,}\\s+(?:st|street|ave|avenue|rd|road|blvd|drive|ln|lane|dr|way|court|place)\\b"

  # Catch accidental secret leaks without stopping normal product iteration.
  dlp-filter:
    detect_patterns:
      - "(?i)(?:api[_\\s-]?key|apikey)\\s*[:#=]?\\s*[A-Za-z0-9_\\-]{16,128}"
      - "(?i)(?:password|passwd|pwd)\\s*[:#=]\\s*\\S+"
      - "(?i)\\b(?:top\\s+secret|secret)\\b"
      - "(?i)(?:bearer\\s+)?token\\s*[:#=]\\s*[A-Za-z0-9._\\-]{8,128}"
      - '-----BEGIN (?:RSA |EC |OPENSSH )?PRIVATE KEY-----'
    action: redact

  # Basic abuse prevention for public demos, contact forms, and prototype copilots.
  bot-detector:
    action: block
    profile_window_seconds: 60
    similarity_threshold: 0.90
    max_requests_per_window: 20

  # Startups prioritize speed; use moderate thresholds and tune upward later.
  quality-scorer:
    thresholds:
      min_aggregate: 0.70
      min_relevancy: 0.68

  # One year of immutable logging is enough for early SOC 2 readiness.
  audit-logger: {}