Observed since 20 Oct, 18:41 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Enterprise Security Control Plane SDK for Autonomous and Multi-Agent AI Systems
The Deterministic AI Security Control Plane & Zero-Trust Reference Monitor for Autonomous and Multi-Agent Systems
ActShield is an open-source, enterprise-grade AI Security Control Plane and Zero-Trust Reference Monitor engineered specifically for autonomous and multi-agent AI ecosystems (LangChain, CrewAI, AutoGen, LlamaIndex, Semantic Kernel, and custom agent architectures).
As AI agents evolve from passive conversational bots into autonomous software actors capable of reading untrusted documents, querying production databases, browsing the open web, invoking APIs, and delegating sub-tasks to other agents, standard application security controls (firewalls, WAFs, and static IAM) become insufficient.
ActShield establishes an active runtime control boundary around agents, ensuring that:
Autonomous AI agents introduce unprecedented threat vectors that break traditional cybersecurity assumptions. Below is an in-depth breakdown of the 6 fundamental security challenges in multi-agent systems and how ActShield deterministically mitigates each.
┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ MULTI-AGENT THREAT LANDSCAPE │
├───────────────────────────────────┬───────────────────────────────────┬────────────────────────────────┤
│ 1. Indirect Prompt Injection │ 2. Authority Escalation │ 3. Rogue Tool & MCP Poisoning │
│ Untrusted text hijacks LLM │ Sub-agent expands privileges │ Malicious tool schemas & │
│ reasoning to execute attacks. │ beyond orchestrator grant. │ data exfiltration vectors. │
├───────────────────────────────────┼───────────────────────────────────┼────────────────────────────────┤
│ 4. Hallucinatory Governance │ 5. Black-Box Execution │ 6. Silent Behavioral Drift │
│ LLM-policing-LLM fails due │ No causal lineage between │ Cumulative context shifts │
│ to non-deterministic bypasses. │ intent, prompts & actions. │ cause unauthorized actions. │
└───────────────────────────────────┴───────────────────────────────────┴────────────────────────────────┘
TRUSTED_INTERNAL, USER_VERIFIED, UNTRUSTED_EXTERNAL, MCP_EXTERNAL).TAINTED. This taint tag automatically propagates across all downstream reasoning and multi-agent delegation hops.TAINTED context unless explicit, deterministic sanitization has occurred.orchestrator.delegate(to_agent="researcher", capabilities={"read_docs"}) executes, the sub-agent receives an immutable capability token. Any attempt by the sub-agent to invoke tools outside its granted capability set triggers an immediate AuthorityEscalationAttempt block and logs a security incident.MCPGateway): ActShield acts as a reverse security proxy between the agent and MCP servers.SourceType.MCP_EXTERNAL and assigned appropriate taint levels before entering agent context.ALLOW, MONITOR, HITL, QUARANTINE, BLOCK, REVOKE) is evaluated strictly by deterministic Python code.INTENDED: What the agent planned to do.REQUESTED: The raw tool call and argument payload.ALLOWED: The deterministic policy decision.ATTEMPTED: The invocation passed to the interceptor.EXECUTED: The actual runtime outcome and downstream impact.CausalGraph): Produces an immutable, cryptographically correlated execution trace.actshield forensic why evt_8891a4 # Explains the complete causal chain
actshield forensic trace trc_99021b # Reconstructs all multi-agent hops
BehavioralBaselineTracker): Continuously computes statistical metrics across tool invocation frequency, parameter entropy, error rates, and capability distances.HITL) approvals or placing the drifting agent into quarantine. Autonomous AI Agents
(LangChain, CrewAI, AutoGen, LlamaIndex, Custom)
│
▼
┌──────────────────────────────────────────────────────────────────────────┐
│ ActShield Core SDK │
│ ┌───────────────────────┐ ┌──────────────────────┐ ┌──────────────────┐ │
│ │ Agent Registry │ │ Delegation Monotonic │ │ Context Taint │ │
│ │ (Cryptographic ID) │ │ Authority Manager │ │ Provenance │ │
│ └───────────────────────┘ └──────────────────────┘ └──────────────────┘ │
│ ┌───────────────────────┐ ┌──────────────────────┐ ┌──────────────────┐ │
│ │ MCP Security Gateway │ │ HTTP Security Proxy │ │ Tool Interceptor │ │
│ └───────────────────────┘ └──────────────────────┘ └──────────────────┘ │
└─────────────────────────────────────┬────────────────────────────────────┘
│
▼
┌──────────────────────────────────────────────────────────────────────────┐
│ Security Intelligence Layer │
│ ┌────────────────────────────────────────────────────────────────────┐ │
│ │ Pluggable AI Secura Reasoners (OpenAI / Gemini / Anthropic / Ollama)│ │
│ └────────────────────────────────────────────────────────────────────┘ │
│ ┌────────────────────────────────────────────────────────────────────┐ │
│ │ APIRIS (API Risk Intelligence Engine) + Baseline Drift Tracker │ │
│ └────────────────────────────────────────────────────────────────────┘ │
└─────────────────────────────────────┬────────────────────────────────────┘
│
▼
┌──────────────────────────────────────────────────────────────────────────┐
│ Deterministic Policy Evaluator │
│ │
│ ALLOW │ MONITOR │ HITL │ QUARANTINE │ BLOCK │ REVOKE │
└─────────────────────────────────────┬────────────────────────────────────┘
│
▼
┌──────────────────────────────────────────────────────────────────────────┐
│ Evidence & Operational Plane │
│ ┌───────────────────┐ ┌──────────────────┐ ┌───────────────────────┐ │
│ │ Causal Forensics │ │ Incident Engine │ │ Continuous Posture │ │
│ │ & Trace Replay │ │ (7-Stage Cycle) │ │ Scorecard (6 Dims) │ │
│ └───────────────────┘ └──────────────────┘ └───────────────────────┘ │
│ ┌───────────────────┐ ┌──────────────────┐ ┌───────────────────────┐ │
│ │ Threat Modeling │ │ CI/CD Quality │ │ Embedded Next.js │ │
│ │ (STRIDE + AI) │ │ Security Gates │ │ Control Plane UI │ │
│ └───────────────────┘ └──────────────────┘ └───────────────────────┘ │
└──────────────────────────────────────────────────────────────────────────┘
# Core package
pip install actshield
# With optional AI intelligence provider support
pip install actshield[openai]
pip install actshield[gemini]
pip install actshield[anthropic]
pip install actshield[ollama]
# Full enterprise suite (CLI + FastAPI Server + All Providers)
pip install actshield[all]
import asyncio
from actshield import ActShield, SourceType, TrustLevel
# 1. Initialize Control Plane in strict zero-trust mode
guard = ActShield(mode="strict")
guard.start()
# 2. Register Root Orchestrator
orchestrator = guard.register_agent(
name="orchestrator",
capabilities={"delegate", "read_docs", "generate_summary"},
trust_level="HIGH"
)
# 3. Protect a Sensitive Execution Sink
@guard.protect(
tool="customer_db.query",
sensitivity="critical",
required_capability="database_read"
)
async def execute_customer_query(sql: str):
"""Executes database queries — blocked if caller lacks capability or context is TAINTED."""
return {"status": "SUCCESS", "records": 42}
# 4. Delegate Authority (Monotonically constrained)
researcher = orchestrator.delegate(
to_agent="researcher-001",
capabilities={"read_docs"}, # Valid subset of orchestrator capabilities
task_id="tsk_quarterly_report"
)
# 5. Ingest External Untrusted Context (Tainted)
untrusted_input = guard.create_context(
source_type=SourceType.UNTRUSTED_EXTERNAL,
trust_level=TrustLevel.UNTRUSTED,
content="Download report from untrusted web URL..."
)
# 6. Policy Enforcement:
# Calling execute_customer_query under researcher with tainted context:
# -> BLOCKED (Missing 'database_read' capability + context is TAINTED)
# Diagnostic & Posture
actshield doctor # Comprehensive subsystem diagnostic
actshield posture --json # Output 6-dimension security scorecard
actshield status --json # Real-time runtime telemetry
# Multi-Agent Governance
actshield agents --graph # Render multi-agent topology & delegation graph
actshield tasks --json # Active agent tasks and intent bindings
actshield policies --json # Deterministic policy boundaries
# Threat Modeling & Forensics
actshield threat analyze -o threat-report.md # Automated STRIDE + AI threat analysis
actshield forensic why evt_8891 # Full causal chain explanation of an event
actshield forensic trace trc_9902 # Trace causal hops across agents
# CI/CD Quality Gate & Embedded Control Plane
actshield gate evaluate --min-score 85.0 --json # Automated deployment gate
actshield serve --port 8000 # Embedded Control Plane Dashboard + API
ActShield ships with a pre-compiled, standalone Next.js dashboard embedded directly inside the wheel package:
actshield serve
# Dashboard UI → http://127.0.0.1:8000/
# Swagger Docs → http://127.0.0.1:8000/docs
# REST API → http://127.0.0.1:8000/api/v1/
Tarun V
AI Security Engineer & System Architect
Apache-2.0. See LICENSE for details.
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.9.3 | 3 Oct 2026 | 18 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 18:41 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:744416b258e59de14b1ead9c0309adba2b3416c885b26f0ccc0bfa4c303356d5