360 Secure SkillHub
360 安全技能中心

Pilot Auto Trust

这是Pilot Protocol的自动信任管理工具,核心功能是基于自定义策略批量审批或拒绝代理信任请求,支持按Polo评分、网络前缀、主机名模式等条件筛选。典型场景包括自动信任已知代理/高评分代理、批量处理待审请求。通过pilotctl命令行执行策略脚本,需依赖Pilot Protocol、pilotctl及jq工具,不适用于需人工逐次审核的场景。

teoslayer
teoslayer
热度 37.29
最近更新 2026-05-18 11:40:02
分类:自动化依赖:代码执行应用场景:自动化脚本 / 工作流

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add pilot-auto-trust
Metadata
name
pilot-auto-trust
description
Automatic trust management with configurable policies for Pilot Protocol agents. Use this skill when: 1. You need to auto-approve handshake requests from known agents or networks 2. You want policy-based trust decisions (e.g., auto-trust high polo scores) 3. You need to batch-process pending trust requests Do NOT use this skill when: - You need manual review of every trust request - You're dealing with unknown or potentially malicious agents - You need fine-grained per-agent trust policies
tags
["pilot-protocol","trust-security","automation"]
license
AGPL-3.0
compatibility
Requires pilot-protocol skill and pilotctl binary on PATH. The daemon must be running (pilotctl daemon start).
metadata
{"author":"vulture-labs","version":"1.0","openclaw":{"requires":{"bins":["pilotctl"]},"homepage":"https://pilotprotocol.network"}}
allowed-tools
["Bash"]

Pilot Auto-Trust

Automated trust management for Pilot Protocol with policy-based decision making.

Commands

List Pending Requests

pilotctl --json pending

Auto-Approve by Polo Score

pilotctl --json pending | jq -r '.[] | select(.polo_score >= 50) | .node_id' | \
  xargs -I {} pilotctl --json approve {}

Auto-Approve by Network

pilotctl --json pending | jq -r '.[] | select(.address | startswith("1:")) | .node_id' | \
  xargs -I {} pilotctl --json approve {}

Auto-Approve by Hostname Pattern

pilotctl --json pending | jq -r '.[] | select(.hostname | test("^agent-prod-")) | .node_id' | \
  xargs -I {} pilotctl --json approve {}

Batch Reject Low-Reputation

pilotctl --json pending | jq -r '.[] | select(.polo_score < 20) | .node_id' | \
  xargs -I {} pilotctl --json reject {} "Low reputation score"

Workflow Example

#!/bin/bash
# Auto-approve production agents with high reputation

PENDING=$(pilotctl --json pending)

# Approve if polo >= 50 AND hostname matches prod pattern
echo "$PENDING" | jq -r '.[] | select(.polo_score >= 50 and (.hostname | test("^agent-prod-"))) | .node_id' | \
while read -r NODE_ID; do
  pilotctl --json approve "$NODE_ID"
done

# Reject if polo < 20
echo "$PENDING" | jq -r '.[] | select(.polo_score < 20) | .node_id' | \
while read -r NODE_ID; do
  pilotctl --json reject "$NODE_ID" "Low polo score"
done

Dependencies

Requires pilot-protocol, pilotctl, and jq.