OpenSourceProjects logo
hol-guard logo

hol-guardOpen-source antivirus and firewall for AI agents: block risky tools, secret access, prompt injection, malicious packages, MCP servers, plugins, and skills at runtime.

Open-source antivirus and firewall for AI agents: block risky tools, secret access, prompt injection, malicious packages, MCP servers, plugins, and skills at runtime.

1,081 stars
259 forks
Rust
Apache-2.0
hol-guard screenshot

hol-guard

HOL Guard is an open-source antivirus and firewall for AI agents that blocks risky actions before they execute. It provides local-first protection against malicious tool calls, secret exposure, prompt injection, and supply-chain attacks across multiple AI platforms and agent frameworks.

Key Features

  • Runtime Action Review: Inspects shell commands, file access, package installs, and MCP tool calls before execution
  • Multi-Threat Detection: Identifies prompt injection, secret exposure, destructive operations, and suspicious outbound commands
  • Supply Chain Intelligence: Evaluates packages against threat intelligence before installation
  • Multi-Agent Support: Protects Cursor, Claude Code, GitHub Copilot CLI, Cline, Gemini CLI, and 10+ other AI agents
  • Local-First Architecture: Runs without requiring accounts or external services, with optional cloud features
  • Approval Workflow: Routes decisions to native prompts or a local approval center with full audit history

Use Cases

  • Enterprise AI Deployment: Enforce security policies across teams using AI agents in development workflows
  • Secure Code Generation: Block prompt injections and prevent unauthorized file access in AI coding assistants
  • Supply Chain Protection: Scan and validate packages and MCP servers before installation in agent environments
  • Compliance & Auditing: Maintain detailed logs of all agent actions and security decisions for regulatory requirements
  • Developer Security: Protect individual developers from risky agent actions while maintaining workflow efficiency

Who Is It For

HOL Guard is designed for development teams, security engineers, and enterprises deploying AI agents in their workflows. It's particularly valuable for organizations using Claude Code, Cursor, GitHub Copilot CLI, or other AI coding assistants who need strong runtime security controls without operational overhead.

Trending Open Source Projects