Tailscale: tagging tag:grokbot drops the session; reconnect mints a new untagged device

オープン
#1,172 コメント 5 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
46/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
typescript

調査の方向性

Start with the Tailscale plugin in third_party/tailscale and trace how it authenticates and reconnects a device after its tag changes. Check the plugin docs and tailscale-setup skill for the documented tag:grokbot flow. Done means tagging no longer leads to repeated new, untagged devices, and the documented least-privilege grants work as expected.

索引モデルが issue の本文から書いたものです。

説明

Summary

On a personal Tailscale tailnet, applying tag:grokbot to the Grok Bot device immediately drops its session. Reconnecting via Authenticate mints a new device that is again untagged. Least-privilege ACL/grants that target only tag:grokbot therefore never take effect in practice.

Steps to reproduce

  1. Install/connect the Tailscale plugin so Grok Bot joins the personal tailnet (device appears, typically named like grokbot-user-…).
  2. In Tailscale admin, set device tags to tag:grokbot (with tagOwners allowing that tag).
  3. Observe the Grok Bot Tailscale session disconnects / device goes offline.
  4. Authenticate / Sign in again from Grok Bot.
  5. A new Grok Bot device appears on the tailnet — still untagged (owner access).
  6. Repeat: tagging again → disconnect → reconnect → another new untagged device.

Expected

Either:

  • tagging tag:grokbot keeps the same device online and tagged, so grants like src: ["tag:grokbot"] → MCP host:port work; or
  • reconnect after tagging re-joins as the same tagged device (or re-applies the tag automatically).

Actual

Tagging forces a disconnect; each reconnect creates a fresh untagged machine. The documented least-privilege path (tag:grokbot + narrow grants) is effectively unenforceable for personal tailnets. Workaround today is owner-access (untagged) plus host/IP grants, which is broader than intended.

Notes

  • MagicDNS names in grants were rejected as invalid in our policy; we used the Tailscale IP (100.x) instead — separate friction, may be worth documenting.
  • Plugin docs / tailscale-setup skill present tag:grokbot as the least-privilege path; this loop contradicts that.
  • Related but different: #774 (inbound to the box / node surviving resets).

Environment

  • Grok Bot Tailscale plugin (third_party/tailscale)
  • Personal tailnet (incremental.coach / *.ts.net)
  • Goal: reach a private MCP on the tailnet with grants limited to tag:grokbot
主要言語
TypeScript
スター
18.2k
フォーク
2k
平均マージ
3時間 56分
マージ済み PR(30日)
96

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cursor/plugins のほかの issue

cursor/plugins の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。