dock-app
Warn
Audited by Gen Agent Trust Hub on Oct 29, 2026
Risk Level: MEDIUMCOMMAND_EXECUTIONPERSISTENCEDYNAMIC_EXECUTIONINDIRECT_PROMPT_INJECTION
Full Analysis
- [COMMAND_EXECUTION]: The skill executes several shell scripts and system utilities to perform its tasks. In
scripts/make-app.sh, it usesdefaults,killall,osacompile, andmdimport. Inassets/open.sh, it usescurl,nohup, andopen. The instructions also suggest usingstringsandgrepon local binaries to find configuration settings. - [PERSISTENCE]: The skill maintains a presence on the user's system by pinning applications to the macOS Dock and starting background servers that survive session termination. Specifically,
scripts/make-app.shmodifiescom.apple.dockto add new application tiles, andassets/open.shusesnohupto ensure the Bun server continues running after the launcher script exits. - [DYNAMIC_EXECUTION]: The skill generates executable application bundles at runtime using system tools. The script
scripts/make-app.shutilizes theosacompileutility to wrap a shell script into a double-clickable macOS.appbundle via AppleScript. - [INDIRECT_PROMPT_INJECTION]: The skill creates an attack surface by reading and writing local files which could contain untrusted data that influences the agent's behavior.
- Ingestion points:
assets/server.tsreads data from local configuration files (e.g.,~/.example/config.json) and provides it to the agent via a GET route. - Boundary markers: None are present in the code; the agent is instructed to read "real files" directly to determine state.
- Capability inventory: The skill can write files (
writeFileSyncinserver.ts) and execute shell commands via the generated app launcher and background server. - Sanitization: The server performs basic JSON parsing but lacks rigorous validation against malicious content within the files it manages, relying on the agent to interpret the data correctly.
Audit Metadata