Skip to main content

AI Plugin Scanner

The hashgraph-online/hol-guard repository ships two related products:

  • hol-guard is 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-scanner is 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:

AgentHarness ID
Codexcodex
Claude Codeclaude-code
GitHub Copilot CLIcopilot
Cursorcursor
Clinecline
Gemini CLIgemini
Antigravityantigravity
Grokgrok
Hermeshermes
Kimi Codekimi
Pipi
oh-my-piomp
OpenClawopenclaw
OpenCodeopencode
ZCodezcode
Devindevin

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:

When local Guard is working and you want the signed-in operating model:

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​

CommandPurpose
scanWeighted repository or plugin scan with policy evaluation
lintRule-level findings, --list-rules, --explain, and safe autofix support
verifyRuntime and install-surface readiness checks, with optional --online probing
submitScan, verify, and policy gate that emits a plugin-quality artifact
doctorComponent 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.json surfaces
  • 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:

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​

Project basicsDirect link to Project basics​

AspectStatus
LicenseApache-2.0
Latest releaseSee the GitHub releases and linked package distributions
Supported productshol-guard, plugin-scanner, and the ai-plugin-scanner-action GitHub Action
Security policySECURITY.md