Back to skill

Security audit

Alibaba Cloud AI Text Document Mind

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Alibaba Cloud DocMind helper, but users should treat document URLs and cloud credentials carefully.

Install only if you intend to send documents to Alibaba Cloud DocMind. Use least-privileged Alibaba Cloud credentials, avoid printing or committing access keys, and do not use publicly accessible URLs for sensitive documents unless the link is tightly controlled and revoked after processing.

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
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (5)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
88% confidence
Finding

The skill includes executable code that reads cloud credentials from environment variables, but it does not declare any tool scope, permissions, or allowed-tools boundaries. In an agent setting, that omission can cause operators or orchestrators to run a credentialed skill without clear sandbox expectations, increasing the chance of unintended secret access or misuse.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
96% confidence
Finding

The skill explicitly tells users to keep files publicly accessible for URL submission, but it does not warn that this may expose sensitive documents to anyone with the link or broader internet access depending on hosting configuration. In a document-processing context, this raises a real confidentiality risk because users may upload private contracts, IDs, or internal files for analysis.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
98% confidence
Finding

The skill is documented throughout as a Node.js/JavaScript DocMind integration, but the Validation section iterates over scripts/*.py and runs python3 -m py_compile. This is an active contradiction in the file's own documentation because the stated validation procedure does not validate the Node.js quickstart/script content the skill presents.

Content

No source excerpt is available for this finding.

Missing User Warnings

Low
Category
Not specified by scanner
Confidence
84% confidence
Finding

The markdown instructs users to provide access key credentials via environment variables, which is a sensitive operation, but it does not include any caution about secret handling, storage, or avoiding disclosure in logs and artifacts. For a skill description that references credentials directly, a brief warning helps reduce accidental exposure.

Content

No source excerpt is available for this finding.

Intent-Code Divergence

Low
Category
Not specified by scanner
Confidence
81% confidence
Finding

The workflow text appears to be generic cloud-operation guidance and refers to classifying operations as read-only or mutating, then running a minimal read-only query first. For this skill, the documented behavior is narrowly to submit DocMind jobs and poll their results, so this guidance does not match the actual intent and can mislead users about the skill's operational model.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.