Shared-Machine Logout Automation: The Account That Never Actually Left

A convenience feature and a shared browser are a specific combination worth testing deliberately
A multi-account switcher exists specifically to make it convenient for one browser to hold onto several people's saved sign-ins at once — genuinely useful on a person's own private device, switching between their own multiple accounts. The exact same convenience becomes a real privacy question the moment that browser is SHARED — a kiosk, a front-desk computer, a borrowed laptop — because the feature's entire premise (remembering an account so it's there next time) is precisely the behavior that needs to stop, deliberately and completely, the moment that specific account's own person is genuinely done using that shared machine. A feature can be correctly built for its own primary use case and still leave exactly this gap for the secondary, shared-device case, if logging out was never specifically tested against a browser holding more than one saved account.
How the underlying problem shows up before you fix it
A logout action correctly ends the departing person's own active session, but a SEPARATE piece of locally-cached state (a saved-account list, a 'remember this device' entry) referencing that same person is left completely untouched — the session ends, but the account's own footprint in the browser does not.
A cookie or locally-stored value records CONTEXT (which organization, which workspace, which tenant) a person was actively viewing, and that context-recording value is never explicitly cleared on logout — meaning the NEXT person to authenticate on that same browser inherits the previous person's own last-viewed context by default, rather than starting from a genuinely neutral state.
The defect is completely invisible on a person's own private, single-user device, where nobody else would ever open that browser and encounter either the stale cached account entry or the inherited context — the gap activates specifically, and only, on a machine genuinely shared between more than one person.
A fix for this class of defect needs to distinguish REMOVING one specific thing from CLEARING everything — a full wipe of all locally-saved accounts on logout would incorrectly discard OTHER people's legitimately saved sign-ins on the same shared browser, an overcorrection at least as disruptive as the original gap.
An API route managing session or context state relies on a cookie's own same-site attribute as an IMPLICIT defense against a cross-site request forcing an unwanted action — a real, genuine protection, but one that benefits from an EXPLICIT, second check (confirming a request's stated origin matches its actual host) precisely because relying on exactly one layer of defense leaves no margin if that one layer is ever misconfigured or bypassed.
Why a shared-device gap is easy to miss when testing focuses on one user at a time
Testing a logout flow by signing in as one person, then logging out, and confirming that person's own session correctly ends is a natural, thorough-feeling way to verify the feature — and it produces a completely correct result for exactly that scenario. The gap this specific class of defect lives in only becomes visible when a SECOND, different person is deliberately introduced into the same test: does the browser now show any trace of the first, departed person's account? Does the second person land in their OWN correct context, or the first person's? Those are meaningfully different questions from "did my own logout work," and a test plan built around one account at a time has no natural opportunity to ask them.
How Centriu Helix made logout mean nothing was left behind for the next person
A dedicated internal audit of Centriu Helix's own logout flow, conducted on a shared browser scenario specifically, found two related gaps. First, Helix's multi-account switcher — designed to let one browser conveniently hold several saved accounts — never removed the departing account's own cached entry, including personal information and locally-held authentication tokens, when that specific account logged out; the entry remained listed in the switcher exactly as before, as if that person were still available to resume their session with one click. Second, the browser cookie recording which organization a person was actively viewing (the same cookie this pillar's companion page on Centriu Helix's organization-resolution hook describes introducing) was never explicitly cleared when logging out — meaning the very next person to open Helix in that same physical browser, even a genuinely different, properly-authenticated person, could silently inherit whichever organization the PREVIOUS person had last been viewing as their own default context.
The fix is deliberately targeted rather than total. On logout, the system captures the departing person's own identifier before their session is revoked, then evicts specifically that one account's own entry from the local multi-account switcher — never calling a blanket clear-everything operation, which would incorrectly discard any OTHER people's legitimately saved accounts sharing that same browser. Separately, and unconditionally on every logout regardless of the multi-account switcher's own state, the organization-context cookie is explicitly cleared server-side, ensuring the next person to authenticate on that browser starts from a genuinely neutral state rather than inheriting anyone else's prior context.
A related, independent hardening landed in the same change: the same underlying API route that reads and writes the organization-context cookie now also performs an explicit check, when a request carries an Origin header, confirming that header's host genuinely matches the request's own Host header — rejecting the request outright with an explicit "forbidden origin" response if the two disagree. This adds a direct, explicit defense against cross-site request forgery on top of the cookie's own existing same-site attribute, which already provided meaningful but implicit protection; the explicit check is deliberately permissive when a request carries no Origin header at all, since a genuine same-origin request can legitimately omit one.
What is actually built today
Logging out of Centriu Helix evicts specifically the departing account's own entry from the local multi-account switcher — including its cached personal information and locally-held tokens — never a blanket wipe that would also remove other people's legitimately saved accounts on the same shared browser.
The browser cookie recording an active organization context is explicitly cleared, server-side, on every single logout, regardless of the multi-account switcher's own separate state.
The next person to authenticate on a previously-used shared browser starts from a genuinely neutral organization context, rather than silently inheriting whichever organization the prior person had last been viewing.
The API route governing the organization-context cookie now explicitly verifies that a request's stated Origin, when present, matches its own Host header — rejecting a mismatch outright as a direct, explicit defense against cross-site request forgery.
Both fixes are specific to Centriu Helix's own logout and organization-context handling and were verified together as part of the same dedicated shared-browser audit.
The account that stayed, and the context that carried over (illustrative framing of the actual confirmed mechanism)
Before the fix, a person logging out of Centriu Helix on a shared computer would see their own session correctly end — but their account remained listed in the multi-account switcher, and the next person to sign in on that same browser could land directly inside the previous person's own last-viewed organization by default. After the fix, logging out removes exactly that one account from the switcher, and the next person to authenticate on the same browser starts from a clean, neutral context, correctly scoped to their own actual organization from the first screen onward.
What changes operationally
Logging out of Centriu Helix on a shared browser now removes the departing account's own cached entry from the multi-account switcher and clears the active-organization cookie unconditionally, closing a gap where the next person to use that same browser could see a previous account still listed and could silently inherit that person's own last-viewed tenant context — with an additional explicit Origin/Host check now hardening the same underlying API route against cross-site request forgery.
When this is not the right fit
This automation covers specifically what a shared browser retains after someone logs out of Centriu Helix — local account caching and tenant-context state, not session validity itself. It is a distinct mechanism from this pillar's separate wave 89 page on logout not revoking the underlying SERVER-SIDE session (a `local`-scope sign-out call) — this page's gaps are entirely about what a browser keeps locally after a session HAS already ended correctly, a different layer of the same broader logout flow.
A full local wipe vs. a targeted eviction of one specific account
Clearing every locally-saved account on any logout is the simplest possible implementation, and it would technically close the specific gap this fix addresses — but at a real, disruptive cost on any shared browser genuinely holding more than one person's legitimately saved account: everyone else's saved sign-in would be discarded too, the moment any ONE of them logged out. Evicting only the specific account that is actually logging out, identified before its own session is revoked, is the only version of the two that closes the privacy gap for the departing person without imposing an unrelated inconvenience on everyone else sharing that same browser.
Related systems
Main system: Centriu Helix.
What it does NOT do
- Does not change session validity itself — this fix addresses what a shared browser retains LOCALLY after a logout, not whether the underlying server-side session is correctly revoked (see this pillar's separate wave 89 page for that distinct mechanism).
- Does not remove or affect any OTHER account's own saved entry in the multi-account switcher on a shared browser — the fix specifically evicts only the account that is actually logging out.
- Does not claim this closes every possible way a shared or public browser could retain traces of a prior session — it addresses the two specific gaps confirmed in this dedicated audit (the account switcher's cached entry, and the organization-context cookie).
- Does not weaken or replace the organization-context cookie's own existing same-site protection — the new explicit Origin/Host check is an additional, complementary layer on top of it, not a substitute.
- Does not retroactively identify whether any specific shared-machine account inheritance actually occurred before this fix — the fix closes the gap going forward; a team needing a historical exposure assessment would need its own dedicated review.
Security and governance
Centriu Helix's logout flow now evicts specifically the departing account's own entry from its local multi-account switcher and explicitly clears the active-organization cookie on every logout, closing a shared-browser gap where the next person could see a previous account still listed and could inherit that person's own tenant context — with an added explicit Origin/Host check on the underlying API route as a direct defense against cross-site request forgery. Client data referenced by this fix remains subject to Brazil's LGPD (Law No. 13,709/2018). Full detail on this module's session and access-control practices lives at /governanca and /iso.
Pricing and contracting
Available by monthly subscription, with tiered plans. Values and terms come from the official pricing table at /precos (Centriu's central source — never restated here).
Frequently asked questions
Was this defect exploitable on a private, single-user device?
No — both gaps activate specifically on a browser genuinely SHARED between more than one person. On a private device where nobody else would ever open that same browser, neither the stale cached account entry nor the inherited organization context would ever be encountered by anyone else.
Why not just clear every saved account on any logout?
Because a shared browser can legitimately hold more than one person's own saved account in the multi-account switcher — a full wipe on any single logout would incorrectly discard everyone else's legitimately saved sign-ins too, an overcorrection at least as disruptive as the original gap.
Is this the same finding as the other Helix logout page on this site?
No — this pillar's separate wave 89 page covers whether logout correctly revokes the underlying SERVER-SIDE session (a `local`-scope sign-out call). This page covers what a shared BROWSER retains locally after that session has already correctly ended — a different layer of the same broader logout flow.
What does the new Origin/Host check actually protect against?
Cross-site request forgery — a scenario where a different website tries to trigger an action against this same API route using a signed-in person's own existing session. The check confirms a request's stated Origin, when present, genuinely matches its own Host, rejecting a mismatch outright.
How was the departing account identified for eviction, given the session was already being revoked?
The system captures the departing person's own account identifier BEFORE revoking their session, specifically so that identifier remains available to target the correct entry for eviction from the local multi-account switcher afterward.
What does Centriu Helix cost?
It is sold by subscription with a published starting price — exact current values are on the central pricing page.
See how Centriu Helix keeps a shared browser clean after logout
Reach our commercial team directly, or leave your details below — we'll follow up with guidance for your case.