apple-calendar-jxa
Pass
Audited by Gen Agent Trust Hub on Sep 8, 2026
Risk Level: SAFECOMMAND_EXECUTIONDATA_EXFILTRATIONINDIRECT_PROMPT_INJECTIONDYNAMIC_EXECUTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes shell commands using
/usr/bin/osascriptand/usr/bin/sqlite3. It also utilizesNSTaskwithin JavaScript for Automation (JXA) to execute the SQLite binary with specific flags like-readonlyand-safe. - [DATA_EXFILTRATION]: The skill accesses the private macOS calendar database at
~/Library/Group Containers/group.com.apple.calendar/Calendar.sqlitedb. This file contains sensitive user metadata including event summaries, locations, and descriptions. While no external network exfiltration is performed, the skill exposes this private data to the agent's context. - [DYNAMIC_EXECUTION]: The skill dynamically generates JXA scripts by interpolating variables (e.g.,
CALENDAR_NAME_JSON) into shell heredocs. It also usesObjC.importto load and execute functionality from macOS system frameworks such asEventKit,MapKit, andFoundationat runtime. - [INDIRECT_PROMPT_INJECTION]:
- Ingestion points: Reads potentially untrusted data from calendar event titles, descriptions, and locations via both JXA and SQLite queries in
SKILL.md. - Boundary markers: Employs JSON string literals for all variable replacements (e.g.,
SEARCH_TERM_JSON) to ensure data remains within string boundaries during script execution. - Capability inventory: Includes capabilities to read, create, update, and delete calendar events, as well as the ability to perform airport lookups via MapKit and execute local binaries via
NSTask. - Sanitization: Implements regex validation for ISO 8601 timestamps and uses
sqlLikeLiteralto escape characters in SQLite search terms.
Audit Metadata