Back to skill

Security audit

Pywayne Aliyun Oss

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward Aliyun OSS file-management guide with expected upload, download, list, copy, move, and delete examples, but users should be careful with credentials and deletion commands.

Install only if you intend to let the agent work with Aliyun OSS. Use least-privilege credentials, prefer read-only access when possible, verify bucket and endpoint ownership, avoid uploading secrets or broad local folders unintentionally, and list objects before any delete or move operation.

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
  • 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)

Cloud Storage Exfiltration

Medium
Category
Data Exfiltration
Content
### Upload a local file

```python
oss.upload_file(key="data/sample.txt", file_path="./sample.txt")
```

### Upload text content
Confidence
55% confidence
Finding
Data is uploaded to cloud storage (S3 / GCS / Azure Blob). This may be a legitimate backup or exfiltration to an external bucket. Manual review is recommended.

Missing User Warnings

Medium
Confidence
92% confidence
Finding
The skill documents delete operations but does not explicitly warn that they are destructive and may permanently remove data. In an agent setting, exposing deletion primitives without clear safety guidance increases the chance of accidental or overly broad deletion, especially for prefix-based operations that can affect many objects at once.

Static analysis

No suspicious patterns detected.