← 返回 Skills 市场
zero2ai-hub

Skill Amazon Ads Optimizer

作者 Zero2Ai · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
892
总下载
0
收藏
2
当前安装
2
版本数
在 OpenClaw 中安装
/install skill-amazon-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 exactly what it says: exchange your LWA refresh token for an access token and call Amazon Ads endpoints. Before installing, verify the source (the registry entry has no homepage and owner ID looks opaque). Protect the credentials file (amazon-ads-api.json) — use strict filesystem permissions, avoid committing it to git, or consider using a secret manager or environment-provided secrets instead of a disk file. If you need higher assurance, inspect the included scripts yourself (ads.js is short and readable) and run the tool in an isolated environment (local container or dedicated machine).
功能分析
Type: OpenClaw Skill Name: skill-amazon-ads-optimizer Version: 1.0.0 The skill is classified as suspicious due to a significant arbitrary file write vulnerability in `scripts/ads.js`. The script uses `fs.writeFileSync` with the `--out` command-line argument, which directly takes a user-provided file path. If an attacker can control the arguments passed to this script (e.g., via prompt injection against the OpenClaw agent), they could write arbitrary data to any file on the system, potentially leading to remote code execution or system compromise. While the stated purpose of saving campaign data is benign, the lack of input sanitization for the output path creates a high-risk exploit vector. All network calls are to legitimate Amazon API endpoints, and there is no evidence of intentional data exfiltration or other malicious behavior.
能力评估
Purpose & Capability
The name/description say Amazon Ads API v3 and the included script implements LWA token exchange, profile listing, and Sponsored Products campaign calls to advertising-api.amazon.com (and regional endpoints). Required binaries (node) and the credential fields described in SKILL.md (lwaClientId, lwaClientSecret, refreshToken, profileId, region) align with the Ads API purpose.
Instruction Scope
SKILL.md instructs the user to create a local credentials JSON (amazon-ads-api.json) and optionally set AMAZON_ADS_PATH; runtime instructions only call Amazon endpoints and run the included Node script. Note: the skill asks you to store sensitive secrets on disk (client secret and refresh token) — exercise care protecting that file (permissions, do not check into VCS).
Install Mechanism
This is instruction-only with an included Node script; there is no install spec, no external downloads, and no archives extracted. That keeps the install surface minimal.
Credentials
The only sensitive data required are Ads-specific credentials (LWA client id/secret and refresh token) and profileId, which are necessary to obtain tokens and call the Ads API. No unrelated credentials, secrets, or system-level config paths are requested. The optional AMAZON_ADS_PATH env var is reasonable and scoped to locating the credentials file.
Persistence & Privilege
The skill does not request permanent 'always' inclusion and does not modify other skills or system settings. It reads a local credentials file and can write output only when the user supplies an --out filename; no elevated persistence is requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install skill-amazon-ads-optimizer
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /skill-amazon-ads-optimizer 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release. - Manage Amazon Sponsored Products campaigns from OpenClaw agents - List profiles, view campaigns, check budgets, and pull performance data - Includes CLI scripts for common operations (profiles, campaigns, summary) - Requires setup of LWA credentials and profile ID - Supports North America, Europe, and Far East regions
v1.0.1
Renamed slug for amazon search discoverability
元数据
Slug skill-amazon-ads-optimizer
版本 1.0.0
许可证
累计安装 2
当前安装数 2
历史版本数 2
常见问题

Skill Amazon 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... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 892 次。

如何安装 Skill Amazon Ads Optimizer?

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

Skill Amazon Ads Optimizer 是免费的吗?

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

Skill Amazon Ads Optimizer 支持哪些平台?

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

谁开发了 Skill Amazon Ads Optimizer?

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

💬 留言讨论