HxShield monitors case intake and workflow events in real time, scoring each case for fraud and abuse signals. Suspicious cases are automatically flagged and routed to a dedicated Review Queue before they can progress.
HxShield operates as a background listener on the case_events table. On case creation and on each stage transition, it evaluates the case against every active rule. Each rule contributes a delta to the case's cumulative risk score (0–100). When the score exceeds the configured flag threshold (default 70), the case is flagged and — depending on the rule action — may be held (preventing stage advancement) or auto-cancelled.
| Pattern | Description | Evaluates On | Configurable Parameters |
|---|---|---|---|
| Velocity Check | Too many cases from the same IP address, email, or phone number within a rolling time window | Case creation | field to check (ip/email/phone), count threshold, window (minutes) |
| Duplicate Detection | High embedding similarity to a recently closed or already-flagged case | Case creation | similarity threshold (0.0–1.0), lookback period (days) |
| Field Anomaly | A numeric field value is an outlier relative to the historical distribution for this case type | Case creation, field update | field key, deviation multiplier (e.g. 3× std dev) |
| Behavioral Pattern | Case data matches a JSON pattern template associated with a known fraud vector | Case creation | pattern JSON (e.g. {"country": "XX", "amount_gt": 9000}) |
| Escalation Abuse | The same user has escalated more than N cases within a time window | Escalation event | count threshold, window (minutes) |
Navigate to Studio > HxShield > Rules > Add Rule.
Select a Rule Type from the pattern library above.
Set the Threshold — the numeric value that triggers the rule (e.g. velocity: 5 cases per 10 minutes).
Set the Risk Score Delta — how many points this rule adds to the cumulative score when it fires (1–100).
Choose the Action: Flag only (log and alert), Flag + Hold (block advancement until reviewed), or Flag + Auto-cancel.
Set Scope: all case types, or specific case types only.
Click Save Rule. Rules activate immediately for new cases.
Navigate to Studio > HxShield > Review Queue. Flagged cases appear here with:
| Action | Effect | Audit Log |
|---|---|---|
| Clear | Mark as legitimate, remove hold, resume workflow | Logs reviewer identity + timestamp |
| Confirm Fraud | Cancel the case, record pattern for future detection improvement | Logs fraud confirmation + pattern data |
| Escalate | Assign to a senior fraud analyst with elevated permissions for deeper investigation | Logs escalation + assignee |
| Setting | Location | Default | Description |
|---|---|---|---|
| Flag Threshold | Studio > HxShield > Settings | 70 | Cumulative risk score that triggers flagging |
| Notification Target | Studio > HxShield > Settings | Admin role | Who is notified when a case is flagged |
| Review Deadline | Studio > HxShield > Settings | 24 hours | Held cases not reviewed within this window trigger an escalation alert |
HxShield receives signals from multiple platform layers beyond case events:
| Signal Source | Events Fed to HxShield |
|---|---|
| Authentication | Failed logins, account lockouts, MFA bypasses, unusual login geography, new device first use |
| API access log | Anomalous request rates per user, access to sensitive endpoints outside normal hours |
| HxBridge webhooks | Inbound webhook HMAC failures (possible payload tampering), repeated delivery retries |
| Audit chain | Chain verification failures — triggers immediate high-severity incident |
| Session anomalies | Token reuse from multiple IPs, session duration outliers, rapid role escalations |
HxShield is evolving toward automated incident response (SOAR). Planned automated playbooks triggered by detection rules:
| Trigger | Automated Action |
|---|---|
| Confirmed fraud pattern | Revoke user session via jti revocation list, quarantine tenant namespace, alert on-call |
| Leaked credential detected | Force-rotate affected secrets via secrets manager, lock account, page security team |
| Audit chain broken | Freeze platform writes, page admin immediately, begin forensic snapshot |
| SSRF attempt on webhook | Block connector, log originating case and user, create security incident |
| Repeated authz denials | Temporary rate-limit user, flag for manual review if pattern continues |
All inbound and outbound webhook URLs registered via HxBridge are validated against an allowlist before execution. Blocked destinations include:
10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, 127.0.0.0/8169.254.169.254 (AWS/GCP/Azure instance metadata)169.254.0.0/16, [::1]Any connector call to a blocked destination is rejected with a 403, logged as a security event in HxShield, and written to the connector's Dead Letter Queue for manual review.