apple-notes-upgrade-migration
Pass
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: SAFECOMMAND_EXECUTIONINDIRECT_PROMPT_INJECTIONDATA_EXFILTRATION
Full Analysis
- [COMMAND_EXECUTION]: The skill uses the
osascripttool to interact with the macOS system and applications. - Evidence: The script executes
osascript -l JavaScriptto query the Apple Notes application for accounts, folders, and note content. - [INDIRECT_PROMPT_INJECTION]: The skill ingests untrusted data from the user's Apple Notes, which could theoretically contain malicious instructions targeting the AI agent.
- Ingestion points: Note bodies are read via
n.body()in the backup script withinSKILL.md. - Boundary markers: No boundary markers or instructions to ignore embedded content are used when capturing note data.
- Capability inventory: The skill has access to
Bash,Write,Edit, andReadtools. - Sanitization: There is no evidence of sanitization or escaping of the note content before it is processed or written to disk.
- [DATA_EXFILTRATION]: The skill accesses sensitive user information as part of its migration and backup functionality.
- Evidence: The script in
SKILL.mditerates through all Apple Notes accounts and notes, capturing theid,name,body, and metadata, writing this sensitive data to a local file at$HOME/notes-pre-upgrade-.../full-backup.json. While the operation is local, it involves the exposure of full note contents.
Audit Metadata