AI Plugin Scanner
The hashgraph-online/hol-guard repository ships two related products:
hol-guardis a local security layer for AI agents. It reviews shell commands, file access, package installs, MCP tool calls, and new or changed plugins, skills, and tool configuration before they run, then allows, blocks, or asks for approval according to your policy.plugin-scanneris a CLI for maintainers. It runs repository and CI quality gates across Codex, Claude Code, DeepSeek Harness, Gemini CLI, Kimi Code, and OpenCode plugin ecosystems.
The earlier hashgraph-online/ai-plugin-scanner repository is archived and points to hol-guard. The published package names did not change: hol-guard and plugin-scanner on PyPI. The GitHub Action source also lives in the hol-guard repository and publishes to hashgraph-online/ai-plugin-scanner-action.
Use the scanner after a plugin is scaffolded and before publishing, registry ingestion, or GitHub review. Use Guard on developer machines where you want trust checks and approval flows in front of agent actions.
Canonical docs URL: https://hol.org/docs/libraries/ai-plugin-scanner/
Package mapDirect link to Package map
pipx install hol-guard
pipx install plugin-scanner
Both packages require Python 3.10 or newer. pip install inside a virtual environment also works. Older automation can still invoke compatibility aliases such as codex-plugin-scanner; new workflows should call plugin-scanner.
HOL GuardDirect link to HOL Guard
Guard runs locally and works without an account. It detects supported agents, installs hooks or launch integrations for them, and records a local receipt for every decision. Approvals appear in the agent's own prompt when it has one, in the local approval center at the dashboard, or in the terminal.
Guard's hot path runs in a native Rust resident runtime that ships inside the platform wheels. The Python package provides the hol-guard CLI, the local dashboard daemon, and harness integration. See Guard architecture for the split.
First run and everyday commands:
pipx install hol-guard
hol-guard init
hol-guard status
hol-guard doctor
hol-guard approvals
hol-guard receipts
hol-guard dashboard
hol-guard init discovers supported agents and asks before each setup change. To set up one agent by hand:
hol-guard detect codex --json
hol-guard install codex
hol-guard run codex --dry-run
hol-guard run codex
Guard supports these harness IDs:
| Agent | Harness ID |
|---|---|
| Codex | codex |
| Claude Code | claude-code |
| GitHub Copilot CLI | copilot |
| Cursor | cursor |
| Cline | cline |
| Gemini CLI | gemini |
| Antigravity | antigravity |
| Grok | grok |
| Hermes | hermes |
| Kimi Code | kimi |
| Pi | pi |
| oh-my-pi | omp |
| OpenClaw | openclaw |
| OpenCode | opencode |
| ZCode | zcode |
| Devin | devin |
Paseo is covered through the native provider integrations above. Enforcement, approval delivery, and failure behavior differ per harness, so check the harness support matrix before relying on a specific event.
Guard state lives in ~/.hol-guard, with an optional per-workspace .hol-guard.toml. Guard get started lists the files and the dashboard tabs.
Start with these Guard guides:
- Guard get started
- Local-first runtime and approvals
- Local-first and optional cloud
- Approval center and audit trail
- Command activity
- Guard architecture
- Harness support matrix
- Codex harness
- Claude Code harness
- Cursor harness
- Gemini harness
- OpenCode harness
- Testing and validation
When local Guard is working and you want the signed-in operating model:
- Guard Cloud command center
- Devices and shared trust memory
- Inventory, ABOM, and artifact detail
- Receipts, changes, and history
- Alerts, watchlists, and advisories
- Team policy and delegated approvals
- Exceptions and expiring windows
- Billing, credits, and plans
The full list, including managed controls, routing, and integrations, is in the Guard guides index.
plugin-scannerDirect link to plugin-scanner
plugin-scanner scans plugin manifests, marketplace metadata, skills, MCP configuration, apps, assets, and repository security posture. It works against a single plugin or detects supported ecosystems inside a repository root.
EcosystemsDirect link to Ecosystems
plugin-scanner --list-ecosystems
Built-in ecosystem adapters:
- Codex
- Claude Code
- DeepSeek Harness
- Gemini CLI
- Kimi Code
- OpenCode
Use --ecosystem to select one. At a Codex marketplace root, the scanner discovers local plugin entries under ./plugins/....
Scanner quick startDirect link to Scanner quick start
pipx install plugin-scanner
plugin-scanner lint .
plugin-scanner verify .
plugin-scanner scan . --format json
plugin-scanner verify . --online
plugin-scanner doctor . --component mcp --bundle dist/doctor.zip
Command surfaceDirect link to Command surface
| Command | Purpose |
|---|---|
scan | Weighted repository or plugin scan with policy evaluation |
lint | Rule-level findings, --list-rules, --explain, and safe autofix support |
verify | Runtime and install-surface readiness checks, with optional --online probing |
submit | Scan, verify, and policy gate that emits a plugin-quality artifact |
doctor | Component diagnostics and zipped troubleshooting bundles |
What it checksDirect link to What it checks
- plugin manifests and marketplace metadata
- MCP stdio and remote HTTP verification
- skills, assets, and
.app.jsonsurfaces - security posture such as secrets, dangerous commands, action pinning, and lockfiles
- trust provenance for skills, MCP configuration, and top-level plugin packages
Reports are available as text, JSON, Markdown, and SARIF. Policy profiles are default, public-marketplace, and strict-security. Baseline suppressions and .plugin-scanner.toml configuration are supported. Optional Cisco integrations add skill and MCP analysis; install them with pipx install 'plugin-scanner[cisco]' on Python 3.11 through 3.14.
Scanner guides:
- Scanner quick start
- Ecosystems and repository mode
- Quality suite commands
- Policies and output
- Trust provenance guide
- Report formats and CI automation
GitHub ActionDirect link to GitHub Action
The Marketplace wrapper is published from the dedicated hashgraph-online/ai-plugin-scanner-action repository. Use it for scanner checks in pull requests, release workflows, submission intake, or code-scanning automation without installing the CLI yourself. The legacy hol-codex-plugin-scanner-action repository remains for older workflows.
Action guides:
Trust score provenanceDirect link to Trust score provenance
The scanner emits trust provenance alongside quality grades:
- bundled skills use published HCS-28 baseline adapter IDs, weights, and denominator rules
- MCP configuration trust uses HCS-style adapter and contribution-mode patterns
- top-level plugin trust follows the same pattern locally
See the trust provenance guide.
Config fileDirect link to Config file
The scanner reads .plugin-scanner.toml from the scanned directory. The older .codex-plugin-scanner.toml name is still read.
# .plugin-scanner.toml
[scanner]
profile = "public-marketplace"
baseline_file = "baseline.txt"
ignore_paths = ["tests/*", "fixtures/*"]
[rules]
disabled = ["README_MISSING"]
severity_overrides = { CODEXIGNORE_MISSING = "low" }
Container usageDirect link to Container usage
The container image bundles the scanner and runs plugin-scanner as its entrypoint.
docker run --rm \
-v "$PWD:/workspace" \
ghcr.io/hashgraph-online/hol-guard:<version> \
scan /workspace --format text
ResourcesDirect link to Resources
- hol-guard on PyPI
- plugin-scanner on PyPI
- HOL Plugin Registry
- GitHub repository
- Guard release notes
- AI Plugin Scanner Action
Project basicsDirect link to Project basics
| Aspect | Status |
|---|---|
| License | Apache-2.0 |
| Latest release | See the GitHub releases and linked package distributions |
| Supported products | hol-guard, plugin-scanner, and the ai-plugin-scanner-action GitHub Action |
| Security policy | SECURITY.md |