Back to skill

Security audit

Apple Health Skill

Security checks for vulnerabilities and agentic risk

Overview

The skill is for health-data coaching, but it asks for broad local tools and sends sensitive health context to an external service with limited privacy and scope controls.

Review this carefully before installing. Only use it if you trust the external health-data service with workout, heart-rate, profile, and chat-history information, and avoid granting broad exec/write authority unless your agent environment can constrain those tools. Treat outputs as fitness guidance, not medical advice.

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
  • Excessive AgencyUnrestricted Tool Access, Autonomous Decision Making, Scope Creep
  • Trigger AbuseOverly Broad Trigger, Shadow Command Trigger, Keyword Baiting Trigger
  • MCP Tool PoisoningHidden Instructions, Unicode Deception, Parameter Description Injection
  • Prompt InjectionInstruction Override, Hidden Instructions, Exfiltration Commands
Findings (5)

Missing User Warnings

High
Category
Not specified by scanner
Confidence
94% confidence
Finding

The skill states that the AI coach has complete health-data context and exposes chat history retrieval, but it does not provide a clear, prominent privacy warning or data-handling constraints for sensitive personal health information. In a health context, this is especially risky because training records, heart rate trends, and history can reveal highly sensitive biometric and behavioral data that may be over-collected, retained, or disclosed.

Content

No source excerpt is available for this finding.

Vague Triggers

Medium
Category
Not specified by scanner
Confidence
94% confidence
Finding

The description says the skill should be used whenever users need data analysis, report generation, statistical insights, or data visualization. Those triggers are broad everyday requests that overlap with many unrelated skills and do not clearly constrain when this health-specific skill should activate.

Content

No source excerpt is available for this finding.

Context-Inappropriate Capability

Medium
Category
Not specified by scanner
Confidence
89% confidence
Finding

Advertising exec for a health-data analysis skill violates least privilege because the described functionality is API querying and reporting, not local command execution. Unnecessary execution capability widens the attack surface for prompt-injection-driven shell actions, filesystem access, or data exfiltration if an agent enables the tool.

Content

No source excerpt is available for this finding.

External Transmission

Medium
Category
Data Exfiltration
Confidence
72% confidence
Finding

The skill transmits user queries and health-related context to an external API service, which is an external data transfer risk even if expected for the product’s functionality. In this case the context makes it more sensitive, because the transmitted data may include personal health information and the documentation does not clearly constrain what data is sent or how it is protected beyond basic API-key usage.

Content

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

bash
# 获取45分钟跑步训练方案(无需认证)
curl "https://health-api.example.com/api/v1/wod?sport=run&duration=45"
# 响应包含结构化训练计划:热身、主训练、放松等阶段
# ...
# 向AI教练提问

Intent-Code Divergence

Medium
Category
Not specified by scanner
Confidence
91% confidence
Finding

The skill claims that only whitelisted commands are executed, but the document exposes generic exec capability and provides no actual restriction, validation, or enforcement mechanism. That mismatch can cause users or integrating agents to over-trust shell execution in a context that handles sensitive health data, increasing the risk of arbitrary command execution or unsafe agent behavior.

Content

No source excerpt is available for this finding.