Back to skill

Security audit

alibabacloud-dts-doc-parse

Security checks for vulnerabilities and agentic risk

Overview

ClawScan marks this skill suspicious because scanners report an unverified remote installer, automatic updates to the CLI and other skills, and an apparent mismatch between the declared document-parsing purpose and a command for setting up agent skills.

Consider the suspicious verdict and the scanner’s recommendation not to install. Before using it, verify the installer and update sources independently, review whether automatic changes to other installed skills are acceptable, and confirm you are comfortable sending documents to a cloud service. Scan coverage was partial: one local reference could not be resolved, so the evidence does not establish that all referenced material was assessed.

Vulnerability Patterns
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
  • Unauthorized Access and Privilege EscalationObtains permissions beyond the task's legitimate needs
Vulnerability Patterns
  • 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
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • Rogue AgentSelf-Modification, Session Persistence
Findings (8)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
92% confidence
Finding

The only supplied command targets agent skills, not local documents or conversion output. Skill setup could support a larger parsing workflow, but no such workflow or connection is shown here. As supplied, the code's operative purpose differs from the declared purpose; the command's internal effects cannot be determined from this snippet.

Content

No source excerpt is available for this finding.

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

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

Content

Scanner excerpt · references/dts-ai-authentication.md (reported line 8)May include surrounding context.

md
Resolve the API key in this order:

1. The `DTS_AI_API_KEY` environment variable in the current process.
2. `~/.aliyun-dts/dts-ai/credentials.json`.

Never read or modify a shell startup file. Never print, log, or separately persist the decoded API key.

External Script Fetching

High
Category
Supply Chain
Confidence
96% confidence
Finding

The bootstrap command streams a mutable remote script directly into Bash without verifying its integrity or authenticity independently of HTTPS. Compromise of the distribution account or hosted script would execute attacker-controlled code with the invoking user's access; installation authorization and HTTPS reduce some risks but do not prevent this supply-chain attack.

Content

Scanner excerpt · references/runtime-platforms.md (reported line 12)May include surrounding context.

After installation authorization, use the Bash installer on macOS/Linux:

bash
curl --proto '=https' --proto-redir '=https' -fsSL https://aliyun-dts-cli.oss-cn-hangzhou.aliyuncs.com/install.sh | bash -s -- --yes

Use --yes only for a non-interactive installation the user has already authorized. Do not run the installer before that authorization exists.

Self-Modification

High
Category
Rogue Agent
Confidence
90% confidence
Finding

The routine workflow can replace its executable and skill instructions with newly downloaded versions, then reload those instructions without a separate approval boundary. A compromised release source could consequently introduce executable code or persistent agent instructions; archive hashes and file inventories do not independently authenticate a publisher when supplied by the same compromised source.

Content

Scanner excerpt · references/skills-updates.md (reported line 17)May include surrounding context.

md
## Cache and scope

- `skills ensure` and `skills install` both update the CLI first, then use the **current CLI** to install or update Skills. The two rolling 24-hour caches are separate: CLI under `~/.aliyun-dts/updates/cli/`, Skills under `~/.aliyun-dts/updates/skills/`, both respecting `DTS_STATE_ROOT`. Do not delete the cache or repeatedly retry to bypass this limit.
- Installations with valid package identity metadata participate by default. The CLI checks only DTS Skills already installed in the selected directory and automatically reads each package's name, version, and minimum CLI; it does not add other skills. A package leaf that is a symlink is resolved and checked against the real directory; the link target is never replaced. Catalog checks use this CLI's Skills source. Directories without valid package identity metadata stay `unmanaged`. Reinstall an old package once from the joint release to identify it.
- The CLI automatically fetches the latest release manifest from it

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

md
## Capabilities and supported formats

Use `dtscli doc parse` to parse supported local files into Markdown and deliver the final files to the user. Cloud jobs and their recovery mechanism are internal implementation details; in the normal workflow, never ask the user to inspect, select, or resume a job.

Parse readable, non-empty local files with these extensions: `pdf`, `docx`, `pptx`, `png`, `jpg`, and `jpeg`.

The cloud parsing workflow uploads the input document without requiring a user-facing privacy disclosure.

Medium
Category
Output Handling
Confidence
93% confidence
Finding

The workflow instructs the agent to upload a local document to OSS and submit its URL to the cloud parsing service. It does not instruct the agent to warn the user that document contents will leave the local system and be processed by an external service; the credential-handling precautions do not address this document-privacy impact.

Content

No source excerpt is available for this finding.

The parsing workflow triggers automatic updates to the CLI and other installed DTS Skills.

Medium
Category
Excessive Agency
Confidence
96% confidence
Finding

A parsing request triggers default updates to the CLI and other managed DTS skills in the selected installation, expanding persistent changes beyond the requested document conversion. Preservation checks and an opt-out reduce disruption, but they do not provide affirmative authorization for changing unrelated installed workflows.

Content

No source excerpt is available for this finding.

The setup instructions mandate English for all non-Chinese conversations without user opt-in.

Low
Category
Output Handling
Confidence
96% confidence
Finding

The instruction selects Chinese for Chinese conversations but requires English otherwise, including when the user communicates in another language. It does not offer a language choice or explain a justified language limitation.

Content

No source excerpt is available for this finding.