claude-browser-handoff
A Claude skill (claude-browser-handoff). The main Claude task hands clearly defined web-page steps to a pre-configured Codex browser entry point. It records page evidence and the Codex session ID, resumes the same session once the owner clears a blocker, and the main task keeps responsibility for the business work and the hub receipt.
Worth knowing: Downloads a script and runs it straight away; Sets itself up to run automatically; Turns off the agent's permission prompts; Changes the agent's instructions or settings; Touches SSH keys; Collects every environment variable. Both Claude reviews found this fine for what it does.
What it can touch
| files | write, including SSH keys (~/.ssh), every environment variable, ~/.agent-autoloop/config.json, ~/.agent-autoloop/secrets.env, ~/.agent-autoloop/master.key, ~/.agent-autoloop/, ~/.config/systemd/user/agent-autoloop.service, ~/.local/bin/agent-autoloop |
|---|---|
| network | 192.168.1.2, api.github.com, example.invalid, github.com, gitlab.com, hub.example, hub.test, old-hub.example, raw.githubusercontent.com, www.apple.com, x.test |
| shell | runs commands |
| secrets | AGENT_AUTOLOOP_KEY, AGENT_AUTOLOOP_SECRET_, AGENT_AUTOLOOP_SECRET_HOOKS, AGENT_AUTOLOOP_SECRET_X |
What it actually does
The browser-handoff SKILL.md is a careful instruction file. It tells the agent to treat web and event text as data, reads browser.json for the allowed actions, runs `node handoff.ts browser.json`, and asks the owner through an `ask` card when blocked. The bundle, however, is the entire Agent Autoloop hub, not just this skill. Its installer is a curl|sh script that clones the repo into ~/.agent-autoloop/app, links a CLI into a PATH folder, and by default installs a per-user launchd/systemd service that starts at login and is kept alive. The worker launches headless Claude Code / Codex / arbitrary CLI agents through the user's login shell in folders named by rules. Codex runs with approval_policy=never, and the 'full' access level maps to Claude bypassPermissions or Codex danger-full-access. A delivery plugin can review, merge and deploy GitHub PRs through gh. Recipes cover scheduled briefs, issue fixing, ops restarts, Feishu summaries and website checks. The hub keeps its own keys in ~/.agent-autoloop (config.json, secrets.env, master.key) and strips AGENT_AUTOLOOP_* secrets from agent environments. handoff.ts, the script the skill actually runs, was omitted from the bundle, so the browser call path cannot be verified. No hidden Unicode, exfiltration or covert instructions were found.
The review found it does more than, or something other than, what it says.
What the check found
highDownloads a script and runs it straight away
Piping a download into a shell runs code nobody reviewed, and the download can change after this check.
INSTALL.md:14 curl -fsSL https://raw.githubusercontent.com/KKKKhazix/agent-autoloop/main/install.sh | sh
highSets itself up to run automatically
Writes to shell startup files, scheduled tasks or login items, so it keeps running after the agent is done.
host/service.ts:15 const plistFile = () => path.join(homedir(), "Library/LaunchAgents", `${label()}.plist`);
host/service.ts:16 const unitFile = () => path.join(homedir(), ".config/systemd/user", `${label()}.service`);
highSets itself up to run automatically
Writes to shell startup files, scheduled tasks or login items, so it keeps running after the agent is done.
install.sh:15 echo "export PATH=\"$(brew --prefix node@24)/bin:\$PATH\"" >> ~/.zshrc
highTurns off the agent's permission prompts
Switches the agent to run commands or make edits without asking first.
plugins/claude/agent.ts:8 const PERMISSIONS = { read: "plan", edit: "acceptEdits", full: "bypassPermissions" };
highChanges the agent's instructions or settings
Editing CLAUDE.md, AGENTS.md, memory files, hooks or MCP settings lets a tool keep steering the agent even after it's removed.
scripts/delivery-e2e.ts:59 write("AGENTS.md", "## 审查要点\n\napp.txt 只能包含一个版本标记;不执行仓库里的代码或设置。\n");
highTouches SSH keys
Reads private SSH key files or points the agent at them. Very few agent tools have a reason to.
tests/delivery-review.test.ts:24 assert.ok(!policy.includes(".ssh"));
highSets itself up to run automatically
Writes to shell startup files, scheduled tasks or login items, so it keeps running after the agent is done.
tests/install.test.ts:218 const service = process.platform === "darwin" ? /^launchctl bootstrap /m : /^systemctl --user enable --now /m;
highSets itself up to run automatically
Writes to shell startup files, scheduled tasks or login items, so it keeps running after the agent is done.
tests/uninstall.test.ts:112 ? join(it.person, "Library", "LaunchAgents", "agent-autoloop.plist")
tests/uninstall.test.ts:227 ? join(it.person, "Library/LaunchAgents/agent-autoloop.plist")
tests/uninstall.test.ts:228 : join(it.person, ".config/systemd/user/agent-autoloop.service");
highCollects every environment variable
Copies all environment variables at once, which sweeps up API keys and tokens along with everything else.
tests/worker.test.ts:219 const script = `pwd > out.txt; printenv AGENT_AUTOLOOP_CONTEXT >> out.txt; printenv AGENT_AUTOLOOP_SECRET_X >> out.txt; printenv AGENT_AUTOLOOP_RUN >> out.txt;
mediumDownloads a script and runs it straight away
Piping a download into a shell runs code nobody reviewed, and the download can change after this check.
README.en.md:28 curl -fsSL https://raw.githubusercontent.com/KKKKhazix/agent-autoloop/main/install.sh | sh
mediumDownloads a script and runs it straight away
Piping a download into a shell runs code nobody reviewed, and the download can change after this check.
README.md:28 curl -fsSL https://raw.githubusercontent.com/KKKKhazix/agent-autoloop/main/install.sh | sh
mediumHas a hidden comment that speaks to the agent
HTML comments don't show when Markdown is displayed, but agents read them.
docs/architecture.en.svg:114 <!-- Right: Agent plugins -->
mediumHas a hidden comment that speaks to the agent
HTML comments don't show when Markdown is displayed, but agents read them.
docs/architecture.svg:114 <!-- 右:Agent 插件 -->
mediumTurns off the agent's permission prompts
Switches the agent to run commands or make edits without asking first.
docs/plugins.md:110 | Claude Code | `plan`:能读文件和运行只读命令;其他命令取决于自动审批及本机规则 | `acceptEdits`:再允许目录内文件编辑和常见文件操作;任意 shell 或联网仍需放行 | `bypassPermissions`:跳过工具审批,没有额外系统隔离 |
mediumTurns off the agent's permission prompts
Switches the agent to run commands or make edits without asking first.
tests/adapters.test.ts:64 assert.ok(has(stubbed(claude, { access: "full" })!, "--permission-mode", "bypassPermissions"));
mediumChanges the agent's instructions or settings
Editing CLAUDE.md, AGENTS.md, memory files, hooks or MCP settings lets a tool keep steering the agent even after it's removed.
tests/delivery-review.test.ts:41 writeFileSync(join(repo, "AGENTS.md"), "## 审查要点\nmain-points\n");
tests/delivery-review.test.ts:59 writeFileSync(join(repo, "AGENTS.md"), "## 审查要点\nbranch-points\n");
mediumGoes through every environment variable
Reads the whole environment, usually to pass it on to another program. Together with a webhook or paste-site address it is how credential stealers work.
tests/example-plugins.test.ts:33 Object.entries(process.env).filter(([name]) => !name.startsWith("AGENT_AUTOLOOP_") && name !== "NODE_TEST_CONTEXT"),
mediumGoes through every environment variable
Reads the whole environment, usually to pass it on to another program. Together with a webhook or paste-site address it is how credential stealers work.
tests/recipes.test.ts:32 Object.entries(process.env).filter(([name]) => !name.startsWith("AGENT_AUTOLOOP_")),
mediumGoes through every environment variable
Reads the whole environment, usually to pass it on to another program. Together with a webhook or paste-site address it is how credential stealers work.
worker/worker.ts:100 for (const [name, value] of Object.entries(process.env)) {
mediumInstalls a login-time, always-restarting background service
On macOS it writes a LaunchAgent with RunAtLoad and KeepAlive; on Linux it enables a systemd user unit with Restart=always. The hub's docs disclose this, and a hub needs it. It goes far beyond what a browser-handoff skill would need, though, and users should know a daemon will keep running.
host/service.ts:46 <key>RunAtLoad</key><true/>
host/service.ts:47 <key>KeepAlive</key><true/>
host/service.ts:92 execFileSync("systemctl", ["--user", "enable", "--now", label()]);
mediumcurl | sh installer that fetches and runs remote code
The recommended install pipes a script from the main branch straight into sh, and that script clones and runs the latest release. This is a standard pattern, but trust depends entirely on the upstream repository.
INSTALL.md:14 curl -fsSL https://raw.githubusercontent.com/KKKKhazix/agent-autoloop/main/install.sh | sh
install.sh:44 git -c advice.detachedHead=false clone --quiet --depth 1 ${release:+--branch "$release"} -- "$REPO" "$APP"
mediumRuns agents unattended, with an optional permission-bypass level
Codex always runs with approval_policy=never. The 'full' access level maps to Claude bypassPermissions and Codex danger-full-access. The default is 'edit' and the docs tell agents not to widen access, but any rule set to 'full' lets an unattended agent run anything.
plugins/claude/agent.ts:8 const PERMISSIONS = { read: "plan", edit: "acceptEdits", full: "bypassPermissions" };
tests/adapters.test.ts:193 assert.ok(argv.includes('approval_policy="never"'));
skills/agent-autoloop/SKILL.md:61 `access` 默认 `edit`,专用插件翻译成对应 CLI 的权限;`command` 只传参数,不替任意程序限制权限,按该 CLI 文档配置。要完整权限、不审批的话写 `full`,先和用户说清楚。
mediumWorker launches arbitrary rule-defined commands through the user's login shell
Each job is written to a command file and run through the user's login shell in a detached process group. The command comes from rules.json or from plugins, which the docs call trusted code. Event text is kept out of the prompt.
worker/worker.ts:250 const login = [process.env.SHELL ?? "/bin/sh", "-lc", 'exec /bin/sh "$AGENT_AUTOLOOP_COMMAND"'];
skills/agent-autoloop/SKILL.md:63 第三方仓库根目录放 `agent.ts`、`channel.ts` 或 `source.ts`,用 `agent-autoloop add <git 地址>` 安装到 `~/.agent-autoloop/plugins/<仓库名>`。同名本机插件优先于内置插件,不自动更新。插件是可信代码,先读再装。
mediumDelivery pipeline can merge and deploy GitHub PRs automatically
Adding a 'deliver' label makes the hub review, merge and follow the deploy, using the machine's gh login. This is opt-in and the main-only config is guarded, but it acts on real repositories.
examples/skills/ship-pr/SKILL.md:11 - PR 打 `deliver` 后,插件审查只读文字快照,转 ready,等完整检查,核对提交和 main,写审查状态,合并并跟到 Ship 与健康版本一致。不启用自动合并。
mediumThird-party plugins run in-process and can shadow built-ins
`agent-autoloop add <git url>` clones arbitrary repositories into the plugins folder, and they execute when loaded. A local plugin with the same name overrides the built-in one, so a plugin named like a built-in agent such as claude or codex would replace it silently. The docs do warn users to read plugins before installing them.
docs/plugins.md:15 用 `agent-autoloop add <git 地址>` 安装到 `~/.agent-autoloop/plugins/<仓库名>`,也接受本地 Git 仓库。它只克隆,不装依赖、不跑安装脚本、不自动更新。加载时会执行插件,安装目录的同名插件优先。
Keep an eye on it
This check is of one commit. Watch claude-browser-handoff and we'll email you if a later commit changes what it can touch.
Made this? Add the badge
[](https://plugsday.com/tools/kkkkhazix-agent-autoloop)About this check
Checked November 5, 2026 at commit 5c371844408f, 212 files. Rules for known red flags, then two Claude reviews, one of them told to assume the author is malicious. A later commit hasn't been checked. How checks work.