Back to skill

Security audit

DolphinDB 流式计算技能

Security checks for vulnerabilities and agentic risk

Overview

The skill matches its DolphinDB streaming purpose, but needs review because it requires unpinned setup scripts and repeatedly shows privileged default database credentials in financial automation examples.

Review this skill before installing or using it in a real environment. Do not run the examples with default admin credentials, verify and pin the referenced DolphinDB helper skills/scripts, and treat the alerting/order-execution examples as illustrative until you add dry-run mode, least-privilege accounts, approvals, audit logging, and production separation.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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
  • Remote Payload Retrieval and ExecutionFetches external code whose behavior can change after review
Findings (2)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:8
Finding

Mandatory Execution of Unpinned External Skill Dependencies

Content
View full analysis
source ../dolphindb-skills/scripts/dolphin_wrapper.sh # Method 2: Run from any location source ~/.jvs/.openclaw/workspace/skills/dolphindb-skills/scripts/dolphin_global.sh ``` ```bash clawhub install dolphindb-basic ``` ```bash # Load the environment detector source ../dolphindb-skills/scripts/load_dolphindb_env.sh ``` ### Technical Analysis The Skill requires users or agents to execute shell scripts supplied by a separate `dolphindb-skills` installation and to install `dolphindb-basic` from ClawHub. Neither dependency is pinned to an immutable version, commit, digest, or cryptographic checksum. The shell `source` command executes a referenced file in the current shell rather than an isolated subprocess. Consequently, those external scripts can execute commands with the invoking user's permissions and can modify environment variables, shell functions, aliases, working directories, or other process state. Because the referenced files are outside this audited project, their behavior and integrity cannot be verified from the submitted artifact. No evidence establishes that the current external dependencies are malicious. The vulnerability is the unaudited and mutable supply-chain trust boundary created by mandatory initialization. ### Attack Path 1. An attacker compromises the external Skill distribution, its publisher account, an update channel, or the locally installed `dolphindb-skills` directory. 2. The attacker modifies one of the referenced initialization scripts or causes an unsafe version of the unpinned dependency to be installed. 3. A user or agent follows the mandatory setup instructions in `SKILL.md`. 4. The shell evaluates the ...[truncated 611 chars]
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Warning
Location
SKILL.md:64
Finding

Hardcoded Weak DolphinDB Administrator Credentials in Runnable Examples

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (2)

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill repeatedly demonstrates connecting to DolphinDB with hardcoded default administrator credentials (admin / 123456) and does not warn users to replace them. In a real environment, users often copy examples verbatim; if the target server still has default credentials or if examples normalize insecure practice, this can lead to unauthorized database access, data manipulation, or full administrative compromise.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

The skill describes streaming pipelines that include alerting and order execution behaviors such as sendAlert(...) and executeOrders without clear safety warnings, approval gates, or simulation-only guidance. In trading and operational contexts, users may adapt these examples into live systems, creating risk of unintended external actions, false alerts, or unauthorized trade execution from malformed logic or accidental deployment.

Content

No source excerpt is available for this finding.