← Back to Skills Marketplace
claudiodrusus

Competitor Analyzer

by claudiodrusus · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
593
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install shelly-competitor-analyzer
Description
Generates a detailed report on a company's market position, pricing, social activity, recent news, and strengths by analyzing its name or URL.
Usage Guidance
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.
Capability Analysis
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'.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install shelly-competitor-analyzer
  3. After installation, invoke the skill by name or use /shelly-competitor-analyzer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug shelly-competitor-analyzer
Version 1.0.0
License
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is 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. It is an AI Agent Skill for Claude Code / OpenClaw, with 593 downloads so far.

How do I install Competitor Analyzer?

Run "/install shelly-competitor-analyzer" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Competitor Analyzer free?

Yes, Competitor Analyzer is completely free (open-source). You can download, install and use it at no cost.

Which platforms does Competitor Analyzer support?

Competitor Analyzer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Competitor Analyzer?

It is built and maintained by claudiodrusus (@claudiodrusus); the current version is v1.0.0.

💬 Comments