
HOL Guard
Open-source antivirus for AI agents: block risky tools, secret access
by io.github.hashgraph-onlineOpen source
Description
HOL Guard is an open source, local-first security layer for AI agents that checks what an agent is about to do before it runs. It reviews shell commands, file access, package installs and MCP tool calls, looking for exposed secrets, destructive operations, prompt injection and supply-chain risks, then allows, blocks or asks for approval based on your policy. It also covers plugins, skills and MCP servers, and includes a plugin scanner. It runs locally without an account, with a CLI and a local dashboard for managing protection, resolving approvals and reviewing past decisions. An optional Guard Cloud adds shared history, team policies and fleet management. Installation needs Python 3.10 or newer and pipx; a first-run wizard finds supported agents and asks before each setup change. It is published on PyPI as hol-guard.…
Highlights
- Reviews shell commands, file access and installs
- Checks MCP tool calls, plugins and skills
- Detects secret exposure and prompt injection
- Allow, block or ask based on policy
- Local CLI and dashboard, no account needed
- Optional Guard Cloud for teams
Ratings & Reviews
No ratings yet
Be the first to rate HOL Guard.
People also visit

Synk Skill Security Scanner
Security scanner for AI agents, MCP servers and agent skills

AIM-Intelligence/AIM-Guard-MCP
Security-focused safety guidelines and content analysis for AI agents

agent-owasp-compliance
Check any AI agent codebase against the OWASP Agentic Security Initiative
HOL Guard FAQ
What is HOL Guard?
A local security layer that reviews AI agent actions such as shell commands, file access, package installs and MCP tool calls before they run.
What does it detect?
Secret exposure, destructive operations, prompt injection and supply-chain risks.
Do I need an account?
No. It runs locally without an account. Guard Cloud is optional and adds shared history, team policy and fleet management.
How do I install it?
It needs Python 3.10+ and pipx and is published on PyPI as hol-guard. A first-run wizard detects supported agents and asks before each setup change.
Where can I see what it blocked?
In the local dashboard and CLI, which show decision history and pending approvals.
What are the best HOL Guard alternatives?
Popular alternatives to HOL Guard include Synk Skill Security Scanner, AIM-Intelligence/AIM-Guard-MCP and agent-owasp-compliance. See all HOL Guard alternatives














