Back to skill

Security audit

Sequoia-X

Security checks for vulnerabilities and agentic risk

Overview

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.

Vulnerability Patterns
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Skill Instruction HijackingAlters the agent's session goals or safety constraints when the skill loads
  • Agent Memory PoisoningWrites attacker-controlled rules into memory that affect later sessions
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (2)

T03 · Remote Payload Retrieval and Execution

Error
Location
scripts/install.sh:13
Finding

Mutable Remote Repository Is Retrieved and Executed Without Integrity Verification

Content
View full analysis
Remediation
View remediation

T08 · Insecure Dependencies

Warning
Location
scripts/install.sh:20
Finding

Unpinned Third-Party Packages Are Installed Into the Active Python Environment

Content
View full analysis
=2.0" "rich>=13.0" "pandas>=2.0" "requests>=2.31" python-dotenv ``` ### Technical Analysis The installer resolves packages dynamically from the configured Python package index. Some dependencies have no version constraint, while the remaining constraints permit any future release above a minimum version. No lock file, package hash, trusted index configuration, or signature verification is used. The command also does not create or activate a dedicated virtual environment. Depending on the user's `pip` configuration and environment, packages may be installed into the active user or system Python environment, potentially changing dependencies used by unrelated applications. Package installation and subsequent imports can execute package-controlled code. A compromised publisher account, malicious future release, package-index compromise, or unsafe custom index configuration could therefore introduce arbitrary code into installation or runtime. ### Attack Path 1. A dependency publisher account, package release process, or configured package index is compromised. 2. An attacker publishes a malicious release that satisfies the broad or absent version constraint. 3. A user runs `scripts/install.sh`. 4. `pip` resolves and installs the malicious release because no exact version or expected hash is enforced. 5. Malicious code executes during package installation or when `main.py` imports the dependency. 6. The code operates with the installer's or application's user privileges and can access the same local files and network resources. ### Impact Assessment Successful supply-chain exploitation can result in arbitrary code execution as the invoking user. Potential impact includes: - Access to the Feishu webhook credential stored in `~/sequoia- ...[truncated 448 chars]
Remediation
View remediation
Vulnerability Patterns
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Tool MisuseTool Parameter Abuse, Chaining Abuse, Unsafe Defaults
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
Findings (15)

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 17)May include surrounding context.

bash "${SKILL_DIR}/scripts/install.sh

text

安装到 `~/sequoia-x`,包含:clone 仓库 + pip 依赖 + 生成 .env 配置。

**安装后必须编辑** `~/sequoia-x/.env`,填入飞书 Webhook URL:

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · SKILL.md (reported line 58)May include surrounding context.

bash "${SKILL_DIR}/scripts/install.sh

text

安装到 `~/sequoia-x`,包含:clone 仓库 + pip 依赖 + 生成 .env 配置。

**安装后必须编辑** `~/sequoia-x/.env`,填入飞书 Webhook URL:

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/install.sh (reported line 25)May include surrounding context.

sh
bash "${SKILL_DIR}/scripts/install.sh
```

安装到 `~/sequoia-x`,包含:clone 仓库 + pip 依赖 + 生成 .env 配置。

**安装后必须编辑** `~/sequoia-x/.env`,填入飞书 Webhook URL:

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/install.sh (reported line 27)May include surrounding context.

sh
bash "${SKILL_DIR}/scripts/install.sh
```

安装到 `~/sequoia-x`,包含:clone 仓库 + pip 依赖 + 生成 .env 配置。

**安装后必须编辑** `~/sequoia-x/.env`,填入飞书 Webhook URL:

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/install.sh (reported line 28)May include surrounding context.

sh
bash "${SKILL_DIR}/scripts/install.sh
```

安装到 `~/sequoia-x`,包含:clone 仓库 + pip 依赖 + 生成 .env 配置。

**安装后必须编辑** `~/sequoia-x/.env`,填入飞书 Webhook URL:

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/install.sh (reported line 30)May include surrounding context.

sh
bash "${SKILL_DIR}/scripts/install.sh
```

安装到 `~/sequoia-x`,包含:clone 仓库 + pip 依赖 + 生成 .env 配置。

**安装后必须编辑** `~/sequoia-x/.env`,填入飞书 Webhook URL:

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/install.sh (reported line 39)May include surrounding context.

sh
bash "${SKILL_DIR}/scripts/install.sh
```

安装到 `~/sequoia-x`,包含:clone 仓库 + pip 依赖 + 生成 .env 配置。

**安装后必须编辑** `~/sequoia-x/.env`,填入飞书 Webhook URL:

Tool Parameter Abuse

High
Category
Tool Misuse
Confidence
94% confidence
Finding

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.

Content

Scanner excerpt · SKILL.md (reported line 70)May include surrounding context.

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"

text

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/install.sh (reported line 24)May include surrounding context.

sh
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 配置文件 ..."

Credential Access

High
Category
Privilege Escalation
Confidence
60% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · scripts/install.sh (reported line 36)May include surrounding context.

sh
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 配置文件 ..."

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
87% confidence
Finding

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.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
92% confidence
Finding

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.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

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.

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
92% confidence
Finding

该文件从标题到全部说明均以中文呈现,未见提供用户语言选择、双语说明或对中文 locale 限制的明确 justification。按照规则,强制单一语言且无用户 opt-in 属于自然语言层面的语言/locale 政策问题。

Content

No source excerpt is available for this finding.

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
96% confidence
Finding

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.

Content

No source excerpt is available for this finding.