An immune system for AI in the real world.
A defense-in-depth concept for stopping unauthorized access, containing unsafe agent behavior and ensuring that people can always interrupt, inspect and recover an AI-operated system.
Do not trust intelligence with unlimited authority.
TARAH Sentinel is a proposed security layer around autonomous AI systems—not a claim that any single “antivirus” can guarantee safety. It combines identity, least privilege, action inspection, isolation, anomaly detection, approvals, independent shutdown and evidence. The goal is to prevent one compromised prompt, account, model or integration from becoming a compromised business.
What the defense is designed to resist.
Controls assume that instructions, connected data, third-party systems and even an AI workload may become untrusted.
Eight layers. No single point of trust.
Identity boundary
Every agent, user, tool and workload receives a verifiable identity. Anonymous actions are denied; delegated authority expires.
Least-privilege broker
AI systems never receive ambient access. A policy broker grants the minimum tool, data, destination and time window required.
Intent and action inspection
Requests and proposed actions are checked for prompt injection, data exfiltration, privilege escalation, destructive behavior and policy conflict.
Runtime containment
High-risk work runs inside isolated environments with network, file, credential, process and spending limits. Sensitive actions can require approval.
Behavioral tripwires
Signals such as repeated denials, abnormal tool sequences, secret discovery, persistence attempts or unexpected outbound traffic raise the risk state.
Independent shutdown path
A separate control plane can pause tools, revoke credentials, isolate workloads and preserve evidence without relying on the AI being monitored.
Tamper-evident evidence
Decisions, approvals, tool calls, policy results and containment events are recorded with integrity protection and limited retention.
Recovery and learning
After containment, operators rotate credentials, verify systems, restore trusted state and turn confirmed incidents into new tests and controls.
Risk changes what the system is allowed to do.
Approved work inside policy
Anomaly detected; increase logging and narrow permissions
Block risky tools, destinations and data access
Stop external actions and separate the workload
Human-led investigation, rotation, restoration and review
Movement toward stricter states can be automatic. Returning to normal requires verified conditions and, after isolation, an authorized human review.
Human control must exist outside the model.
The monitoring AI cannot be the only authority over its own permissions, logs or shutdown controls.
Out-of-band stop
Operators need a separate, authenticated method to revoke access and halt external actions.
Two-person control
Credential export, policy weakening, destructive actions and production reactivation can require two authorized people.
Fail closed
If policy, identity, logging or containment services are unavailable, high-risk actions stop instead of silently continuing.
Test the controls before trusting the autonomy.
01Map every tool, credential, dataset, destination and human owner.
02Create abuse cases for injection, exfiltration, escalation, persistence and shutdown resistance.
03Run isolated red-team exercises with synthetic data and disposable credentials.
04Measure detection time, containment time, false positives and recovery completeness.
05Re-test after every model, prompt, connector, permission or infrastructure change.
06Commission independent security and safety review before high-impact deployment.
Safety is a system property, not a product promise.
This concept does not make an AI infallible, prove alignment, replace endpoint security, authorize offensive access, or remove legal and operational responsibility from people. It must complement secure engineering, conventional malware protection, identity management, backups, incident response, vendor review and sector-specific regulation.
