The Bugsoft Connect trust model
How Bugsoft Connect signs in with one click without ever storing your passwords, and what it protects against.
Bugsoft Connect is a browser extension. On the website of a tile, it fills in the user name and password that are saved in Bugsoft Portal. How to install and roll it out is in the chapters on Bugsoft Connect (Bugsoft Connect). This page explains why it is safe, and where the limits are.
What happens with one click
- The employee clicks a tile with a saved login in Bugsoft Portal. Their browser asks Bugsoft Portal for a ticket (fill ticket). This needs their Bugsoft Portal session.
- Bugsoft Portal makes a ticket of 32 random bytes, and only keeps its hash. The ticket:
- works once;
- is valid for 60 seconds (
vault.fill_ticket_ttl, 15 to 300 seconds); - is bound to the employee's network: the same IPv4 address, or the same IPv6 /64 network;
- is bound to the websites of that one login: the extension may only fill in on those addresses.
- The extension exchanges the ticket at the same portal it came from, and gets the user name and password. On exchange, Bugsoft Portal checks again whether the employee may use this login.
- The extension opens the website, fills in (and presses Sign in, if set), and forgets the details. It never stores passwords.
Which portals the extension works on
- The extension only acts on a page that identifies itself as Bugsoft Portal, over https (http only on the computer
itself, such as
localhost). - The extension checks every message from a page again: it must come from the main window of a tab, from an allowed portal.
- IT can limit the extension to its own portals with the policy
portal_origins(Intune, Group Policy, orpolicies.jsonin Firefox), for example onlyhttps://apps.klaverveld.example. With that policy, the extension works nowhere else. See Limit Bugsoft Connect to your own Bugsoft Portal. - If IT has not set
portal_origins, the extension asks the employee once per portal whether they trust that portal.
What this protects against
- A website that pretends to be Bugsoft Portal can only make the extension exchange a ticket at its own server. It never gets the employee's passwords from the real portal.
- An intercepted ticket is worthless after one use or after 60 seconds, and does not work from another network.
- A ticket for the wrong website: the extension only fills in on the addresses that belong to that login.
- Cleaning up: when the employee signs out, the extension can close the apps opened from that portal and delete their cookies. Each portal only cleans up its own apps, never those of another portal, and never the sign-in at Microsoft.
The limits
- After filling in, the password is in the form of the website. Whoever has that page in front of them can read it with the browser's developer tools. "Sign in only" hides the password in Bugsoft Portal, not on the website itself.
- Another extension with access to all websites, or malware on the PC, can read along. Limit extensions with the browser policy.
- On the server side, any extension may exchange a ticket it gets hold of. To get one, the employee's Bugsoft Portal session is needed.
Updates
The browser gets updates of the extension from your own portal (if IT rolls out the server's package) or from the browser store. The Bugsoft Portal server does not contact anyone for this.
Stuck? See Questions and problems or contact Bugsoft at ugurs156@gmail.com.