Back to skill

Security audit

Watadot Aws S3

Security checks for vulnerabilities and agentic risk

Overview

This is a coherent AWS S3 helper, but one sync example includes destructive deletion behavior without making that risk clear.

Review the S3 sync commands carefully before installing or using this skill. Do not run the `--delete` example unless you have verified the exact bucket and prefix, tested with a dry run, and are comfortable deleting destination objects that are absent locally.

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
Confidence
60% 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.

Content

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

High-Speed Synchronization

bash
# Intelligent sync (only changed files)
aws s3 sync ./local-dir s3://<bucket-name>/path --delete --exclude "*.tmp"

# Concurrent upload tuning (performance)
aws configure set default.s3.max_concurrent_requests 20

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The example uses aws s3 sync ... --delete, which will remove objects from the destination that are not present locally, but the skill does not explicitly warn that this is destructive. In an agent-executed context, this can cause unintended mass deletion of bucket contents or prefixes if parameters are wrong or the local source is incomplete.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.