Skip to content

Security: abm9111/tailkeeper

SECURITY.md

Security

tailkeeper gives agents read access to a Tailscale tailnet, so a defect in it can expose that tailnet. Please report one privately.

Credential file references

All credential file: references, OIDC tokenFile inputs and privacy-key file references use the same checked reader as the primary credential file. It refuses symbolic links (on Windows, any reparse point), replaced or non-regular files and files larger than 1 MiB, bounds the read, and checks descriptor metadata again after reading. Hard links are not detected: a second name for a private file is read as the file, and only a process that runs as the same user can make one, so it belongs to the same-user concern below. On Unix the file must be owned by the current user or root, with owner-only permissions; its immediate directory must be owned by the current user or root and not writable by group/others. This is not protection from same-user code or root.

A file: reference and an OIDC tokenFile name an absolute path. A relative one is refused (config_invalid, or privacy_key_unavailable for the privacy key) before anything is read, because it would be read from whatever directory tailkeeper happens to run in, which the owner did not choose.

Shared-readable container secret mounts that previously worked through file: must use a private regular copy/mount or the exec secret-provider path. There is no unchecked fallback. On Windows the existing reader checks regular-file identity and rejects reparse points, but does not enforce owner/ACL privacy or Unix change-time checks. Windows confidentiality needs separately configured OS permissions; this change does not claim a hardened Windows deployment.

Reporting a vulnerability

Use GitHub's private vulnerability reporting: the repository's Security tab, then Report a vulnerability. If the tab shows no form, open an issue that only asks for a private contact. Do not put details in an issue or pull request.

Include the version (tailkeeper version), the command or MCP call, what happened and what you expected. Leave out credentials, tailnet IDs, device names and addresses; if more is needed, you will be asked.

What happens next

  • An acknowledgement within 7 days.
  • An assessment, and a fix or a plan for one, within 30 days of the acknowledgement.
  • A fix ships as a patch release, with a line in CHANGELOG.md and a GitHub security advisory (and a CVE where one applies), crediting you if you want.
  • Coordinated disclosure: please keep the details private until the fix is released, or for 90 days after your report, whichever comes first. If a fix needs longer, we will say why and agree a date with you.

Safe harbour

Research done in good faith, on tailnets and accounts you own or are authorised to test, that avoids privacy violations, data destruction and service disruption, and that is reported as described here, is welcome. We will not pursue or support legal action against it. Do not test against tailnets you do not own.

Supported versions

Only the latest release receives fixes.

