apple-notes-data-handling
Pass
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill is designed to ingest and transform content from Apple Notes, which serves as an external, untrusted data source. Malicious instructions embedded within a note could potentially be executed by the agent during automated processing tasks.
- Ingestion points: User-generated note content is read via
n.body()andn.plaintext()calls within AppleScript (JXA) execution blocks inSKILL.md. - Boundary markers: The documentation explicitly instructs the user to sanitize content and minimize fields, but no formal delimiters or "ignore instructions" tags are programmatically enforced in the provided scripts.
- Capability inventory: The skill has access to
Read,Write, andBashtools, enabling it to access local files and execute system commands based on processed data. - Sanitization: The
notesHtmlToMarkdownfunction uses basic regular expressions for conversion, which may not be sufficient to sanitize complex or adversarial HTML content. - [COMMAND_EXECUTION]: The skill utilizes
osascriptto interface with the macOS Notes application and the local filesystem. - Evidence: Shell scripts in
SKILL.mdexecuteosascript -l JavaScriptto iterate through the user's default account notes, extracting sensitive metadata and bodies to JSON files in the user's home directory.
Audit Metadata