T03 · Remote Payload Retrieval and Execution
- Location
SKILL.md:173- Finding
Unverified Remote Installation Script Execution
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill appears intended for Redis/Tair health reporting, but it uses unsafe installation and dependency behavior and produces sensitive reports with script-injection risks.
Install only in a controlled environment with least-privilege read-only Alibaba Cloud credentials. Avoid the curl-to-bash installer paths, review and pin CLI/plugin versions yourself, disable Aliyun auto plugin installation after use, and treat generated HTML reports as sensitive files that should not be opened with network access or shared broadly.
SKILL.md:173Unverified Remote Installation Script Execution
scripts/health-inspect.py:77Automatic Installation of Unpinned Aliyun CLI Plugins
scripts/health-inspect.py:1620Stored HTML Injection Through Unescaped Cloud and Redis Data
{k.get("key", "")[:60]}'
for i, k in enumerate(bk[:10], 1):
bigkey_html += f'{i}{k.get("db", 0)}{k.get("type", "")}{k.get("size", 0)}{k.get("key", "")[:60]}'
```
### Technical Analysis
Values retur
...[truncated 1984 chars]scripts/health-inspect.py:1959Mutable Third-Party JavaScript Executes Inside Sensitive Reports
scripts/check-write-operation.sh:83Write-Operation Enforcement Hook Can Be Bypassed
The declared description presents the skill as a Redis/Tair health inspection and HTML report generation tool. However, the provided code does not perform inspection, collect metrics, analyze instances, generate reports, or implement any of the seven described health-check dimensions. Instead, it acts as a command-guard hook that inspects outgoing CLI commands and enforces allow/ask/deny decisions based on whether operations appear read-only or write-capable. While this hook may support a broader health-inspection workflow by preventing accidental writes, its primary behavior is access control and safety enforcement, which is a materially different capability from the declared purpose.
The declared description describes a full-featured Redis/Tair health inspection and HTML reporting tool. The supplied code only queries a single API action (describe-instance-attribute) across a hardcoded list of regions to locate one instance by ID and print a few basic attributes. It does not perform diagnostics, trend analysis, slow log analysis, alert retrieval, recommendation generation, or any batch/full-account inspection workflow. This is a clear material mismatch in primary purpose and implemented capabilities.
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**
Referenced artifact was not completely inspected
> **Core Rule: All inspections MUST be executed via `python3 scripts/health-inspect.py`.**