Setup Multi Gateway
技能存在硬编码API密钥和未声明的凭证注入行为,属于阴影功能
mg-wizard.cjs 第36行硬编码了完整的 API 密钥 'sk-sp-319b5ed947404131b3b12e5211592b46',这是高危IOC
mg-wizard.cjs:36 Why this conclusion was reached
3/4 dimensions flagged2 undeclared or violating capabilities were inferred.
1 high-risk artifacts or egress signals were extracted.
The report includes 3 attack-chain steps and 3 severe findings.
Dependency information is incomplete, so supply-chain confidence stays limited.
Attack Chain
Entry · SKILL.md:1
Escalation · mg-wizard.cjs:509
Impact · mg-wizard.cjs:36
What drove the risk score up
mg-wizard.cjs:36 硬编码 sk-sp-319b5ed947404131b3b12e5211592b46
代码自动将API_KEY注入models.json,SKILL.md未声明此行为
新创建的网关都会使用硬编码密钥,密钥可能被传播
Most important evidence
硬编码API密钥
mg-wizard.cjs 第36行硬编码了完整的 API 密钥 'sk-sp-319b5ed947404131b3b12e5211592b46',这是高危IOC
mg-wizard.cjs:36 未声明的凭证注入行为
代码会自动将硬编码的 API_KEY 注入到新生成的 models.json 配置中,但 SKILL.md 完全没有提及此行为
mg-wizard.cjs:509 未声明的Shell执行权限
代码使用 execSync 执行 systemctl、systemd 等高权限命令进行服务管理,但 SKILL.md 未声明需要这些权限
mg-wizard.cjs:142 Declared capability vs actual capability
mg-wizard.cjs:310 复制配置文件到 ~/.openclaw mg-wizard.cjs:142 execSync 执行 systemctl/systemd 命令 Suspicious artifacts and egress
API_KEY = 'sk-sp-319b5ed947404131b3b12e5211592b46' mg-wizard.cjs:36
https://clawhub.com/skills/feishu-agent-send README.md:9
https://docs.openclaw.ai README.md:256
https://clawhub.com README.md:257
Dependencies and supply chain
There are no structured dependency warnings.
File composition
mg-wizard.cjs README.md