Back to skill

Security audit

ARKit visionOS Developer

Security checks for vulnerabilities and agentic risk

Overview

This skill is a straightforward ARKit visionOS development guide with no executable code or hidden persistence behavior.

Before installing, understand that this skill helps an agent write code for ARKit features that may access camera, hand, room, and spatial environment data inside a visionOS app. Review the generated app code and permission prompts carefully, but the skill package itself does not appear to run code, collect data, or persist access.

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
  • Rogue AgentSelf-Modification, Session Persistence
  • 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)

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

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

md
## Best Practices

- Add `NSHandsTrackingUsageDescription` to Info.plist and request provider authorizations before running.
- Check `HandTrackingProvider.isSupported` and handle unsupported devices gracefully.
- Use `anchorUpdates` for continuous updates and `latestAnchors` for instant access.
- Treat hand data as transient and avoid persisting it.

Session Persistence

Medium
Category
Rogue Agent
Confidence
75% confidence
Finding

Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.

Content

Scanner excerpt · references/hand-tracking-provider.md (reported line 9)May include surrounding context.

md
## Best Practices

- Add `NSHandsTrackingUsageDescription` to Info.plist and request provider authorizations before running.
- Check `HandTrackingProvider.isSupported` and handle unsupported devices gracefully.
- Use `anchorUpdates` for continuous updates and `latestAnchors` for instant access.
- Treat hand data as transient and avoid persisting it.

Static analysis

No suspicious patterns detected.