网页 综合 更新时间 2026-11-14 16:28:51

Glossary - agentsh

自动蜘蛛 www.agentsh.org 正文约 6000 字
Glossary - agentsh
Definitions of key terms and concepts in execution-layer security for AI agents.
A runtime enforcement model that intercepts actual operating system calls — file I/O, network connections, process execution, signals — made by AI agents, rather than relying on prompt instructions or model alignment to constrain behavior. Policies are evaluated deterministically against real system operations at the kernel level. The agent never sees the enforcement; it simply cannot perform operations that policy does not permit.
Why it matters: Unlike prompt-based controls, execution-layer security cannot be bypassed through prompt injection and provides auditable evidence of enforcement for compliance frameworks like SOC 2 and NIST AI RMF.
See: Getting Started | What Is Execution-Layer Security?
Policy decisions based on deterministic rules — file paths, network destinations, process names, operation types — that produce the same result every time for the same input. A deny rule on /etc/passwd will always deny access, regardless of how the AI model frames its request or what prompt engineering is applied.
Why it matters: Deterministic enforcement can be formally audited and verified. Auditors can review the policy, observe the behavior, and confirm the outcome is predictable — something impossible with probabilistic AI-based controls.
See: Policy Reference
Security mechanisms that depend on AI model behavior for enforcement — prompt engineering, system instructions, guardrail models, and output filtering. These controls are probabilistic: the same input may produce different outcomes depending on model state, context window contents, or adversarial inputs like prompt injection.
Why it matters: Non-deterministic controls cannot guarantee enforcement. They can be bypassed through prompt injection, model updates, or context manipulation, and they cannot satisfy compliance requirements that demand verifiable, repeatable security controls.
See: Getting Started — contrasts non-deterministic controls with execution-layer security
A declarative set of rules defining what an AI agent can and cannot do at the execution layer. Policies specify decisions (allow, deny, steer, approve) for file access, network connections, command execution, signals, database access, and MCP tool calls. They are evaluated deterministically against actual system operations.
Why it matters: Policies are the foundation of deterministic enforcement — they define the security boundary in a format that is human-readable, version-controllable, and auditable.
See: Policy Reference
A runtime proxy that governs Postgres-family database traffic for declared services. agentsh routes governed processes through a per-session Unix socket, authenticates the connecting process with Linux peer credentials, evaluates connection policy, classifies SQL statements, applies optional require_where mutation guards, and emits database audit events before traffic reaches the upstream database.
Why it matters: AI agents often reach production data through existing database clients. Database proxying makes SQL activity enforceable and auditable at runtime instead of relying on application code or prompt instructions.
See: Database Proxy | Policy Reference → Database Access
A named entry under db_services that declares a protected database upstream. Each service defines the database family, dialect, upstream host:port, and TLS mode used by the proxy.
Why it matters: Database policy is scoped to declared services. agentsh can only route and govern database destinations the operator has identified in policy.
See: Policy Reference → Database Access
The generated routing and bypass-prevention controls for declared db_services. When policies.db.unavoidability is observe or enforce, agentsh starts proxy listeners, redirects declared database connects to the proxy, denies direct egress to protected upstreams, and blocks common local Postgres Unix sockets for governed processes.
Why it matters: The security boundary is destination egress denial, not a list of known database tools. Custom tunnel binaries still have to connect to the protected upstream and are denied there.
See: Database Proxy → Unavoidability
Redirecting agent operations to approved alternatives rather than simply allowing or denying them. For example, rewriting file paths to a sandboxed directory, redirecting network connections to an approved proxy, or substituting a command with a safer equivalent. The agent continues working without interruption, but its operations are transparently redirected.
Why it matters: Steering enables security without blocking agent productivity. Instead of failing operations and requiring manual intervention, agents are guided to safe alternatives automatically.
An immutable, tamper-evident log of every operation intercepted at the execution layer — file access, network connections, process execution, policy decisions, and their outcomes. Audit trails use HMAC-based integrity verification to detect tampering and can be exported via OpenTelemetry for integration with SIEM and observability platforms.
Why it matters: Audit trails provide the compliance evidence that security controls are working. They demonstrate to auditors exactly what an AI agent did, what was blocked, and what was allowed — with cryptographic proof of log integrity.
An opt-in enforcement backend that uses the Linux ptrace API to intercept syscalls at the kernel level. The ptrace tracer attaches to agent processes via PTRACE_SEIZE and intercepts execve, file I/O, network, and signal syscalls — enforcing the same policy rules as other security modes but without requiring seccomp user-notify, eBPF, Landlock, or FUSE. A seccomp BPF pre-filter can be injected into traced processes to reduce overhead to only policy-relevant syscalls.
Why it matters: Ptrace mode enables full policy enforcement on restricted container runtimes — AWS Fargate, Modal (gVisor), and restricted Kubernetes — where the preferred kernel mec
访问原文 返回搜索 https://www.agentsh.org/docs/glossary/
本页为82搜索生成的网页快照,内容来自站内索引;演示数据的原文链接仅作示例。