Human Resources and Recruitment
Add privacy, fairness checks and accountable human review to AI-assisted hiring workflows.
What it checks
| Policy | On | Checks | Action |
|---|---|---|---|
| prompt-injection | Request | Similarity threshold 0.82 | Block |
| rbac | Request | Requires the X-User-ID, X-Org-ID and X-HR-Role headers | Block |
| pii-detector | Request | 8 custom identifier patterns | Redact |
| dlp-filter | Request | 5 blocked terms such as “compensation_data” and “termination_reason”; 3 custom patterns | Block |
| bias-monitor | Response | Bias score threshold 0.80 | Escalate |
| safety-filter | Request | Built-in HR patterns; 5 extra blocked phrases such as “harassment” and “discriminatory_language” | Block |
| quality-scorer | Response | Accuracy ≥ 0.82; relevancy ≥ 0.85; combined score ≥ 0.80; HR profile | Block |
| citation-verifier | Response | Requires cited sources; confidence ≥ 0.88 | Flag |
| audit-logger | Request | Adds an allow-only audit marker to the decision | Record |
Policy YAML
pack:
id: "cfg_demo_hr_recruitment"
name: "demo-hr-recruitment"
version: "0.1.0"
enabled: true
author: "local"
description: "hr-recruitment demo"
distributed_rate_limit:
backend: valkey
url_env: VERDICTAN_REDIS_URL
history:
capture:
enabled: true
mode: redacted
policies:
chain: ["prompt-injection", "rbac", "pii-detector", "dlp-filter", "bias-monitor", "safety-filter", "quality-scorer", "citation-verifier", "audit-logger"]
policy:
prompt-injection:
embedding_threshold: 0.82
response:
action: block
# Title VII / ADA / ADEA: all HR actions must be attributable to an authorized role.
rbac:
deny_if_missing: ["X-User-ID", "X-Org-ID", "X-HR-Role"]
pii-detector:
detect_patterns:
- "(?i)\\bsalary\\s+(?:history|record|details)\\b"
- "(?i)\\bmedical\\s+(?:information|history|record)\\b"
- "(?i)\\bdisability\\s+status\\b"
- "(?i)\\bveteran\\s+status\\b"
- "(?i)\\bgenetic\\s+(?:data|information|profile)\\b"
- "(?i)\\bunion\\s+membership\\b"
- "(?i)\\bimmigration\\s+status\\b"
- "(?i)\\bcriminal\\s+(?:record|history|background)\\b"
action: redact
# Compensation and employee-relations exports should be blocked, not merely masked.
dlp-filter:
blocked_terms:
- "compensation_data"
- "termination_reason"
- "performance_improvement_plan"
- "layoff_list"
- "salary_band"
detect_patterns:
- "(?i)(?:employee|staff|personnel)\\s*(?:id|#|number)\\s*[:#-]?\\s*[A-Z0-9-]{4,16}"
- "(?i)\\boffer\\s+letter\\b"
- "(?i)\\bseverance\\s+(?:terms|package|agreement)\\b"
action: block
# EEOC / GINA / NYC LL144: lower threshold to catch adverse-impact signals early.
bias-monitor:
threshold: 0.80
safety-filter:
mode: hr
block_if:
- "harassment"
- "discriminatory_language"
- "retaliation_suggestion"
- "blacklist_candidate"
- "exclude_protected_group"
action: block
quality-scorer:
industry: hr
thresholds: { min_aggregate: 0.80, min_relevancy: 0.85, min_accuracy: 0.82 }
# Require policy-backed references before acting on handbook, legal, or compensation guidance.
citation-verifier:
require_sources: true
min_confidence: 0.88
audit-logger: {}