Back to skill

Security audit

Peekaboo

Security checks for vulnerabilities and agentic risk

Overview

This skill is a coherent macOS UI automation helper, but it asks users to install a mutable third-party tool that can receive Screen Recording and Accessibility control over the desktop.

Install only if you trust the Peekaboo Homebrew tap and are comfortable granting macOS Screen Recording and Accessibility permissions. Use it on clearly scoped windows or apps, avoid screens containing secrets or regulated data, review targets with read-only commands before clicking or typing, and revoke permissions when no longer needed.

Vulnerability Patterns
  • Insecure DependenciesIntroduces malicious components through unsafe dependency sources
  • 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
Findings (1)

T08 · Insecure Dependencies

Warning
Location
SKILL.md:5
Finding
Unpinned Third-Party Homebrew Dependency## Vulnerability Details **File Location**: `SKILL.md`, line 5 **Vulnerability Type**: Unpinned third-party dependency and mutable supply-chain source **Risk Level**: Medium ### Vulnerable Code ```yaml metadata: {"clawdbot":{"emoji":"👀","os":["darwin"],"requires":{"bins":["peekaboo"]},"install":[{"id":"brew","kind":"brew","formula":"steipete/tap/peekaboo","bins":["peekaboo"],"label":"Install Peekaboo (brew)"}]}} ``` ### Technical Analysis The installation configuration obtains the `peekaboo` executable from the third-party Homebrew tap `steipete/tap/peekaboo`. It does not specify an immutable version, formula revision, source commit, package checksum, or other integrity constraint. As a result, the executable retrieved during installation can change after this Skill has been reviewed. A compromise of the tap, its publishing credentials, its source repository, or an associated release artifact could cause users to install a modified executable without any corresponding change to this Skill package. The dependency is especially sensitive because the documented functionality requires macOS Screen Recording and Accessibility permissions. These permissions are legitimate for the stated UI-automation purpose, but they substantially increase the consequences of a supply-chain compromise. ### Attack Path 1. An attacker compromises the third-party Homebrew tap, its maintainer credentials, an upstream release location, or another component of the package publication process. 2. The attacker modifies the formula or referenced artifact so that it installs a malicious `peekaboo` executable. 3. A user follows the Skill installation metadata and installs `steipete/tap/peekaboo` without an immutable version or checksum verification. 4. The malicious executable is launched as the expected `peekaboo` command. 5. The user grants Screen Recording and Accessibility permissions, as instructed by the Skill and required by the advertised functionality. 6. The compromised exec ...[truncated 1074 chars]
Remediation
## Remediation Suggestions 1. Pin installation to a reviewed, immutable release version or source commit rather than resolving the current state of a mutable tap. 2. Record and verify a cryptographic checksum for the expected release artifact before installation. 3. Prefer signed and notarized macOS release artifacts, and validate their signing identity as part of installation. 4. Document the authoritative source repository and expected publisher identity so users can verify provenance. 5. Where possible, distribute through an official or tightly controlled package repository rather than relying on a mutable third-party tap. 6. Introduce a controlled update process in which dependency changes, formula revisions, checksums, and signing identities are reviewed before the pinned version is updated. 7. Clearly explain why Screen Recording and Accessibility permissions are required, and advise users to revoke them when the tool is no longer needed.
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
  • Data ExfiltrationExternal Transmission, Env Variable Harvesting, File System Enumeration
  • Privilege EscalationExcessive Permissions, Sudo/Root Execution, Credential Access
  • Supply ChainUnpinned Dependencies, External Script Fetching, Obfuscated Code
Findings (2)

Missing User Warnings

Medium
Confidence
94% confidence
Finding
The skill exposes screen capture, UI inspection, and analysis capabilities without warning users that it can collect sensitive on-screen content such as passwords, messages, documents, or other private data. In an agent setting, missing this warning increases the chance of unintentional privacy violations because the capability is broad and operates over the full macOS UI.

Missing User Warnings

Medium
Confidence
96% confidence
Finding
The skill documents powerful input automation features that can click, type, paste, launch apps, dismiss dialogs, and manipulate windows without any warning that these actions may change user data or system state. This is dangerous because an agent or user may invoke destructive or irreversible actions—such as submitting forms, deleting content, changing settings, or interacting with security prompts—without understanding the risk.

Static analysis

No suspicious patterns detected.