Back to skill

Security audit

OneDrive

Security checks for vulnerabilities and agentic risk

Overview

The skill is a coherent OneDrive connector, but its first-time setup tells agents to execute remote installer scripts directly, which is risky for a tool that can modify or delete OneDrive data.

Review before installing. This skill can operate on your connected OneDrive, including overwriting and deleting items after confirmation. Prefer installing the `oo` CLI through a verified, pinned package or inspected installer rather than running the provided remote script execution commands directly.

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
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
Findings (2)

External Script Fetching

High
Category
Supply Chain
Confidence
97% confidence
Finding

The skill instructs the agent to install software by piping a remotely fetched script directly into a shell (curl ... | bash). This creates a supply-chain and remote code execution risk: if the install endpoint, transport, DNS, or upstream distribution is compromised, arbitrary code would execute immediately on the host with the agent’s privileges.

Content

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

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
95% confidence
Finding

The description says to use this skill for "ANY OneDrive request" and "Whenever a task involves OneDrive," which is a very broad trigger that can overlap with many ordinary requests involving files or cloud storage. The file does not provide narrower trigger constraints or exclusion examples to clarify when the skill should or should not activate.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.