Back to skill

Security audit

Microsoft Clarity

Security checks for vulnerabilities and agentic risk

Overview

The Clarity workflow is coherent, but its setup executes unverified remote installers and omits potentially broader changes to installed agent skills.

Review and approve CLI setup separately before use, including its effects on other installed agent skills. Prefer a verified, fixed release and disable unwanted skill synchronization; the vendor documents OO_SKILLS_SYNC_DISABLED in its [command reference](https://github.com/oomol-lab/oo-cli/blob/main/docs/commands.md). Clarity access through OOMOL is disclosed, but the remote installer payloads remain unverified.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Output HandlingUnvalidated Output Injection, Cross-Context Output, Unbounded Output
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (4)

Description-Behavior Mismatch

High
Category
MCP Tool Poisoning
Confidence
97% confidence
Finding

The supplied code performs remote software installation rather than Microsoft Clarity data operations. Dependency installation can be a supporting implementation detail, but this chunk provides no evidence connecting the Oomol installer to the declared Clarity functionality. The downloaded script's additional behavior cannot be determined from the supplied code.

Content

No source excerpt is available for this finding.

External Script Fetching

High
Category
Supply Chain
Confidence
98% confidence
Finding

Piping a live HTTPS response directly into bash executes mutable remote code without version pinning or independent integrity verification. Although the domain matches the documented CLI vendor and installation is conditional, compromise of the distribution endpoint could lead to local data theft or modification under the agent's privileges.

Content

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

The setup workflow instructs the agent to execute remotely downloaded installation scripts without warning the user about local system changes.

Medium
Category
Output Handling
Confidence
96% confidence
Finding

The missing-CLI fallback directs the agent to install software by immediately executing downloaded shell or PowerShell code, without explaining local changes or obtaining installation-specific approval. Restricting this to a command-not-found error reduces exposure, but a routine Clarity request can still trigger code execution with the agent's local privileges.

Content

No source excerpt is available for this finding.

Autonomous Decision Making

Medium
Category
Excessive Agency
Confidence
80% confidence
Finding

Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.

Content

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

md
- **`OOMOL_INSUFFICIENT_CREDIT`** — OOMOL billing stop. Recharge at `https://console.oomol.com/billing/token-recharge` before retrying.

- **HTTP 402 without `OOMOL_INSUFFICIENT_CREDIT`** — the third-party account itself has no active plan or credit. Report the provider error message as is; do not ask the user to recharge OOMOL.

## Resources