Back to skill

Security audit

Apple Docs

Security checks for vulnerabilities and agentic risk

Overview

This Apple documentation helper is mostly purpose-aligned, but its doc command can be used to fetch arbitrary web URLs instead of only Apple documentation.

Review this skill before installing if it will run in an environment with access to private services, cloud metadata endpoints, or internal networks. It should ideally restrict doc inputs to Apple documentation paths or allowlisted Apple hosts before use.

Vulnerability Patterns
  • Insecure Skill Coding PracticesFinds exploitable flaws such as hardcoded secrets or command injection
  • 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)

T09 · Insecure Skill Coding Practices

Warning
Location
cli.js:449
Finding

Arbitrary URL Fetch Enables Server-Side Request Forgery

Content
View full analysis
Remediation
View remediation
Vulnerability Patterns
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • MCP Least PrivilegeUnderdeclared Capability, Wildcard Permission, Missing Permission Declaration
  • 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)

Undeclared Tool Scope

Medium
Category
MCP Least Privilege
Confidence
92% confidence
Finding

The skill advertises network-backed functionality ('native fetch', external Apple docs, GitHub-hosted MCP server) but does not declare any explicit tool scope such as permissions or allowed-tools. This creates an authorization and transparency gap: the agent may be able to make outbound requests without the user or platform having a clear, enforceable declaration of that capability.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
97% confidence
Finding

The doc command accepts any URL beginning with http and passes it to getAppleDocContent, which then fetches arbitrary remote content. In an agent-skill context this expands the tool from an Apple-docs retriever into a general-purpose network fetcher, creating SSRF-like behavior against user-supplied destinations and bypassing the stated scope of the skill.

Content

No source excerpt is available for this finding.

Static analysis

No suspicious patterns detected.