huawei-cloud-vpc-list@1.0.8
VERIFIED· install onlyPublisher claims: "1. List Huawei Cloud Virtual Private Cloud (VPC) resources in a tenant region through KooCLI: virtual private clouds (hcloud VPC ListVpcs — read-only GET /v1/{project_id}/vpcs) and VPC peering connections (hcloud VPC ListVpcPeerings — read-only GET /v2.0/{project_id}/vpc/peerings), with an automatic fallback to the official huaweicloudsdkvpc v2 SDK when hcloud is not installed. 2. `--resource {vpc,peering}` selects the query object (default `vpc`); the peering table has exactly four columns — name / local VPC / peer VPC / status — mapped from request_vpc_info.vpc_id / accept_vpc_info.vpc_id. 3. Output modes: full-field table (default, every returned field including id/name/cidr/status and the remaining VPC attributes; peering uses the fixed four columns), --json (raw response array), --names-only (compact name list), and --format md (local Markdown report whose first column is VPC 名称; `--resource vpc` only). 4. `--format md` writes a fixed 8-column Markdown table (VPC 名称 / VPC ID / 区域 / 网段 / 状态 / 企业项目 ID / 描述 / 创建时间; missing field `-`; empty list = header-only table) to `--output`/`-o` (default `vpc_list_<region>_<timestamp>.md`), creates the parent directory, and writes via a temp file + atomic rename. Optional `--summary` appends the VPC count. Contract matches the dedicated VPC Markdown export skill (same fixed 8-column table; rendering kept independently). 5. Supports --id / --enterprise-project-id filtering (both real server-side ListVpcs query parameters; the CLI path emits the v3 array form `--id.1=<vpc-id>`, which KooCLI requires), region override, and automatic marker paging for both VPC and peering queries. 6. Explicit error hints for empty VPC / peering lists, 403 / insufficient IAM permission, missing or invalid AK/SK credentials, missing project_id on the SDK fallback, and hcloud not installed. 7. Built-in write-intent guard: any mutating intent (create / delete / update / associate / disassociate / attach / detach / release / change, including CreateVpcPeering / AcceptVpcPeering / DeleteVpcPeering) or any operation other than the whitelisted ListVpcs / ListVpcPeerings is rejected before execution — this skill is strictly read-only. The local `--output` / `--format` values are excluded from the guard (a report path like `vpc-delete-report.md` is not a VPC operation). 8. Triggers include: "list VPCs", "vpc list", "虚拟私有云列表", "查询 VPC", "查询虚拟私有云", "VPC 名称列表", "VPC 实例列表", "vpc inventory", "list vpcs", "华为云 VPC", "私有云列表", "对等连接", "对等连接列表", "VPC 对等连接", "peering list", "list vpc peerings". Dedicated Markdown-report intents are also served by the sibling export skill (see the division of labour below). 9. Offline unit tests (mocked hcloud subprocess) cover output modes, Markdown rendering/export, filters, marker paging, error scenarios, SDK fallback, peering four-column mapping, and the write-intent guard." Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Nothing executable in the bundle ran; the trace covers the install step only.- Tested
- every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
Behavior
In our sandbox run on 2026-11-09, [email protected] read no files and called no hosts, and its code names 3 environment variables. Coverage: install only.
Files read
None recorded.
Hosts called
None recorded.
Environment variables its code names
SQC_PLATFORM, VPC_LIST_HCLOUD_ARGS, VPC_LIST_HCLOUD_BIN
Names only, read from the code. We never hold a value.
Tools offered
No tool list recorded.
Changes since the prior version
Compared with 1.0.6. Coverage then: install only. Coverage now: install only.
- New host: myhuaweicloud.com
What we did not test
- use of the skill by an agent
| Run date | 2026-11-09 |
| Coverage | install only |
| Engine | 1.9.2, script@linux |
| Reproduce | npx -y vet-skills try huawei-cloud-vpc-list |
| This record | behavior.json, behavior.md, signed attestation |
This is a record of what one version did in the runs we made. It is evidence, not a certificate.
What changed since 1.0.6
vet-skills diff huawei-cloud-vpc-list 1.0.6 1.0.8This version reaches for something 1.0.6 did not: 1 new host (myhuaweicloud.com). Compared from the two recorded runs, not from source.
- New hosts
- myhuaweicloud.com
The guard can hold an update like this until someone approves it (runtime.on_change: hold). A change that only shows with a real credential, or on a path the run did not reach, is not in a trace and so not in this comparison.
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (1 scenario; nothing executable in the bundle ran; the trace covers the install step only) on 2026-11-09 and scored it 89/100 (Verified). In what ran, nothing we could detect went wrong: no undeclared network egress, no credential reads, no persistent instruction writes. What it does with a real credential was not observed; the static findings and the publisher carry the rest of the score. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 0 s · 1 scenarios · 0 deviationsStatic findings
chmod +x ~/.local/bin/skill-quality-cli || { echo "警告: 设置可执行位失败" >&2; return 1; }Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.chmod +x ~/.local/bin/skill-quality-cli || { echo "错误: 设置可执行位失败" >&2; exit 1; }Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.chmod +x ~/.local/bin/skill-quality-cli.bin || { echo "错误: 设置 skill-quality-cli.bin 可执行位失败" >&2; exit 1; }Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.proc = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.chmod +x ~/.local/bin/skill-quality-cli.bin || { echo "警告: 设置 skill-quality-cli.bin 可执行位失败" >&2; return 1; }Fix: Request the narrowest permission that works; replace wildcards with the exact paths or hosts.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.