-
Notifications
You must be signed in to change notification settings - Fork 848
Feature: optional HOL Guard SecurityScanner backend for skill publish scans #727
Copy link
Copy link
Open
Labels
effort/m中等改动,存在一定协同成本 / Medium change with noticeable coordination cost.中等改动,存在一定协同成本 / Medium change with noticeable coordination cost.priority/p0最高优先级 / Highest priority triage bucket.最高优先级 / Highest priority triage bucket.risk/high涉及安全、鉴权、迁移或公共契约 / Touches security, auth, migrations, or public contracts.涉及安全、鉴权、迁移或公共契约 / Touches security, auth, migrations, or public contracts.triage/needs-info需要补充更多信息后才能分流 / Issue needs more detail before it can be routed.需要补充更多信息后才能分流 / Issue needs more detail before it can be routed.
Description
Activity
Metadata
Metadata
Assignees
Labels
effort/m中等改动,存在一定协同成本 / Medium change with noticeable coordination cost.中等改动,存在一定协同成本 / Medium change with noticeable coordination cost.priority/p0最高优先级 / Highest priority triage bucket.最高优先级 / Highest priority triage bucket.risk/high涉及安全、鉴权、迁移或公共契约 / Touches security, auth, migrations, or public contracts.涉及安全、鉴权、迁移或公共契约 / Touches security, auth, migrations, or public contracts.triage/needs-info需要补充更多信息后才能分流 / Issue needs more detail before it can be routed.需要补充更多信息后才能分流 / Issue needs more detail before it can be routed.
Proposal
Add an optional HOL Guard-backed implementation of SkillHub's existing
SecurityScannerinterface 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
HolGuardSecurityScannerAdapterthat invokes HOL Guard locally against the unpacked skill/package path, then maps structured findings/severity into SkillHub's existingSecurityScanResponse/SecurityFindingmodel.Intended boundary
SKILL.md/plugin fixtures plus adapter health/error testsThis 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
SecurityScannerabstraction.