The cross-harness, self-improving memory layer for AI agents. Join our community: https://discord.com/invite/zdNChS2fBu
Go agent-ai-cliagent-harnessesagent-securitybrowser-extensionciclaude-codecloudcodexcursordetection-engineeringjevknowledge-basememorymobile-device-managementobservabilitysecuritysecurity-information-and-event-managementsecurity-toolstelemetrytraces
docs(cursor-cloud): warn that committed hooks run a /tmp binary on every machine
shukieshah11b26a141b15
diff --git a/docs/cli/cloud-cursor-print-hooks.mdx b/docs/cli/cloud-cursor-print-hooks.mdxindex 94a20536..2aeef145 100644--- a/docs/cli/cloud-cursor-print-hooks.mdx+++ b/docs/cli/cloud-cursor-print-hooks.mdx@@ -11,7 +11,9 @@ a cloud sandbox. The install script fromwrites these hooks at Build time without committing them. Use `print-hooks`when you want the hooks committed to `.cursor/hooks.json` instead, or to mergeBeacon's entries into a hooks file the repository already commits. Committed-project hooks also run in every local Cursor session on the repository.+project hooks also run in every local Cursor session on the repository, where+they run `/tmp/beacon/bin/beacon-hooks` from a world-writable directory: on a+shared machine, whoever creates that file has it run as each developer.```bash title="Command syntax"beacon cloud cursor print-hooksdiff --git a/docs/runtimes/cursor-cloud-agents.mdx b/docs/runtimes/cursor-cloud-agents.mdxindex df71bc8a..5c612b67 100644--- a/docs/runtimes/cursor-cloud-agents.mdx+++ b/docs/runtimes/cursor-cloud-agents.mdx@@ -428,10 +428,13 @@ git push```Cursor also runs a repository's project hooks in local sessions, so everyone-who opens the repository in Cursor runs committed hooks too. On their machines-`/tmp/beacon/bin/beacon-hooks` does not exist, and Cursor lets the call through.-If the repository already commits its own `.cursor/hooks.json`, add Beacon's-entries to it.+who opens the repository in Cursor runs committed hooks too, and those hooks run+`/tmp/beacon/bin/beacon-hooks` from a world-writable directory. On a machine+where another user or process can create that file, it runs with the+developer's permissions on every hook. Keep the hooks uncommitted, with the+install script, unless every machine that opens the repository is trusted. The+same applies to Beacon entries added to a `.cursor/hooks.json` the repository+already commits.## Security note