📦 SONiC KVM Testbed — SONiC KVM 测试床

v1.2.0

部署并管理一个带有 cEOS 邻居的 SONiC sonic-mgmt KVM 虚拟测试床,用于运行基于 pytest 的网络测试。在搭建本地 KVM 测试床时使用……

2· 491·0 当前·0 累计
yxieca 头像by @yxieca (Ying Xie)
下载技能包
最后更新
2026/4/19
0
安全扫描
VirusTotal
可疑
查看报告
OpenClaw
可疑
medium confidence
The skill's instructions match its stated purpose (building a local SONiC KVM testbed) but include multiple insecure, high-privilege operations and unsafe defaults that broaden its impact beyond a typical helper; review and harden before use.
评估建议
This instruction-only skill appears coherent for building a SONiC KVM testbed, but it recommends several insecure or high-privilege actions. Before using it: 1) Run the whole procedure inside an isolated VM or disposable host to avoid weakening a production machine. 2) Replace example passwords ('password', 'abc') and the practice of storing them in plaintext with stronger passwords and secure vaulting. 3) Avoid chmod 666 on /var/run/docker.sock — prefer adding the service account to the docker ...
详细分析 ▾
用途与能力
SKILL name/description (SONiC KVM testbed) aligns with the actions in SKILL.md: cloning sonic-mgmt, preparing sonic-vs and cEOS images, running testbed-cli.sh, setting up bridges, and running pytest. No unrelated cloud credentials or external services are requested.
指令范围
Runtime instructions directly perform system-level operations: setup management bridge, modprobe/qemu-nbd mounting of images, docker imports/pulls, and run various ansible/testbed scripts. They also instruct creating users on DUTs, adding NOPASSWD sudoers entries, using sshpass with plaintext password files, and running `chmod 666 /var/run/docker.sock` — operations that expand scope to modifying host and DUT security posture and persistently weaken privileges.
安装机制
Instruction-only skill with no install spec and no code files; nothing is downloaded or executed by the skill package itself. This minimizes supply-chain/install risk, but the instructions will cause host changes when followed.
凭证需求
The skill declares no required env vars or external credentials, which is appropriate, but the included references/scripts create and rely on many plaintext credentials and insecure defaults (passwords like 'password' and 'abc' in files, `group_vars/*` containing secrets, sshpass usage). It also recommends global privilege relaxations (NOPASSWD sudo entries, chmod 666 on docker socket) that are disproportionate unless run in an isolated test environment.
持久化与权限
The skill is not force-included (always: false) and doesn't request platform-level persistence, but the documented steps create persistent artifacts (password.txt, modified ansible group_vars, changed sudoers entries, netplan file for br1) that alter system/DUT configuration across reboots. These persistent changes have real security implications and should be intentionally controlled.
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

版本

latestv1.2.02026/2/23

Supersedes 1.1.0 - includes VS image update procedures, kickstart troubleshooting, credential docs, and latest fixes

可疑

安装命令

点击复制
官方npx clawhub@latest install sonic-kvm-testbed
镜像加速npx clawhub@latest install sonic-kvm-testbed --registry https://cn.longxiaskill.com
数据来源ClawHub ↗ · 中文优化:龙虾技能库