Back to skill

Security audit

Alibabacloud Oos Chatops Agent

Security checks for vulnerabilities and agentic risk

Overview

The skill is a disclosed Alibaba Cloud ChatOps bridge, but it can trigger high-impact cloud operations through OOS without narrow action limits or built-in confirmation.

Review this before installing in any Alibaba Cloud environment with production or billing impact. Use least-privilege RAM and OOS service-role permissions, prefer read-only testing first, and require human confirmation in your workflow before start, stop, restart, scale, batch, or billing-related operations.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Rogue AgentSelf-Modification, Session Persistence
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
Findings (6)

Context Leakage

High
Category
Data Exfiltration
Confidence
85% confidence
Finding

Code or instructions that leak agent conversation context to external services, potentially exposing sensitive user interactions.

Content

Scanner excerpt · references/ram-policies.md (reported line 9)May include surrounding context.

md
| Action | Service | Description |
|--------|---------|-------------|
| `oos:Chat` | OOS (Operation Orchestration Service) | Send chat messages to OOS ChatOps Agent |

## Minimal RAM Policy

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
95% confidence
Finding

The skill declares no explicit tool scope or permissions despite being designed to read credentials from the environment and perform cloud operations. In a high-impact cloud-management skill, missing tool/permission boundaries increases the chance of over-broad execution, accidental credential exposure through auxiliary commands, or unintended access to sensitive runtime capabilities.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The trigger set includes broad everyday phrases such as 'ECS', 'RDS', '运维', '帮我操作', and 'list instances', which can cause the skill to activate in contexts where the user did not intend to perform cloud operations. Because this skill can initiate operational actions against Alibaba Cloud resources, unintended activation materially raises the risk of unauthorized or accidental management actions.

Content

No source excerpt is available for this finding.

Session Persistence

Medium
Category
Rogue Agent
Confidence
60% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · scripts/call_oos_chatops_agent.py (reported line 118)May include surrounding context.

python
)

    def _create_client(self) -> OpenApiClient:
        """Create OpenAPI client with credentials."""
        access_key_id = os.environ.get("ALIBABA_CLOUD_ACCESS_KEY_ID")
        access_key_secret = os.environ.get("ALIBABA_CLOUD_ACCESS_KEY_SECRET")
        security_token = os.environ.get("ALIBABA_CLOUD_SECURITY_TOKEN")

Scope Creep

Low
Category
Excessive Agency
Confidence
70% confidence
Finding

Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.

Content

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

md
## Invocation

**[ABSOLUTE RULE] Tool whitelist**: The ONLY permitted tool for all cloud resource queries, O&M operations, and resource management tasks is `scripts/call_oos_chatops_agent.py`. For any scenario involving Alibaba Cloud resources — including but not limited to ECS, RDS, SLB, VPC, security groups, monitoring, billing, and batch operations — this script is the mandatory and exclusive entry point. If `aliyun` CLI, direct SDK calls, `curl`, or any other API tool is detected, the task is immediately treated as FAILED.

**`--pipe` is mandatory for all agent invocations.**

Natural-Language Policy Violations

Low
Category
Not specified by scanner
Confidence
88% confidence
Finding

The file includes Chinese-only example prompts and describes the SSE response text as incremental Chinese text, which signals a language-specific interaction pattern. There is no accompanying statement that users may choose another language or that the tool is intentionally limited to a Chinese locale for compliance or regional reasons.

Content

No source excerpt is available for this finding.