# Runtime guardrail, defined with a sourced example

GLOSSARY, read 12 Nov 2026

**The short answer.** A runtime guardrail is a control that inspects and can block an agent's prompts or actions while it runs, as opposed to scanning it before deployment. CrowdStrike says its agent-level hooks enforce policy inside Claude Code, OpenAI Codex, GitHub Copilot, Microsoft 365 Copilot, OpenCode and Cursor, to inspect prompts and block malicious activity at the source.

## Definition

A runtime guardrail is a control that inspects and can block an agent's prompts or actions while it runs, as opposed to scanning it before deployment. It might sit in a hook, a gateway or an endpoint sensor.

## Example from a real source

**Example.** CrowdStrike says its agent-level hooks enforce policy inside Claude Code, OpenAI Codex, GitHub Copilot, Microsoft 365 Copilot, OpenCode and Cursor, to inspect prompts and block malicious activity at the source.

## Related terms

- [Pre-execution block](/glossary/pre-execution-block/): A pre-execution block stops a tool call before it runs, based on policy, instead of detecting it afterward.
- [Inventory](/glossary/inventory/): An inventory is a current list of the AI tools, agents, MCP servers, skills and extensions on each device, with versions and owners.
- [Audit trail](/glossary/audit-trail/): An audit trail is a chronological record that lets you reconstruct the sequence of activities around an event.

## Where to read more

- [The Agent Surface Map](/agent-surface-map/)
- [The Action Control Matrix](/action-control-matrix/)
- [All glossary terms](/glossary/)

## Sources

- www.crowdstrike.com/en-us/press-releases/crowdstrike-delivers-ai-security-safety-for-the-enterprise/: https://www.crowdstrike.com/en-us/press-releases/crowdstrike-delivers-ai-security-safety-for-the-enterprise/ (read 12 Nov 2026)

Last reviewed 12 Nov 2026. Canonical: https://aiendpointsecurityranked.com/glossary/runtime-guardrail/
