T03 · Remote Payload Retrieval and Execution
- Location
scripts/install.sh:13- Finding
Mutable Remote Repository Is Retrieved and Executed Without Integrity Verification
- Content
View full analysis
- Remediation
View remediation
Security audit
Security checks for vulnerabilities and agentic risk
The skill has a clear stock-screening purpose, but it installs and runs unverified code from a mutable GitHub repository and unpinned Python packages.
Review this before installing. Only use it if you trust the upstream Sequoia-X GitHub repository and its future changes, and prefer pinning a reviewed commit, using a dedicated virtual environment or container, protecting the Feishu webhook, and backing up the SQLite database before any reset command.
scripts/install.sh:13Mutable Remote Repository Is Retrieved and Executed Without Integrity Verification
scripts/install.sh:20Unpinned Third-Party Packages Are Installed Into the Active Python Environment
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
bash "${SKILL_DIR}/scripts/install.sh
安装到 `~/sequoia-x`,包含:clone 仓库 + pip 依赖 + 生成 .env 配置。
**安装后必须编辑** `~/sequoia-x/.env`,填入飞书 Webhook URL:
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
bash "${SKILL_DIR}/scripts/install.sh
安装到 `~/sequoia-x`,包含:clone 仓库 + pip 依赖 + 生成 .env 配置。
**安装后必须编辑** `~/sequoia-x/.env`,填入飞书 Webhook URL:
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
bash "${SKILL_DIR}/scripts/install.sh
```
安装到 `~/sequoia-x`,包含:clone 仓库 + pip 依赖 + 生成 .env 配置。
**安装后必须编辑** `~/sequoia-x/.env`,填入飞书 Webhook URL:
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
bash "${SKILL_DIR}/scripts/install.sh
```
安装到 `~/sequoia-x`,包含:clone 仓库 + pip 依赖 + 生成 .env 配置。
**安装后必须编辑** `~/sequoia-x/.env`,填入飞书 Webhook URL:
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
bash "${SKILL_DIR}/scripts/install.sh
```
安装到 `~/sequoia-x`,包含:clone 仓库 + pip 依赖 + 生成 .env 配置。
**安装后必须编辑** `~/sequoia-x/.env`,填入飞书 Webhook URL:
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
bash "${SKILL_DIR}/scripts/install.sh
```
安装到 `~/sequoia-x`,包含:clone 仓库 + pip 依赖 + 生成 .env 配置。
**安装后必须编辑** `~/sequoia-x/.env`,填入飞书 Webhook URL:
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
bash "${SKILL_DIR}/scripts/install.sh
```
安装到 `~/sequoia-x`,包含:clone 仓库 + pip 依赖 + 生成 .env 配置。
**安装后必须编辑** `~/sequoia-x/.env`,填入飞书 Webhook URL:
The documented rm ~/sequoia-x/data/sequoia_v2.db command is a destructive filesystem operation that can be copied or executed by an agent without safeguards. Although the path is specific rather than attacker-controlled, the lack of validation, backup, or confirmation makes accidental deletion and workflow abuse plausible.
sqlite3 ~/sequoia-x/data/sequoia_v2.db ".tables"
rm ~/sequoia-x/data/sequoia_v2.db SKILL_DIR=$(find ~/.openclaw/skills -name "run.sh" -path "/sequoia-x/" -exec dirname {} ; | head -1) bash "${SKILL_DIR}/scripts/run.sh"
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
pip install akshare "pydantic-settings>=2.0" "rich>=13.0" "pandas>=2.0" "requests>=2.31" python-dotenv
# 3. 生成配置文件
if [ -f ".env" ]; then
echo "⚠️ .env 已存在,跳过"
else
echo "⚙️ 生成 .env 配置文件 ..."
Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
pip install akshare "pydantic-settings>=2.0" "rich>=13.0" "pandas>=2.0" "requests>=2.31" python-dotenv
# 3. 生成配置文件
if [ -f ".env" ]; then
echo "⚠️ .env 已存在,跳过"
else
echo "⚙️ 生成 .env 配置文件 ..."
The skill documents network access, environment-based configuration, and execution of local shell scripts, but it does not declare any explicit tool scope or permissions boundary. That makes the skill harder to audit and increases the risk that an agent may invoke broader capabilities than the user expects during installation or execution.
The skill instructs users to delete the SQLite database with rm ~/sequoia-x/data/sequoia_v2.db as part of a resync workflow, but provides no warning that this irreversibly destroys locally collected data. In an agent setting, destructive commands without confirmation create a real risk of unintended data loss.
All user-facing messages and the file header are written in Chinese, and the script provides no option to select another language or indication that it is intentionally limited to a Chinese-speaking audience. This is a natural-language locale constraint visible in comments and output strings, which can violate organizational language-choice policy when not offered as opt-in or clearly justified.
该文件从标题到全部说明均以中文呈现,未见提供用户语言选择、双语说明或对中文 locale 限制的明确 justification。按照规则,强制单一语言且无用户 opt-in 属于自然语言层面的语言/locale 政策问题。
This shell script includes user-facing text in Chinese, such as the script description comment and the runtime error message, with no indication that the skill is intentionally region-specific or that users can opt into a preferred language. That creates a natural-language policy concern because it hard-codes a locale choice for all users.