Back to skill

Security audit

cloud-api-resource

Security checks for vulnerabilities and agentic risk

Overview

This UCloud resource-creation skill is mostly coherent, but it asks the agent to handle powerful cloud credentials and caller-provided API URLs in ways that need careful review before use.

Install only if you are comfortable letting an agent create UCloud resources after confirmation. Use a restricted sub-account key, rotate it after testing, avoid entering broad account private keys in chat or ordinary tool arguments, and ensure the endpoint is fixed or validated to the real UCloud API host before signing requests.

Vulnerability Patterns
  • 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
  • Embedded Malicious CodeShips malicious scripts inside the skill and executes them locally
Findings (2)

T09 · Insecure Skill Coding Practices

Warning
Location
skill.md:18
Finding

Caller-Controlled API Endpoint Allows Signed Requests to Be Sent to Untrusted Hosts

Content
View full analysis
Remediation
View remediation

T09 · Insecure Skill Coding Practices

Error
Location
skill.md:26
Finding

Long-Lived Cloud Private Key May Be Exposed Through Agent Inputs, Transcripts, or Telemetry

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (7)

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · skill.md (reported line 21)May include surrounding context.

md
- name: api_endpoint
    type: string
    required: true
    description: "UCloud API 的完整请求 URL。示例:https://api.ucloud.cn/?Action=CreateUHostInstance"
  - name: public_key
    type: string
    required: true

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · skill.md (reported line 265)May include surrounding context.

md
- name: api_endpoint
    type: string
    required: true
    description: "UCloud API 的完整请求 URL。示例:https://api.ucloud.cn/?Action=CreateUHostInstance"
  - name: public_key
    type: string
    required: true

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · skill.md (reported line 268)May include surrounding context.

md
- name: api_endpoint
    type: string
    required: true
    description: "UCloud API 的完整请求 URL。示例:https://api.ucloud.cn/?Action=CreateUHostInstance"
  - name: public_key
    type: string
    required: true

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · skill.md (reported line 269)May include surrounding context.

md
- name: api_endpoint
    type: string
    required: true
    description: "UCloud API 的完整请求 URL。示例:https://api.ucloud.cn/?Action=CreateUHostInstance"
  - name: public_key
    type: string
    required: true

External Transmission

Medium
Category
Data Exfiltration
Confidence
50% confidence
Finding

Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.

Content

Scanner excerpt · skill.md (reported line 270)May include surrounding context.

md
- name: api_endpoint
    type: string
    required: true
    description: "UCloud API 的完整请求 URL。示例:https://api.ucloud.cn/?Action=CreateUHostInstance"
  - name: public_key
    type: string
    required: true

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill supports high-risk actions such as creating API keys, but the description does not prominently warn that these operations can create durable credentials and expand access. Without explicit risk messaging and stricter confirmation, a user or upstream agent may treat key creation like a routine action and accidentally mint secrets with broad privileges.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
93% confidence
Finding

The trigger phrases are broad enough that ordinary user requests containing '创建' or similar wording could invoke this skill even when the user did not clearly intend UCloud resource creation. In an agent environment with tool auto-selection, that can lead to unintended provisioning actions, cost-incurring operations, or creation of sensitive resources such as API keys.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.