Back to skill

Security audit

Cloud Storage

Security checks for vulnerabilities and agentic risk

Overview

This is a documentation-only cloud storage helper with expected credential setup guidance and no hidden execution behavior.

Installers should treat any cloud credentials, service account keys, client secrets, SAS tokens, and OAuth refresh tokens as sensitive. Use least-privilege accounts, prefer managed or keyless identity where available, verify costs before large transfers, and require backup verification before deletions.

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
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
Findings (5)

Credential Access

High
Category
Privilege Escalation
Confidence
90% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · auth.md (reported line 24)May include surrounding context.

md
export AWS_SECRET_ACCESS_KEY=...
export AWS_DEFAULT_REGION=us-east-1

# Named profiles (~/.aws/credentials)
[profile-name]
aws_access_key_id = AKIA...
aws_secret_access_key = ...

Credential Access

High
Category
Privilege Escalation
Confidence
70% confidence
Finding

Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.

Content

Scanner excerpt · auth.md (reported line 91)May include surrounding context.

md
1. **Create OAuth app** in provider console
2. **Request minimal scopes** — `drive.file` not `drive` for Google
3. **Store refresh tokens** — access tokens expire quickly
4. **Handle token refresh** before long operations

**Traps:**

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
87% confidence
Finding

The AWS authentication examples include direct use of access keys in environment variables and a credentials file path, but they do not explicitly warn that these secrets must not be hardcoded, committed, logged, or shared. In an automation-oriented cloud storage skill, readers are likely to copy these patterns into scripts or local configs, increasing the risk of credential leakage and subsequent cloud account compromise.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
86% confidence
Finding

The Google Cloud section references a service account key file via GOOGLE_APPLICATION_CREDENTIALS without clearly warning that key.json is highly sensitive credential material. In the context of a cloud storage skill, exposing this pattern without strong safeguards can lead users to leave long-lived key files on disk, in repos, or in shared environments, enabling unauthorized access to GCP resources.

Content

No source excerpt is available for this finding.

Missing User Warnings

Medium
Category
Not specified by scanner
Confidence
85% confidence
Finding

The Azure authentication example shows AZURE_CLIENT_SECRET usage but does not include an explicit caution that client secrets are sensitive and should not be embedded in scripts, shell history, CI logs, or documentation. Because this skill is meant to manage cloud storage across providers, omission of secret-handling guidance raises the chance of accidental disclosure and misuse of privileged Azure identities.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.