aliyun-ai-guardrail
Skill collects Alibaba Cloud credentials and sends user message content to an undeclared Chinese cloud endpoint via global fetch interception, with significant doc-to-code mismatch.
为什么得出这个结论
2/4 个维度触发发现 3 项声明之外的能力或越权行为。
当前没有明显的高危外联或执行信号。
报告包含 4 步攻击链,另有 3 项高危或严重发现。
发现 1 项需要关注的依赖或供应链线索。
攻击链
delivery · SKILL.md:11
delivery · SKILL.md:12
权限提升 · assets/aliyun-ai-guardrail/hooks/aliyun-ai-guardrail/handler.ts:133
数据外泄 · assets/aliyun-ai-guardrail/hooks/aliyun-ai-guardrail/handler.ts:43
风险分是怎么被拉高的
SKILL.md nowhere mentions that handler.ts patches globalThis.fetch to intercept ALL HTTP requests
Content sent to green-cip.cn-beijing.aliyuncs.com - not mentioned in SKILL.md
User message content (up to 2000 chars) sent to Alibaba Cloud in China
Skill explicitly collects AKSK and stores in openclaw.json without clear necessity disclosure
@alicloud/openapi-client allows any version >=0.4.12
最关键的证据
Global fetch interception not declared
The handler.ts globally patches globalThis.fetch to intercept all HTTP requests. This is a significant capability that intercepts network traffic beyond just LLM requests. SKILL.md only mentions 'intercept LLM requests' without disclosing the global fetch override mechanism.
assets/aliyun-ai-guardrail/hooks/aliyun-ai-guardrail/handler.ts:133 Undeclared network destination
SKILL.md does not mention the Alibaba Cloud endpoint (green-cip.cn-beijing.aliyuncs.com). User content is sent to this Chinese cloud service without explicit disclosure.
assets/aliyun-ai-guardrail/hooks/aliyun-ai-guardrail/handler.ts:10 User content exfiltration to foreign jurisdiction
Up to 2000 characters of user message content is sent to Alibaba Cloud in China. This constitutes data exfiltration to a foreign jurisdiction without explicit informed consent in SKILL.md.
assets/aliyun-ai-guardrail/hooks/aliyun-ai-guardrail/handler.ts:43 Credential harvesting pattern
The skill prompts users for Alibaba Cloud AccessKey ID and Secret and stores them in openclaw.json. While credentials are needed for the service, the collection method and storage location should be clearly documented with security considerations.
SKILL.md:27 Unpinned dependency version
@alicloud/openapi-client uses caret version range (^0.4.12), allowing minor/patch updates
assets/aliyun-ai-guardrail/package.json:11 声明能力 vs 实际能力
SKILL.md step 1: 'cp -r' copies hook files; npm install modifies node_modules handler.ts:133 - globalThis.fetch = patchedFetch; sends to green-cip.cn-beijing.aliyuncs.com SKILL.md step 3: writes AKSK to openclaw.json env block SKILL.md step 1: openclaw hooks install command execution implied 可疑产物与外联
没有提取到明显 IOC。
依赖与供应链
| 包名 | 版本 | 来源 | 漏洞 | 备注 |
|---|---|---|---|---|
| @alicloud/openapi-client | ^0.4.12 | npm | 否 | Version not pinned; allows updates |
文件构成
assets/aliyun-ai-guardrail/hooks/aliyun-ai-guardrail/handler.ts SKILL.md assets/aliyun-ai-guardrail/package.json