apple-cktool
Pass
Audited by Gen Agent Trust Hub on Aug 26, 2026
Risk Level: SAFE
Full Analysis
- [DATA_EXPOSURE_AND_EXFILTRATION]: The skill provides excellent guidance on protecting CloudKit management and user tokens. It explicitly warns against using the
--tokenflag in commands to prevent exposure in logs or shell history, recommending secure alternatives like the macOS Keychain or environment variables. It also identifies standard configuration paths such as~/.config/cktoolwithout encouraging insecure access. - [COMMAND_EXECUTION]: The instructions enable the agent to perform CloudKit administrative tasks using the standard
xcrun cktoolutility. Security is maintained through a workflow that requires validation before mutation and mandatory dry-runs for destructive actions. It also mandates explicit user authorization for production writes or schema resets. - [INDIRECT_PROMPT_INJECTION]: The skill manages the attack surface where untrusted data (CloudKit record content or schema files) enters the agent context. It mitigates this by instructing the agent to use structured JSON encoding via
jqand avoiding manual string interpolation of external content into prompts or CLI commands. - [EXTERNAL_DOWNLOADS]: The skill references only official Apple developer documentation and sample repositories on GitHub. These links target a well-known, trusted organization and do not introduce unverifiable dependencies or remote code execution risks.
Audit Metadata