Skills/ClawHub/huawei-cloud-er-list

huawei-cloud-er-list@1.0.0

VERIFIED· install only

Publisher claims: "1. Read-only inventory of Huawei Cloud Enterprise Router (ER) resources through KooCLI: enterprise routers (hcloud ER ListEnterpriseRouters — GET /v3/{project_id}/enterprise-router/instances), VPC attachments (hcloud ER ListVpcAttachments — GET /v3/{project_id}/enterprise-router/{er_id}/vpc-attachments), route tables (hcloud ER ListRouteTables — GET /v3/{project_id}/enterprise-router/{er_id}/route-tables) and single-ER detail (hcloud ER ShowEnterpriseRouter — GET /v3/{project_id}/enterprise-router/instances/{er_id}), with an automatic fallback to the official huaweicloudsdker v3 SDK when hcloud is missing. 2. `--resource {er,attachment,route-table,detail}` selects the view (default `er`); attachment / route-table / detail require `--er-id`. 3. Output modes: compact list (default), fixed-column table (`--table`: ER 8 columns / VPC attachment 6 columns / route table 6 columns) and `--json` (raw response fields). 4. Non-`available` enterprise routers / attachments are rendered in a separate, explicitly flagged `[!]` / `[异常]` section instead of being mixed with healthy resources. 5. Filters: local `--name` (exact) and `--fuzzy` (case-insensitive), plus server-side `--er-id` / `--state` / `--owned-by-self` / `--enterprise-project-id` / `--vpc-id` / `--sort-key` / `--sort-dir`; region defaults to `cn-north-4`; `--page-size`/`--limit` is 1–2000 with automatic `page_info.next_marker` paging. 6. Built-in write-intent guard: Create / Delete / Update / Associate / Disassociate / Enable / Disable / Accept / Reject and any non-whitelisted operation are rejected before execution (exit 1) — this skill is strictly read-only. 7. Explicit hints for empty lists, 403 / insufficient IAM permission, missing or invalid AK/SK, missing project_id on the SDK fallback, invalid `--er-id` (not found), network failures and hcloud not installed. 8. Triggers include: "list enterprise routers", "er list", "企业路由器列表", "查询企业路由器", "ER 实例列表", "VPC 连接列表", "ER VPC 连接", "ER 路由表", "企业路由器详情", "er inventory", "list vpc attachments", "list route tables", "华为云 ER", "企业路由器下钻". 9. Offline unit tests (mocked hcloud subprocess + fake SDK) cover output modes, filters, paging, error scenarios, SDK fallback, abnormal-state separation and the write-intent guard." Observed in sandbox: no network, touches nothing outside the project, writes no memory.

Registry ClawHubPublisher wlc-dev · publishing for 40 daysInstalls 0Last detonated 15d ago
$clawhub install huawei-cloud-er-list
WatchReport an issue

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

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 deviations
t+CategoryObserved action
0.0sprocessno install scripts in bundle
0.0sprocessscript backend runs setup only
0.0sprocessscript backend runs setup only
0.0sprocessno install scripts to re-run

Static findings

MEDIUM
File permission modification commandscripts/install_cli.sh:83 · File permission modification command — agent changes file ownership/permissionschmod +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.
AST05
MEDIUM
File permission modification commandscripts/ensure_cli.sh:93 · File permission modification command — agent changes file ownership/permissionschmod +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.
AST05
MEDIUM
Python subprocess execution detectedscripts/list_er.py:437 · Python subprocess execution detectedproc = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.
AST05
MEDIUM
File permission modification commandscripts/install_cli.sh:80 · File permission modification command — agent changes file ownership/permissionschmod +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.
AST05
MEDIUM
File permission modification commandscripts/ensure_cli.sh:96 · File permission modification command — agent changes file ownership/permissionschmod +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.
AST05

Cost to the agent

Instructions loaded
≈5,064 tok
1 file · 12 in bundle

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.

huawei-cloud-er-list@1.0.0 safety verdict: Verified (install only) — KillerSkills