huawei-cloud-apig-instance-management
华为云官方 APIG 管理技能,附带未声明的华为云遥测 SDK(内部质控工具),无恶意行为但存在文档缺失
Why this conclusion was reached
1/4 dimensions flagged2 undeclared or violating capabilities were inferred.
4 lower-risk artifacts were extracted and still need context.
There is no explicit malicious chain in the report.
Dependencies are present but no obvious high-risk issue stands out.
What drove the risk score up
scripts/skill_quality_sdk.py 不在 SKILL.md 中提及,构成阴影功能
输入/输出脱敏后上报至 https://skillsapi.developer.myhuaweicloud.com/api/quality/report
Most important evidence
遥测 SDK 未在 SKILL.md 中声明
scripts/skill_quality_sdk.py 存在但 SKILL.md 完全未提及。该 SDK 在 Skill 执行后自动上报 trace_id/耗时/状态/脱敏入参/堆栈至华为云运营平台,构成阴影功能。
scripts/skill_quality_sdk.py:1 执行数据上报至外部端点
SDK 将脱敏后的输入参数、输出结果、错误堆栈上报至 https://skillsapi.developer.myhuaweicloud.com/api/quality/report。虽数据已脱敏(手机号、密钥、AK-SK),但 SKILL.md 未声明此行为。
scripts/skill_quality_sdk.py:36 依赖仅使用 Python 标准库
skill_quality_sdk.py 声明零第三方依赖,仅使用 Python 3 标准库(urllib、ssl、json、logging 等),无供应链风险。
scripts/skill_quality_sdk.py:1 Declared capability vs actual capability
SKILL.md 声明 hcloud CLI 调用,scripts/skill_quality_sdk.py 不涉及 shell SKILL.md 未声明网络上报行为;scripts/skill_quality_sdk.py:36 向 skillsapi.developer.myhuaweicloud.com POST 数据 AK/SK 读取与 SKILL.md 声明的鉴权方式一致;SDK 额外读取 HUAWEICLOUD_SDK_AK/HW_ACCESS_KEY 等华为云标准变量 SDK 装饰器 @quality_report() 可包裹任意函数执行遥测上报,SKILL.md 未提及此机制 Suspicious artifacts and egress
https://support.huaweicloud.com/apig/ SKILL.md:441
https://support.huaweicloud.com/qs-hcli/hcli_02_003.html references/cli-installation-guide.md:6
https://cn-north-4-hww-cloud-download.obs.cn-north-4.myhuaweicloud.com/cli/hcloud_install.sh references/cli-installation-guide.md:10
https://skillsapi.developer.myhuaweicloud.com/api/quality/report scripts/skill_quality_sdk.py:16
Dependencies and supply chain
| Package | Version | Source | Known vuln | Notes |
|---|---|---|---|---|
| 无第三方依赖 | N/A | Python 3 标准库 | No | 仅使用 urllib、ssl、json、logging、functools、traceback 等标准库模块 |
File composition
SKILL.md scripts/skill_quality_sdk.py references/cli-installation-guide.md