What counts

  • Any path by which a credential, or an OAuth or JWT token, reaches tailkeeper's output, logs or audit log.
  • Text from the tailnet (names, tags, comments, messages) that escapes the escaping, the size caps or the untrusted marking, or that a model is shown as tailkeeper's own words.
  • A way past the tripwire that withholds key- and JWT-shaped output.
  • Any way to change a tailnet through a release that is documented as read-only, including any API request other than GET, POST .../acl/validate and the credential's token request.
  • An audit log that misses a call without the warning tailkeeper prints when the log is unavailable, or that records a value instead of metadata.
  • With the default "personalData": "mask", a login name, display name, email address, tailnet ID or public IP address returned whole in a field docs/tools.md lists as masked, or an email address or public IP address in other text from the tailnet or in the error message of a tool call, unless the field is listed as never masked. In the fields listed as having their email addresses masked (the policy text and acl_test's reasons), an email address returned whole counts, and so does the ETag, size or SHA-256 of the unmasked policy.

Key- and JWT-shaped text in a result is always the tripwire's, so it is withheld or replaced; the audit_log preview cut is a best-effort one for every other shape, so a credential that shows through a shape listed under Known limits below is a known limit, and any other path still counts.

Known limits, not vulnerabilities

These are known limits of this source tree; the credential-file boundary above is unreleased. tailkeeper doctor reports some of them:

  • Personal mode runs as your user: code that runs as you, including an agent with an unsandboxed shell, can rewrite tailkeeper's configuration and audit log.
  • Configuration and credential files use no-follow opening and compare captured/opened identity and metadata. Credential files also enforce Unix owner/private-mode checks on the opened descriptor, use bounded reads and compare metadata after reading. Only the immediate directory is checked, and it is looked up by name after the open (a stat of the parent path), not through the descriptor: the file's own owner and mode are judged on the open descriptor, but a process running as you or as root that swaps an ancestor directory between the open and that lookup can have the directory judged differently from the one the file was opened in. That narrows a swap race; it does not close it, and such a process could rewrite the file anyway, as the first limit says. Same-user/root modification remains outside personal-mode protection. General configuration reads retain their existing pathname-based policy checks and limits.
  • Windows opens reject reparse points and compare captured/opened file identity, kind, mode, size and modification time. Ownership/ACL confidentiality and Unix change-time checks remain unavailable; see docs/windows.md. Symlink/reparse rejection does not establish a hardened deployment.
  • The audit log is a plain SHA-256 chain: it detects damage and naive edits, not a writer who recomputes the chain.
  • On Windows the audit log has no lock between processes. The appends of one tailkeeper process are serialised in memory, so one MCP server's parallel calls keep the chain, but two tailkeeper processes appending at the same moment (for instance tailkeeper doctor while the MCP server runs) can write two lines with one sequence number. tailkeeper audit verify then reports a break although nothing was altered, and since tailkeeper audit rotate is refused on Windows, the way on is to stop every tailkeeper process and move the log aside; the new log is not linked to the old one. docs/windows.md lists the other differences of the Windows build.
  • tailkeeper audit verify checks that the lines present chain correctly. It cannot tell that lines were removed from the end of the log, that the log was deleted and started again, or that an archive was deleted: a missing archive is reported as not checked, with a warning on standard error, and audit verify exits 0, because it cannot tell deletion from retention. A read whose line cannot be written (the lock held for more than 2 seconds, an unreadable log, a full disk) is not recorded, and tailkeeper warns on standard error. tailkeeper does not log its own start-ups or configuration changes.
  • The value previews of the audit_log tool (the tailnet's configuration audit log; includeValues) are a best-effort cut, not a guarantee. Only an http or https URL is cut to its host, and only with its slashes written as /, \/ or \u002f and its colon as : or \u003a: a URL with no scheme, with another scheme (ftp://, slack://), or with its slashes written another way (%2F, \x2f, a doubled backslash) is shown whole. Values under credential-named keys are removed (true, false and null stay), but a list of name and value pairs ({"name":"Authorization","value":…}) is not redacted, since its keys are name and value. Text in a string value that is neither JSON nor HuJSON (a truncated or doubled document, a document with other text before or after it, key=value pairs) stays as written. The pattern that recognises credential names also matches inside longer names (tokenCount, secretary), so it removes some values that are not secrets.
  • Masking personal data is a best effort over text and has stated gaps: device names and hostnames are not masked as personal names are (an email address or a public IP address inside one is masked like any text), configuration fields such as DNS resolvers and routes stay whole, names written in free text, and addresses in the unusual spellings that the bullet on them below lists as not read, are not found, and acl_test takes a user by pseudonym only: a typed login in its source or in a destination, an SSH destination included, is refused (filter_refused) while masking is on. An SSH user is an account name and is not held to that rule, so a rule written localpart:*@domain could let SSH users guessed in one call read the local part of a masked login off the verdicts (whether Tailscale evaluates such a rule in an SSH test has not been observed); when the source is a pseudonym, each distinct SSH user of a call takes one validation token (acl.validatePerMinute a minute), so the guesses stay at the rate of that limit. acl_validate is not metered that way: the sshTests of a proposed policy with a pseudonym source take one token per request however many users they name, so the same guesses, if Tailscale evaluates such a rule, run faster there. A reply that volunteers a bare local part of a login the call resolved is masked where it stands alone, except for a word the call itself typed, which is shown as typed. Pseudonyms appear in results only: an error message, acl_test's reasons, and what acl_test shows of the text it was given (an SSH user, a destination, a protocol) are masked without one, since a pseudonym beside a guess would confirm it. While masking is on, filters that would confirm a guessed value are refused (filter_refused), and audit_log's digests of old and new values are keyed under the privacy key or left out without one. In the policy file only email addresses are masked: host names, tags, groups, SSH users, addresses and comments stay whole, and so does the name of a synced group, which is written like an address (group:engineering@example.com, after a space, a quote, an opening bracket or a separator; one with a space in it is masked from the space on, and a group is masked as an address when its name is quoted, escaped or holds = or ?, when it is glued to the word before it, when it is written after //, or when it is followed by another address; an at sign written as %40 or a JSON escape keeps the name whole). With a privacy key, a [p: that the policy holds, in a comment or a name, is shown with its bracket spelled out, so that a marker on the page is one tailkeeper appended. The refusal of a typed login also covers the strings of a policy proposal or patch that acl_validate is given over MCP, comments excepted, and a text that acl_diff is given over MCP; srcPostureAttrs names are not logins and are not held to it. A file the operator names, standard input and the invariants file are the operator's own documents: their logins are accepted and shown masked without pseudonyms. acl_test and acl_validate send a test or a policy to POST .../acl/validate, which changes nothing, as does doctor --probe with the live policy, a canary and two synthetic documents, and an SSH test goes out with a canary, a test that must fail: a missing canary is unknown, never a pass. A known limit: a bare local part shorter than two bytes is not masked, and a local part of a login this call did not resolve is left whole, because masking reads whole logins.
  • Masking reads email addresses written with @, its JSON escape and %40 (and in the other spellings of the bullet on unusual spellings below), with a quoted local part ("amy"@example.com, and \"amy\"@example.com in JSON text, become a…@example.com, with the pseudonym of amy@example.com: a quoted word, which may hold a space, is read back to its opening quote on the same line when it ends at the at sign or before a full stop of the local part, and an empty one, or one with no opening quote on the line, is not read, so ""@example.com is shown as written; a quote of one kind closes a word that the other kind opened, so \"amy"@example.com also becomes a…@example.com), and IP addresses in their usual written forms. The name of a synced group (group:engineering@example.com, where group: begins a word) is left whole wherever masking runs, in the policy, in free text and in error messages, not only in the policy file. An address is read at the end of a run of hex digits, letters a to f, colons and full stops, however the run begins: right behind a label that ends in a hex digit or a letter (ipv6:2001:db8::1, eth0:2001:db8::/48), behind any name, word or number and a full stop (eth0.203.0.113.7, a1.203.0.113.7, host-1.203.0.113.7, ipv6.2001:db8::1), and behind a percent-encoded or backslash-escaped character (%20203.0.113.7, %5B2001:db8::1, x\x52.94.236.248). The digits after such an escape may be the escape's or the address's, so the text is read both ways, and masked if either reading holds a public address; a backslash and x or u is an escape even before a tailnet address (\xfd7a:115c:a1e0::1 is cut). A public IPv4 address that ends a run is masked whatever precedes it, unless the run is one longer IPv6 address that is not public (fe80:2001:4860:4860::8888 is a link-local address, and shown as written, with a colon and a port after it as well). An IPv6 address may end in :: before full stops or colons (2001:db8::. becomes 2001:db8::/48.), and may be followed by a port after a full stop, as tcpdump writes it (2001:db8::1.443 becomes 2001:db8::/48.443), or after a colon (2001:db8::1:41641 becomes 2001:db8::/48:41641, 2001:db8:::443 becomes 2001:db8::/48:443, and 2001:db8::10.0.0.53:19 becomes 2001:db8::/48:19). The run is read whole first, so a colon and up to four digits are one more group of the address where the two make an address (2001:db8::1:4164 becomes 2001:db8::/48), and the port only where they do not. An IPv6 address may also be followed by a full stop and a word or numbers, which the run of address characters takes in when they start with a letter from a to f or are digits (2001:db8:abcd::9e8f.Error becomes 2001:db8:abcd::/48.Error, 2001:db8:abcd::9e8f.5.6 becomes 2001:db8:abcd::/48.5.6, 2001:db8::1.dead:443 becomes 2001:db8::/48.dead:443, and an address of eight groups before an IPv4 address or another address, 2001:db8:abcd:b3a7:c9d1:e2f4:a5b6:9e8f.5.6.7.8 and 2001:db8:abcd:b3a7:c9d1:e2f4:a5b6:9e8f.dead::1, become 2001:db8:abcd::/48.5.6.7.0/24 and 2001:db8:abcd::/48.dead::/48): when nothing else reads the run, and it holds no public IPv4 address to mask first, it is tried as ending before the first full stop after its last colon, and before the first after its first colon. A colon and a port before that full stop are cut off with it (2001:db8:abcd:b3a7::9e8f:41641.example.com becomes 2001:db8:abcd::/48:41641.example.com). An address of eight groups has no :: of its own, so it is cut before a port that follows :: (2001:db8:abcd:b3a7:c9d1:e2f4:a5b6:9e8f::41641 becomes 2001:db8:abcd::/48::41641) and before a full stop and a word or numbers that make no public address (2001:db8:abcd:b3a7:c9d1:e2f4:a5b6:9e8f.A0.0.0.0 becomes 2001:db8:abcd::/48.A0.0.0.0). A tailnet or link-local address that is all there is to its run is shown as written with its port as it is without (fd7a:115c:a1e0::1:41641); behind a label that ends in a hex digit or letter, or behind an escape, the text before the address and its first groups can be read as another address, which is masked while the port stays as written (dead:fd7a:115c:a1e0::1:41641 becomes dead:fd7a:115c::/48:41641, ipv6%fd7a:115c:a1e0::1:41641 becomes ipv6%fd7a:115c:a1e0::/48:41641, and \xfd7a:115c:a1e0::1:41641 becomes \xfd7a:115c:a1e0::/48:41641). An address of eight groups that ends its run, or that a port follows, is also cut after a prefix that ends in :: (peer::2001:db8:abcd:b3a7:c9d1:e2f4:a5b6:9e8f becomes peer::2001:db8:abcd::/48; with more groups after the eight the run is read as a whole, as the bullet on masking's errors says, and with a second :: it is no address; and an address of eight groups, a full stop and a word or numbers, then :: and eight groups more are two addresses, the front read first: 2001:db8:abcd:b3a7:c9d1:e2f4:a5b6:9e8f.5.6::2606:4700:4700:1111:aaaa:bbbb:cccc:dddd becomes 2001:db8:abcd::/48.5.6::2606:4700:4700::/48), and when another is glued on in front of it with nothing between (2001:db8:abcd:b3a7:c9d1:e2f4:a5b6:9e8f2001:db8:abcd:b3a7:c9d1:e2f4:a5b6:9e8f becomes 2001:db8:abcd::/482001:db8:abcd::/48). An IPv4 address followed by colons is an address and the text after it (8.8.8.8::443 becomes 8.8.8.0/24::443), and so is a number after a slash that follows an address, whatever precedes the address (1.1.1.1/8.8.8.8, eth0.203.0.113.7/8.8.8.8, %20203.0.113.7/8.8.8.8), unless the slash follows text that ends in .0, as the networks masking writes do, or in :: with a prefix length of 48 or 40: there the number begins with a prefix length (10.0.0.0/8.8.8.8 is shown as written), which is read as the bullet on masked text below says.
  • Masking reads a dotted number, which is numbers that single full stops join, for every four consecutive parts that make a public IPv4 address, wherever they sit in it. It reads a number of five parts or more, or of four whose first part is no octet, from the left: the first four parts that make a public address are masked by replacing the fourth with 0/24, the count goes on after it, and the parts left over are shown (203.0.113.7.443 becomes 203.0.113.0/24.443, 8.8.8.8.1 becomes 8.8.8.0/24.1, 1.2.3.4.5.6.7.8 becomes 1.2.3.0/24.5.6.7.0/24). A part is an octet when it is at most 255 and has no leading zero; four parts that include a part that is not make no address (8.8.8.256.1 and 8.8.008.8.1 are shown as written). A first part that is no octet stands for its last one to three digits, since a name's, an escape's or another number's digits run into it (1238.8.8.8, ipv6.198.51.100.231); behind an escape it stands for the digits after the escape's and for the longest octet it ends in, and for no other. Four parts that begin with 0 make no address, since 0.0.0.0/8 locates no one (eth0.203.0.113.7 becomes eth0.203.0.113.0/24; 0.8.8.8.5 becomes 0.8.8.8.0/24, because its last four parts are an address). A name that ends in another digit makes an address with the first three parts after it, and the window that holds both is cut at its third part (ens5.203.0.113.7 becomes ens5.203.0.0/24.7).
  • Masked text is read again, until it no longer changes and at most four times, because masking can make a new run of text (123. and the 8.8.8.0/24 that ::ffff:8.8.8.8 is cut to make a number that holds an address again). The prefix length after a network that masking wrote is its own (203.0.113.0/24198.51.100.0/24 is two networks). After text that ends in .0 a number begins with a prefix length of one or two digits up to 32, and what follows the prefix length begins the next number (203.0.113.0/24198.51.100.231.443 becomes 203.0.113.0/24198.51.100.0/24.443); two digits above 32 are no prefix length, and the number is read as an address (1.2.3.0/88.9.9.9 becomes 1.2.3.0/24/88.9.9.0/24).
  • A result shows at most 1,024 bytes of an untrusted string, and masking and credential redaction read only the first 64 KiB of it, not all (a string of megabytes costs what 64 KiB costs; it once allocated 84 times its size). The part they read ends before the last space, tab, comma, parenthesis, angle bracket, closing square bracket or line end of those 64 KiB, so an address, an email address or a credential that the end of the window runs through is dropped whole and is never shown half-masked; a double quote earlier on a line withholds the rest of that line's cut points, since a quoted local part may hold a space. A string of 64 KiB or less is read whole and shown as before. For a longer one the result shows the notice ...[truncated] after the part it read; the notice alone when the window holds none of those bytes (64 KiB with no space, comma, bracket or line end); and less than 1,024 bytes of it when the part masks to less (a very long local part is replaced by one character), where the whole-string pass would have shown text after it. The same window bounds credential redaction when personalData is show. A field that holds a multi-line document (the policy text) is capped at 16 MiB and read whole.
  • Masking also reads unusual spellings of an IPv4 address and of an at sign in free text (not in the policy text, nor in a field that masks email addresses only), before it reads the usual ones. A number of four parts with a hexadecimal part (0xCB.0x00.0x71.0x07), with a leading zero after the first part (203.000.113.007, 0313.0.0161.07, 010.010.010.010) or with full-width digits or full stops (8.8.8.8, 8。8。8。8) is read as inet_aton and a URL parser read it: a part with a leading zero is octal, or decimal when it has an 8 or a 9, and the number is masked when either reading is a public address, as the network of the octal reading when both are (a zero in front of the first part is read as glue, as before). A number of two or three parts with a hexadecimal part (0xCB.0x007107) is read as the address it denotes. A number alone, in any spelling, or of fewer than four parts without a hexadecimal part, is read only as the host of a URL: right after // and ending at the end of the text or at a character that ends a host (http://134744072/, http://203.0.28935/, http://0xcb007107/). A public address is written as that address in dotted decimal and masked as a plain one is, to its network (0xCB.0x00.0x71.0x07 and 0xCB.0x007107 become 203.0.113.0/24), and a prefix length after it is read as it is after a plain address: a narrower one is cut to the network and a wider one loses its host bits (0x8.0x8.0x8.0/32 becomes 8.8.8.0/24, 010.010.010.0/7 becomes 8.0.0.0/7), so nothing of the spelling or of the host part is left. A private, tailnet, loopback, link-local or multicast address, or one in 0.0.0.0/8, is shown as written (0300.0250.01.01 is 192.168.1.1). Not read, because nothing tells it from an epoch time, a size, a version or a date: a number alone, decimal or hexadecimal, or in two or three decimal parts, outside a URL host (3405803783, 0xcb007107, 8.8.2056, and so 1.27.3 and 31.10.2026); a number glued to a letter, a digit, an underscore or a full stop before it (ip0xcb007107, host.0xcb007107), or to a letter, a digit or an underscore after it; a number of more than four parts, a part of more than twelve digits or a hexadecimal part of more than eight; and digits of another script (Arabic-Indic, say). This errs toward masking in one way: a zero-padded date or time of four parts is read in octal and decimal. A Windows error code or a magic number (0x80070005) is a bare hexadecimal number and stays readable. An at sign written @, @ (in either case, with any leading zeros), @, as the full-width at sign (U+FF20) or as the small commercial at (U+FE6B) is read as @ where it stands between the end of a local part and the start of a domain (alice@example.com, alice@example.com, alice@example.com, alice@example.com), is the same address for its pseudonym, and is shown as @ where the address is not masked (the name of a synced group). Not read: an at sign written [at], (at) or at, a reference without its semicolon (&#64), and other look-alikes of the at sign.
  • Masking does not recognise an address whose own colons or full stops are written as escapes (2001%3Adb8%3A%3A1), an IPv6 address whose last group ends in the digits that an IPv4 address begins with (2001:db8::a11.1.1.1 becomes 2001:db8::a11.1.1.0/24: the IPv4 reading is the one masked), an IPv6 address that follows a colon and a full stop in its run and is followed by a full stop, a word and a colon (a:b.2001:db8::1.dead:443: its end would lie between two full stops), an IPv6 address followed by two full stops and a tailnet IPv4 address with digits glued on (2606:4700:4700::1111..100.101.102.103100.101.102.103: the kept address makes the run kept), an IP address written with dashes inside a host name (ec2-203-0-113-7…), or reverse-DNS names (7.113.0.203.in-addr.arpa, b.d.0.1.0.0.2.ip6.arpa), whose digits are read as the address they look like, not the one they spell. A run that holds two :: is no address, and an address in it can be missed (2001:db8::1::1100.101.102.1031.1.1.1 is shown with its first address, and only the last four parts cut). A run of dotted numbers after an address and a full stop is masked along with the address when it has six parts or fewer. A longer run can leave the address whole, and cuts only an IPv4 address that the run ends in: 2001:db8:abcd:b3a7::9e8f.710.0.0.10010.10.10.0 and 2001:db8:abcd:b3a7::9e8f.0.0.0.0.0.0.0.0 are shown as written, and in 2001:db8:abcd:b3a7::9e8f.10.0.0.256.0.0.0, 2001:db8:abcd:b3a7::9e8f.10.10.10.10.10.8.8.8.8, 2001:db8:abcd:b3a7::9e8f.0.0.0.0.0.0.0.0.8.8.8.8 and 2001:db8:abcd:b3a7::9e8f:41641:.0.0.0.0.1.0.0.0 only the last part is replaced by 0/24. When a prefix and the first of the eight groups are a public address of their own, and a ninth group of up to four hex digits follows (a port, say), the prefix is cut and the address is read from its second group, so its second to fourth groups show (dead::2001:db8:abcd:b3a7:c9d1:e2f4:a5b6:9e8f:ab becomes dead::/48:db8:abcd:b3a7::/48). An address of eight groups and a colon and a last group of five or more hex digits that are not all digits is shown as written, after a prefix too, since the last group is no port and no group of an address (2001:db8:abcd:b3a7:c9d1:e2f4:a5b6:9e8f:abcde and x::2001:db8:abcd:b3a7:c9d1:e2f4:a5b6:9e8f:abcde); five digits or more are a port (2001:db8:abcd:b3a7:c9d1:e2f4:a5b6:9e8f:41641 becomes 2001:db8:abcd::/48:41641). It keeps an IPv4 address embedded in an IPv6 one (64:ff9b::203.0.113.7) when that literal is all there is to its run of hex digits, letters a to f, colons and full stops (a colon or full stop after it, a name and a full stop or a colon before it, or hex digits or an escape's digits before it make it part of a longer run, and the IPv4 address is masked: dead64:ff9b::8.8.8.8 becomes dead64:ff9b::/48), and the keys of the two output maps that hold untrusted text (customClaimRules and metric labels, which hold claim and label names); text in those forms is shown as written.
  • Masking also errs the other way, since a version or an identifier cannot always be told from an address: four dotted numbers that form a public address are masked (6.5.0.14 becomes 6.5.0.0/24), and so are four parts anywhere in a longer number (v1.80.2.1.5 becomes v1.80.2.0/24.5, 1.2.3.4.5 becomes 1.2.3.0/24.5, the OID 1.3.6.1.2.1.1.5.0 becomes 1.3.6.0/24.2.1.1.0/24.0, a date written 2026.10.13.5.6 becomes 2026.10.13.0/24.6), because a name, a full stop and an address (eth0.203.0.113.7) look the same. So is a private address next to an escape that its digits make public (%2210.0.0.53 becomes %2210.0.0.0/24), and so is a private or tailnet address that shares a part with a public window (ipv6.100.101.102.103 becomes ipv6.100.101.0/24.103, 1.2.3.100.64.0.1 becomes 1.2.3.0/24.64.0.1). So is a run of colon-separated numbers that ends in a number after the eight groups of an address, whatever else it is (dead:1:2:3:4:5:6:7:8 becomes dead:1:2::/48:8: the first eight groups are the address and the last number its port). So is a run of sixteen groups, which is read as one address of eight with the second eight after it, and cut to the first eight's network, so the second address is hidden too (2001:db8:abcd:b3a7:c9d1:e2f4:a5b6:9e8f:2606:4700:4700:1111:2222:3333:4444:5555 becomes 2001:db8:abcd::/48). Device names and hostnames are not masked as personal names are, though an email address or a public IP address inside one is masked like any text, and filters and lookups on a name read what a result shows.
  • The secret tripwire is a backstop that recognises two shapes only: a Tailscale key (tskey-api-, tskey-auth-, tskey-client-, tskey-scim-, tskey-webhook- or tskey-app-, in lower case) and a JSON Web Token written with all three segments (eyJ and ten or more characters of A-Z, a-z, 0-9, - and _, a full stop, the same again, a full stop, and ten or more characters). It does not catch any other credential format (another vendor's key, a password, a signing secret, an OAuth client secret without the tskey-client- prefix, a token without a signature), which the typed output allowlist keeps out of results and the tripwire cannot.
  • Errors raised before a tool runs (an unknown command, a mistyped flag, an unknown MCP tool name) repeat what the caller typed, escaped but not masked; they hold no text from the tailnet.
  • Pseudonyms are deterministic: the same value has the same pseudonym every time. A tailnet member who can write free text the agent reads (a device or target name, say) and can see the agent's output can therefore plant a guess at someone's address and compare the pseudonym that appears beside it with another. That is inherent to stable pseudonyms; it is why the privacy key must stay secret, and why a pseudonym is shown only for values tailkeeper masked itself. A pseudonym-shaped marker shown in acl_test's reasons, or in a field kept unmasked as configuration, was not necessarily written by tailkeeper, since only masked free text and the policy text of acl_get have forged markers rewritten.

There aren't any published security advisories