Skip to content

docs(legal): list the notices about Claude connections and Google codes - #87

Merged
kalaspuff merged 1 commit into
mainfrom
fctl/460-run-a-thorough-full-security-pass-of-the
Oct 29, 2026
Merged

kalaspuff merged 1 commit into
mainfrom
fctl/460-run-a-thorough-full-security-pass-of-the

Conversation

@fctl-sh

@fctl-sh fctl-sh Bot commented Oct 29, 2026

Copy link
Copy Markdown
Contributor

Summary

app.fctl.sh will email people when a Claude subscription is connected to their account, and when their Google sign-ins stop asking for a code. Both come from fixes in fctl's security pass. The privacy policy's list of the notices app.fctl.sh sends now names both, and its date moves to today. Merge it together with the two fctl pull requests that add those emails, which reach app.fctl.sh with the next release:

fctl session

app.fctl.sh will email people when a Claude subscription is connected to
their account, and when Google sign-ins stop asking them for a code
(hyperstructure/fctl#326, hyperstructure/fctl#327): the privacy policy's
list of the notices it sends names both.
@kalaspuff
kalaspuff merged commit 9904004 into main Oct 29, 2026
4 checks passed
@kalaspuff
kalaspuff deleted the fctl/460-run-a-thorough-full-security-pass-of-the branch October 29, 2026 16:39
kalaspuff pushed a commit to hyperstructure/fctl that referenced this pull request Oct 29, 2026
#326)

## Summary

Connecting a Claude token or a full Claude login makes it the person's
default at once, and a full login's Claude account sees the sessions
that run on it (Remote Control). With a stolen browser session or CLI
token, someone could connect their own Claude login to the victim's
account, with nothing to confirm and nothing said to the person, and
from then on watch and message every session the victim started, whose
agents hold the sessions' GitHub tokens and the projects' secrets, long
after the stolen token was revoked.

Connecting a Claude subscription is now a sensitive action
(`Sensitive::ConnectClaude`), whether with a token, a sign-in through a
host, or the token kept on one's runners. The web app and the CLI
already confirm such actions with a passkey or a code where the instance
asks for it. A new connection also emails the person when email is set
up, saying what was connected, as a best effort that never fails the
connection. Verified in `cargo xtask dev`: with confirmation on and an
authenticator app, an unconfirmed access token gets
`verification_required` for a token, a sign-in and a runners token, and
connects once it confirmed with a code.

The privacy policy lists the new email in:

- hyperstructure/fctl-site#87

The other fixes from the same security pass:

- #325
- #327
- #328
- #329

## Worth confirming

- **Decision:** like every sensitive action, this asks only where the
primary instance owner turned on confirming it's you, which is off by
default; elsewhere the email is what tells the person.
- **Decision:** choosing the default connection, or a workspace's, stays
unconfirmed: it only chooses among connections the person already has.

[fctl session](https://app.fctl.sh/s/ses_01M62HVCXZDZV6GJJP8DDQGDFF)

---------

Co-authored-by: fctl-sh[bot] <343971779+fctl-sh[bot]@users.noreply.github.com>
kalaspuff pushed a commit to hyperstructure/fctl that referenced this pull request Oct 29, 2026
…ds (#327)

## Summary

A few ways in outlived what should have ended them, or got past a second
factor:

- An address's allowlist entry kept the admin role after its account
disconnected the address, while demoting or deleting the account only
touched the addresses it still had. An admin could disconnect the
address they were invited with and, once demoted or deleted, sign up
with it again through Google, which needs no invitation, as an admin.
Disconnecting an address now turns its admin entry into a member's.
- Signing up with an admin's invitation gave the admin role even when
the allowlist now admitted the address only as a member. The role is now
the lower of the two, and an admin's invitation makes an earlier
invitation's member entry for its address an admin's, which revoking it
takes back. An admin invitation's entry also used to stay an admin's
after the invitation ran out unused, so a Google sign-up still made an
admin; the hourly job now makes it a member's.
- A password reset link kept working for its hour after the address it
went to left the account. Disconnecting an address now uses up the
account's waiting links.
- A CLI sign-in the person had approved, but that no CLI had picked up
yet, still signed a CLI in after a password change or reset revoked
their tokens. Revoking someone's tokens now refuses those codes too.
- Outside a fresh sign-in, adding a passkey took the password, even on
an account with an authenticator app, and setting up a first app took
the password on an account whose passkeys are its second factor: a
stolen session with the password, as malware that steals browsers'
cookies and saved passwords has together, could add a way in past the
second factor. Both now take what a sign-in with the password takes: the
app's code where there is an app, a fresh sign-in where passkeys are the
second factor, and the setup form says so when it asks for that sign-in.
- Turning off your own "ask for a code on Google sign-in" took a session
alone. It is now the same sensitive action as the instance's setting,
and emails the person.
- A setup that lost a concurrent race no longer leaves an admin's
allowlist entry for its address.

Verified in `cargo xtask dev`: disconnecting an address with an admin
entry leaves a member's entry and uses up a reset link; an approved
device code polls as denied after a password change; an admin invitation
signs up an admin, and one whose address is now allowed as a member
signs up a member; an account with an authenticator app is asked for a
code, not its password, to add a passkey; and an unconfirmed token can't
turn off Google codes where confirming is on. Unit tests cover setting
up a first app.

The privacy policy lists the new Google codes email in:

- hyperstructure/fctl-site#87

The other fixes from the same security pass:

- #325
- #326
- #328
- #329

## Worth confirming

- **Decision:** disconnecting an address makes its admin entry a
member's rather than deleting it, so the address can still sign up as a
member, as demoting an admin already leaves it.
- **Decision:** disconnecting an address uses up all the account's
waiting reset links, since fctl doesn't record which address each one
went to.
- **Decision:** inviting an address as an admin while an entry an admin
added by hand allows it as a member is refused until that entry is
removed, rather than changing the hand-made entry.
- **Decision:** an admin's invitation that runs out unused leaves its
address allowed as a member, not an admin: whoever signs up with Google
afterwards is a member until promoted.
- **Decision:** adding a passkey on an account with an authenticator app
takes a code from the app instead of the password, outside a fresh
sign-in.

[fctl session](https://app.fctl.sh/s/ses_01M62HVCXZDZV6GJJP8DDQGDFF)

---------

Co-authored-by: fctl-sh[bot] <343971779+fctl-sh[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant