← 返回 Skills 市场
zero2ai-hub

Ads Optimizer Skill

作者 Zero2Ai · GitHub ↗ · v1.0.1
cross-platform ⚠ suspicious
730
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install skill-ads-optimizer
功能描述
Amazon Ads API v3 skill for OpenClaw agents. List profiles, manage Sponsored Products campaigns, view budgets and performance. Works with any advertiser acco...
安全使用建议
This skill appears to do what it claims: it needs a local amazon-ads-api.json with your LWA client ID/secret, refresh token, profileId, and region, and it uses Node to call Amazon's official endpoints. Before installing: (1) verify the skill's origin — the package has no homepage and an unknown source owner, so prefer code you trust; (2) store amazon-ads-api.json securely (restrict file permissions) and avoid putting production credentials in shared locations; (3) consider using short-lived or scoped credentials and rotate them if you suspect exposure; (4) confirm your Node runtime provides fetch or run with a Node version that supports it; (5) review the small scripts/ads.js yourself (it's readable) — if you accept these conditions, the skill's requirements are proportionate to its purpose.
功能分析
Type: OpenClaw Skill Name: skill-ads-optimizer Version: 1.0.1 The skill's core functionality aligns with its stated purpose of managing Amazon Ads. However, the `scripts/ads.js` file contains a critical arbitrary file write vulnerability. The `--out` command-line argument, intended for saving campaign data, directly uses the provided path in `fs.writeFileSync(args.out, ...)`. This lack of path sanitization allows an attacker or a malicious prompt to instruct the agent to write the script's JSON output to any arbitrary file path on the system, potentially leading to privilege escalation or system compromise. This is a significant vulnerability, classifying the skill as suspicious rather than malicious, as there is no clear evidence of intentional harmful behavior by the developer.
能力评估
Purpose & Capability
Name/description (Amazon Ads API v3) align with required binaries (node), the included script, and the network calls to Amazon endpoints. Minor discrepancy: registry metadata lists no required env vars while SKILL.md documents an optional AMAZON_ADS_PATH — this is functional (there's a default path) but the metadata could be more explicit.
Instruction Scope
SKILL.md confines runtime behavior to creating a credentials JSON file, optionally setting AMAZON_ADS_PATH, and running the provided node script. The script only reads that credentials file, fetches tokens from api.amazon.com, and calls Amazon advertising endpoints; it does not reference other system files or unexpected external endpoints.
Install Mechanism
No install spec (instruction-only) and the code file is small and readable. Nothing is downloaded from arbitrary URLs or extracted to disk by an installer.
Credentials
The skill requires Amazon LWA client ID/secret, refresh token, profileId and region — which are appropriate for the Ads API and are stored in a local JSON file rather than as declared environment variables. The metadata did not declare a primary credential or required env vars, which is a minor metadata mismatch but not a functional red flag.
Persistence & Privilege
Skill is not always-on, does not request elevated system privileges, and does not modify other skills or global agent settings. It runs only when invoked.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install skill-ads-optimizer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /skill-ads-optimizer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Renamed from skill-amazon-ads — campaign management & bid optimization
元数据
Slug skill-ads-optimizer
版本 1.0.1
许可证
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Ads Optimizer Skill 是什么?

Amazon Ads API v3 skill for OpenClaw agents. List profiles, manage Sponsored Products campaigns, view budgets and performance. Works with any advertiser acco... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 730 次。

如何安装 Ads Optimizer Skill?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install skill-ads-optimizer」即可一键安装,无需额外配置。

Ads Optimizer Skill 是免费的吗?

是的,Ads Optimizer Skill 完全免费(开源免费),可自由下载、安装和使用。

Ads Optimizer Skill 支持哪些平台?

Ads Optimizer Skill 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ads Optimizer Skill?

由 Zero2Ai(@zero2ai-hub)开发并维护,当前版本 v1.0.1。

💬 留言讨论