← 返回 Skills 市场
Competitor Analyzer
作者
claudiodrusus
· GitHub ↗
· v1.0.0
593
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install shelly-competitor-analyzer
功能描述
Generates a detailed report on a company's market position, pricing, social activity, recent news, and strengths by analyzing its name or URL.
安全使用建议
This skill does what it claims (runs web searches and writes a report), but the bundled analyze.sh is unsafe to run with untrusted input because it interpolates the user-supplied company string directly into python -c, allowing arbitrary Python code execution. Before using: 1) Do not run the script on inputs from untrusted sources or external agents. 2) Fix the injection by passing the query as a python argument instead of embedding it in code. Example safe replacement: replace the call
python3 -c "import urllib.parse; print(urllib.parse.quote('$query'))"
with
python3 -c "import urllib.parse,sys; print(urllib.parse.quote(sys.argv[1]))" -- "$query"
(or URL-encode with a POSIX-safe tool) so the query is passed as argv rather than injected into the code string. 3) Update SKILL.md to list python3 as a required binary and mention that the script writes competitor-report-*.md to the current directory. 4) Run the script in a sandbox or throwaway directory until you (or someone you trust) audits it. If you cannot patch or audit the script, treat the skill as unsafe and avoid installing/invoking it from untrusted agents.
功能分析
Type: OpenClaw Skill
Name: shelly-competitor-analyzer
Version: 1.0.0
The `analyze.sh` script contains a shell injection vulnerability within its `search` function. The `python3 -c "import urllib.parse; print(urllib.parse.quote('$query'))"` command is susceptible to arbitrary code execution if the `$query` variable (derived from user input) contains unescaped single quotes, leading to a potential Remote Code Execution (RCE) risk. While this is a critical vulnerability, there is no clear evidence of intentional malicious behavior such as data exfiltration or persistence, aligning it with a 'suspicious' classification rather than 'malicious'.
能力评估
Purpose & Capability
The script implements the stated competitor-analysis functionality (web searches, report generation). It reasonably requires internet access and curl. However SKILL.md omits a dependency on python3 (the script calls python3 multiple times), which is inconsistent with the declared requirements.
Instruction Scope
The script only performs web searches, writes a markdown report to the current directory, and prints it — consistent with the stated purpose. However the script injects the untrusted search string directly into a python -c invocation, enabling arbitrary Python code execution if a malicious company name is passed. The script also writes files to the working directory (competitor-report-*.md) which may overwrite files if names collide.
Install Mechanism
This is an instruction-only skill with a bundled script and no install spec — low install risk (nothing is downloaded or installed automatically).
Credentials
No credentials, environment variables, or external tokens are requested. The need for internet access is proportional to the task. The missing explicit mention of python3 in SKILL.md is a documentation gap but not a signalling of unnecessary privileges.
Persistence & Privilege
The skill does not request persistent presence (always: false) and does not modify other skills or system-wide settings. It runs as a normal script with no elevated privileges.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install shelly-competitor-analyzer - 安装完成后,直接呼叫该 Skill 的名称或使用
/shelly-competitor-analyzer触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of the Competitor Analyzer skill.
- Instantly analyzes a company by name or URL to generate a structured competitor report.
- Covers company overview, pricing, social media presence, recent news, and a brief SWOT analysis.
- Script can be run standalone or by an OpenClaw agent for enhanced results.
- Requires only curl and internet access; leverages web search for data gathering.
元数据
常见问题
Competitor Analyzer 是什么?
Generates a detailed report on a company's market position, pricing, social activity, recent news, and strengths by analyzing its name or URL. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 593 次。
如何安装 Competitor Analyzer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install shelly-competitor-analyzer」即可一键安装,无需额外配置。
Competitor Analyzer 是免费的吗?
是的,Competitor Analyzer 完全免费(开源免费),可自由下载、安装和使用。
Competitor Analyzer 支持哪些平台?
Competitor Analyzer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Competitor Analyzer?
由 claudiodrusus(@claudiodrusus)开发并维护,当前版本 v1.0.0。
推荐 Skills