apple-notes-security-basics
Pass
Audited by Gen Agent Trust Hub on Sep 9, 2026
Risk Level: SAFEINDIRECT_PROMPT_INJECTIONCOMMAND_EXECUTIONDYNAMIC_EXECUTION
Full Analysis
- [INDIRECT_PROMPT_INJECTION]: The skill provides patterns for processing Apple Notes content, creating a surface for indirect prompt injection. 1. Ingestion points: Note bodies are accessed via the
n.plaintext()method in the JXA script withinSKILL.md. 2. Boundary markers: The skill instructs to reject network-provided note content but does not specify delimiters for exported data. 3. Capability inventory: The skill utilizesosascript(AppleScript/JXA),bash, andsecuritytools for system interaction. 4. Sanitization: Recommends skipping locked notes and redacting failures.- [COMMAND_EXECUTION]: The skill demonstrates the use ofosascriptandsecurityCLI tools to automate macOS features. These tools are listed in theallowed-toolsfrontmatter and the usage patterns follow industry-standard security best practices, such as usingumask 077andtrapfor cleanup.- [DYNAMIC_EXECUTION]: The skill usesosascript -eto execute JavaScript for Automation (JXA) code defined within a shell script. This dynamic execution is local, non-obfuscated, and serves the primary purpose of structured data export.
Audit Metadata