Skip to content

Feature: optional HOL Guard SecurityScanner backend for skill publish scans #727

Description

@kantorcodes

Proposal

Add an optional HOL Guard-backed implementation of SkillHub's existing SecurityScanner interface for pre-trust skill/package scanning.

HOL Guard: https://github.com/hashgraph-online/hol-guard
Distribution/Agent Skill repo: https://github.com/hashgraph-online/hol-guard-plugin

Why this fits the current architecture

SkillHub already has the provider-neutral domain contract:

  • SecurityScanner.scan(SecurityScanRequest)
  • isHealthy()
  • getScannerType()

and currently maps the built-in scanner through SkillScannerAdapter. The published scanner docs also describe multiple analysis engines and a configurable scanner service URL.

A narrow integration could preserve that contract and add a HolGuardSecurityScannerAdapter that invokes HOL Guard locally against the unpacked skill/package path, then maps structured findings/severity into SkillHub's existing SecurityScanResponse / SecurityFinding model.

Intended boundary

  • local scanning; Guard Cloud not required
  • do not execute target install/lifecycle scripts merely to scan them
  • preserve SkillHub's existing review/publish semantics
  • fail explicitly if the configured scanner is unavailable rather than treating that as a clean result
  • map prompt-injection, unsafe-command, secret/exfiltration, plugin/MCP, and supply-chain findings into the existing response model
  • add malicious and benign SKILL.md/plugin fixtures plus adapter health/error tests

This would be an additional backend, not a request to replace SkillHub's built-in scanner or its existing engines.

If this direction fits the project, we can contribute the smallest adapter/config/docs/tests PR against the existing SecurityScanner abstraction.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/m中等改动,存在一定协同成本 / Medium change with noticeable coordination cost.priority/p0最高优先级 / Highest priority triage bucket.risk/high涉及安全、鉴权、迁移或公共契约 / Touches security, auth, migrations, or public contracts.triage/needs-info需要补充更多信息后才能分流 / Issue needs more detail before it can be routed.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions